diff --git a/pkg/kv/kvserver/replica_store_liveness.go b/pkg/kv/kvserver/replica_store_liveness.go index 08bd55d0dfb0..9ef9929cb1be 100644 --- a/pkg/kv/kvserver/replica_store_liveness.go +++ b/pkg/kv/kvserver/replica_store_liveness.go @@ -64,11 +64,6 @@ func (r *replicaRLockedStoreLiveness) SupportFor(replicaID raftpb.PeerID) (raftp log.Warningf(ctx, "store not found for replica %d in SupportFor", replicaID) return 0, false } - // TODO(arul): we can remove this once we start to assign storeLiveness in the - // Store constructor. - if r.store.storeLiveness == nil { - return 0, false - } epoch, ok := r.store.storeLiveness.SupportFor(storeID) return raftpb.Epoch(epoch), ok }