Skip to content

Commit

Permalink
fix metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
tangenta committed May 15, 2023
1 parent 67bc2a2 commit c4aaae1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ddl/backfilling_scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,6 @@ func (w *addIndexIngestWorker) HandleTask(rs idxRecResult) {
result.scanCount = count
result.nextKey = nextKey
}
w.metricCounter.Add(float64(count))
if ResultCounterForTest != nil && result.err == nil {
ResultCounterForTest.Add(1)
}
Expand Down

0 comments on commit c4aaae1

Please sign in to comment.