Skip to content

Commit

Permalink
comment out some logspam in raft-dev (#8333)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhollen authored Feb 6, 2025
1 parent ff6f2e7 commit 35047ed
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/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ func (s *Session) SyncProposeLocal(ctx context.Context, nodehost NodeHost, range
}
var raftResponse dbsm.Result

log.CtxDebugf(ctx, "sync propose local with session %+v", batch.GetSession())
// log.CtxDebugf(ctx, "sync propose local with session %+v", batch.GetSession())
err = RunNodehostFn(ctx, func(ctx context.Context) error {
ctx, spn := tracing.StartSpan(ctx) // nolint:SA4006
spn.SetName("nodehost.SyncPropose")
Expand Down
2 changes: 1 addition & 1 deletion enterprise/server/raft/replica/replica.go
Original file line number Diff line number Diff line change
Expand Up @@ -1560,7 +1560,7 @@ func (sm *Replica) singleUpdate(db pebble.IPebbleDB, entry dbsm.Entry) (dbsm.Ent
}
entry.Result = getEntryResult(entry.Cmd, rspBuf)
if reqSession != nil {
sm.log.Debugf("[%s] save session %+v", sm.name(), reqSession)
// sm.log.Debugf("[%s] save session %+v", sm.name(), reqSession)
if err := sm.updateSession(wb, reqSession, rspBuf); err != nil {
return entry, err
}
Expand Down

0 comments on commit 35047ed

Please sign in to comment.