Created flow for deleting key consistently within cluster.

This commit is contained in:
Kelvin Mwinuka
2024-03-11 05:22:38 +08:00
parent 8000cef72d
commit c611dd60ee
6 changed files with 120 additions and 37 deletions

View File

@@ -101,7 +101,7 @@ func NewServer(opts Opts) *Server {
AddVoter: server.raft.AddVoter,
RemoveRaftServer: server.raft.RemoveServer,
IsRaftLeader: server.raft.IsRaftLeader,
ApplyMutate: server.raftApply,
ApplyMutate: server.raftApplyCommand,
})
} else {
// Set up standalone snapshot engine