Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
Signed-off-by: hillium <yujuncen@pingcap.com>
  • Loading branch information
YuJuncen committed May 9, 2023
1 parent ba5a542 commit fca8160
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion br/pkg/task/operator/cmd.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2023 PingCAP, Inc. Licensed under Apache-2.0.

package operator

import (
Expand Down Expand Up @@ -73,7 +75,7 @@ func pauseGCKeeper(ctx context.Context, cfg *PauseGcConfig, ctl *pdutil.PdContro
if err != nil {
return err
}
log.Info("GC is paused.", zap.String("ID", sp.ID), zap.Uint64("at", sp.BackupTS))
log.Info("GC is paused.", zap.Object("safepoint", sp))
// Note: in fact we can directly return here.
// But the name `keeper` implies once the function exits,
// the GC should be resume, so let's block here.
Expand Down

0 comments on commit fca8160

Please sign in to comment.