diff --git a/server/etcdserver/server.go b/server/etcdserver/server.go index 0615d20e8b35..0a1aeb4dab19 100644 --- a/server/etcdserver/server.go +++ b/server/etcdserver/server.go @@ -1967,9 +1967,6 @@ func (s *EtcdServer) applyEntryNormal(e *raftpb.Entry, shouldApplyV3 membership. needResult := s.w.IsRegistered(id) if needResult || !noSideEffect(&raftReq) { - if !needResult && raftReq.Txn != nil { - removeNeedlessRangeReqs(raftReq.Txn) - } ar = s.applyInternalRaftRequest(&raftReq, shouldApplyV3) }