Commit Graph

6 Commits

Author SHA1 Message Date
finley
74421ba3f2 Merge branch 'feat/raft'
# Conflicts:
#	cluster/cluster.go
#	cluster/router.go
#	config/config.go
#	database/database.go
#	database/server.go
2023-06-11 13:25:41 +08:00
finley
bf7f628810 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
2023-06-10 22:48:24 +08:00
bijingrui
6103ca01c0 Add randomkey command 2023-04-10 08:02:27 +08:00
bijingrui
d0a7a215ba Add info command 2023-04-08 16:08:39 +08:00
Eriri
f327000d3a Feat:Add "copy" command
Add "copy" command,also fixes the out of range error of select when the number is negative.

Move execCopy to "keys.go" ,
Add test in "keys_test.go",
Add "copy.go" and "copy_test.go" file.
2022-06-26 15:45:09 +08:00
hdt3213
3605f09def cluster test suite 2022-04-13 23:10:23 +08:00