Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
luluz66 committed Nov 20, 2024
1 parent a634175 commit ac5eed2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion enterprise/server/raft/replica/replica.go
Original file line number Diff line number Diff line change
Expand Up @@ -1943,7 +1943,7 @@ func (sm *Replica) SaveSnapshot(preparedSnap interface{}, w io.Writer, quit <-ch
// RecoverFromSnapshot is not required to synchronize its recovered in-core
// state with that on disk.
func (sm *Replica) RecoverFromSnapshot(r io.Reader, quit <-chan struct{}) error {
log.Debugf("RecoverFromSnapshot for %s", sm.name())
sm.log.Debugf("RecoverFromSnapshot for %s", sm.name())
db, err := sm.leaser.DB()
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion enterprise/server/raft/sender/sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ func (s *Sender) run(ctx context.Context, key []byte, fn runFunc, mods ...Option
for retrier.Next() {
rangeDescriptor, err := s.LookupRangeDescriptor(ctx, key, skipRangeCache)
if err != nil {
log.Warningf("sender.run error getting rd for %q: %s, %s, %+v", key, err, s.rangeCache.String(), s.rangeCache.Get(key))
log.Warningf("sender.run error getting rd for %q: %s, %+v", key, err, s.rangeCache.Get(key))
continue
}
i, err := s.tryReplicas(ctx, rangeDescriptor, fn, opts.ConsistencyMode)
Expand Down

0 comments on commit ac5eed2

Please sign in to comment.