mirror of
https://github.com/HDT3213/godis.git
synced 2025-10-07 01:32:56 +08:00
raft cluster
wip: raft does not care about migrating wip: optimize code wip: raft election wip wip: fix raft leader missing log entries wip fix a dead lock batch set slot route wip: raft persist wip refactor cluster suite remove relay rename relay2 refactor: allow customizing client factory test raft refactor re-balance avoid errors caused by inconsistent status on follower nodes during raft commits test raft election
This commit is contained in:
@@ -35,6 +35,7 @@ func parseEncodedMultiRawReply(args [][]byte) (*protocol.MultiRawReply, error) {
|
||||
return protocol.MakeMultiRawReply(cmds), nil
|
||||
}
|
||||
|
||||
// todo: use multi raw reply instead of base64
|
||||
func encodeMultiRawReply(src *protocol.MultiRawReply) *protocol.MultiBulkReply {
|
||||
args := make([][]byte, 0, len(src.Replies))
|
||||
for _, rep := range src.Replies {
|
||||
|
Reference in New Issue
Block a user