Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: okJiang <[email protected]>
  • Loading branch information
okJiang committed Jan 6, 2025
1 parent e227f39 commit 995075d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/core/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ func (s *StoresInfo) ResetStores() {
func (s *StoresInfo) PauseLeaderTransfer(storeID uint64) error {
s.Lock()
defer s.Unlock()
log.Info("pause store leader transfer", zap.Uint64("store-id", storeID), zap.String("direction", direction.String()))
log.Info("pause store leader transfer", zap.Uint64("store-id", storeID))
store, ok := s.stores[storeID]
if !ok {
return errs.ErrStoreNotFound.FastGenByArgs(storeID)
Expand All @@ -796,7 +796,7 @@ func (s *StoresInfo) PauseLeaderTransfer(storeID uint64) error {
func (s *StoresInfo) ResumeLeaderTransfer(storeID uint64) {
s.Lock()
defer s.Unlock()
log.Info("resume store leader transfer", zap.Uint64("store-id", storeID), zap.String("direction", direction.String()))
log.Info("resume store leader transfer", zap.Uint64("store-id", storeID))
store, ok := s.stores[storeID]
if !ok {
log.Warn("try to clean a store's pause state, but it is not found. It may be cleanup",
Expand Down

0 comments on commit 995075d

Please sign in to comment.