Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
okJiang committed Nov 11, 2022
1 parent e10b8b1 commit 1fef4e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dumpling/export/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ func (d *Dumper) GetStatus() *DumpStatus {
ret.EstimateTotalRows = ReadCounter(d.metrics.estimateTotalRowsCounter)
ret.CurrentSpeedBPS = d.speedRecorder.GetSpeed(ret.FinishedBytes)
if d.metrics.progressReady.Load() {
// chunks will be zero when upstream has no data
if d.metrics.totalChunks.Load() == 0 {
ret.Progress = "100 %"
return ret
Expand Down

0 comments on commit 1fef4e2

Please sign in to comment.