Skip to content

Commit

Permalink
enhance: Add log when garbage collection resumed (#30536)
Browse files Browse the repository at this point in the history
/kind enhancement
pr: #30535

Signed-off-by: wayblink <[email protected]>
  • Loading branch information
wayblink authored Feb 5, 2024
1 parent 88d57f1 commit b2d3278
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/datacoord/garbage_collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ func (gc *garbageCollector) work() {
case datapb.GcCommand_Resume:
// reset to zero value
gc.pauseUntil.Store(time.Time{})
log.Info("garbage collection resumed")
}
close(cmd.done)
case <-gc.closeCh:
Expand Down

0 comments on commit b2d3278

Please sign in to comment.