Commit Graph

19 Commits

Author SHA1 Message Date
bijingrui
0c6b0863f3 add dbsize command 2024-05-06 16:39:28 +08:00
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
3b9c4238fb Add the keyspace section of the info command 2023-05-28 22:22:13 +08:00
finley
c7dda00118 bugfix: execCommand 2023-05-20 16:20:44 +08:00
finley
bd418bd82b bug fix: loadRdb forget to load set data struct 2023-05-08 23:41:10 +08:00
hdt3213
68d7f28b1a refactor command command 2023-05-04 23:04:12 +08:00
xing-you-ji
1e767b6797 add aof-use-rdb-preamble 2023-04-29 20:49:42 +08:00
suger-no
25bbd82da5 support Command command 2023-04-25 20:10:19 +08:00
suger-no
a3326d2bba bug fix:RewriteAof will panic if appendonly property is no 2023-04-25 20:10:19 +08:00
no sugar
11c0385241 bug fix: FlushDB command is not recorded by AOF (#142)
* bug fix: FlushDB command is not recorded by AOF

* bug fix: Fix an error occurred while rewriting aof rename, windows.ERROR_SHARING_VIOLATION

* bug fix: Fix an error occurred while rewriting aof rename, windows.ERROR_SHARING_VIOLATION

* change the flushDB procedures

* The savecmdline flushdb in the method is incorrectly selected, causing the testof error
2023-03-19 17:36:56 +08:00
bjr
d7f6420f69 Add info command (#141)
* 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
2023-03-19 16:17:40 +08:00
finley
d399353394 add AppendFsync 2022-12-25 22:50:57 +08:00
finley
53b6b726f5 rename MultiDB to Server; rename AofHandler to Persister 2022-12-25 21:24:55 +08:00
hdt3213
e378731a26 optimize code structure 2022-04-11 20:17:07 +08:00
hdt3213
374606f6f1 tcc rename 2022-04-10 18:31:55 +08:00
hdt3213
37ef7d8a34 rename godis/redis/reply to godis/redis/protocol 2022-04-10 08:35:51 +08:00
hdt3213
38001a2d18 go lint 2021-11-08 23:24:43 +08:00
hdt3213
4163a45278 optimize project structure 2021-11-08 23:05:53 +08:00