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.
2 parents 8fd64d3 + 3735b70 commit 7f32131Copy full SHA for 7f32131
pkg/kv/kvserver/replica_raft.go
@@ -702,7 +702,7 @@ func (r *Replica) stepRaftGroupRaftMuLocked(req *kvserverpb.RaftMessageRequest)
702
// Update the lastUpdateTimes map, unless configured not to by a testing
703
// knob.
704
disableUpdateLastUpdateTimesMapOnRaftGroupStep := false
705
- if r.store.TestingKnobs() == nil &&
+ if r.store.TestingKnobs() != nil &&
706
r.store.TestingKnobs().DisableUpdateLastUpdateTimesMapOnRaftGroupStep != nil {
707
disableUpdateLastUpdateTimesMapOnRaftGroupStep = r.store.TestingKnobs().DisableUpdateLastUpdateTimesMapOnRaftGroupStep(r)
708
}
0 commit comments