Skip to content

Commit 2b62c3d

Browse files
authored
Merge pull request #69 from databendcloud/fix/ingest-row-num
fix: total ingest num
2 parents fd3890e + 45fa58b commit 2b62c3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worker/worker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func (w *Worker) stepBatchWithCondition(threadNum int, conditionSql string) erro
6060
w.statsRecorder.RecordMetric(AlreadyIngestBytes, AlreadyIngestRows)
6161
stats := w.statsRecorder.Stats(time.Since(startTime))
6262
log.Printf("Globla speed: total ingested %d rows (%f rows/s), %d bytes (%f bytes/s)",
63-
AlreadyIngestRows, stats.RowsPerSecond, AlreadyIngestBytes, stats.BytesPerSecond)
63+
AlreadyIngestRows+1, stats.RowsPerSecond, AlreadyIngestBytes, stats.BytesPerSecond)
6464

6565
if err != nil {
6666
logrus.Errorf("Failed to ingest data between %s into Databend: %v", conditionSql, err)

0 commit comments

Comments
 (0)