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
* Generate a new runid for each start of godis
* Add info command
* Add info command
* Generate a new runid for each start of godis
* Add unittests for the info command
- Exclude the struct tag is space
- Exclude configuration file comment, which is starting with space
fix: in the case of panic unexpected happened in the method parse0 of parser/parser.go, closing of the channel is needed to prevent the program from getting stuck~
- fine-tune the coding of parser/parser.go
Limited ability, hope to make it better~