We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84697f3 commit 4837dbcCopy full SHA for 4837dbc
pkg/kv/kvserver/replica_raft.go
@@ -699,7 +699,7 @@ func (r *Replica) stepRaftGroupRaftMuLocked(req *kvserverpb.RaftMessageRequest)
699
// Update the lastUpdateTimes map, unless configured not to by a testing
700
// knob.
701
disableUpdateLastUpdateTimesMapOnRaftGroupStep := false
702
- if r.store.TestingKnobs() == nil &&
+ if r.store.TestingKnobs() != nil &&
703
r.store.TestingKnobs().DisableUpdateLastUpdateTimesMapOnRaftGroupStep != nil {
704
disableUpdateLastUpdateTimesMapOnRaftGroupStep = r.store.TestingKnobs().DisableUpdateLastUpdateTimesMapOnRaftGroupStep(r)
705
}
0 commit comments