Skip to content

Commit

Permalink
fix grammar
Browse files Browse the repository at this point in the history
Signed-off-by: hillium <[email protected]>
  • Loading branch information
YuJuncen committed Dec 7, 2022
1 parent e19524a commit 53af820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion br/pkg/streamhelper/flush_subscriber.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func (s *subscription) connect(ctx context.Context, dialer LogBackupService) {
func (s *subscription) doConnect(ctx context.Context, dialer LogBackupService) error {
log.Info("[log backup subscription manager] Adding subscription.", zap.Uint64("store", s.storeID), zap.Uint64("boot", s.storeBootAt))
// We should shutdown the background task firstly.
// Once yields some error during shuting down, the error won't be bring to next run.
// Once it yields some error during shuting down, the error won't be brought to next run.
s.close()
s.clearError()

Expand Down

0 comments on commit 53af820

Please sign in to comment.