finley
f4a2c92fc1
Support failover in cluster (experimental)
2025-05-05 18:26:10 +08:00
今晚打老虎
14ec8277ca
optimize del in cluster
2025-04-30 16:16:16 +08:00
finley
04a472ebec
bugfix: tcc holds lock status to prevent dead lock
2025-03-30 16:31:32 +08:00
finley
efb6dd04b7
del in cluster
2025-03-23 22:09:43 +08:00
finley
afd06103cc
renamenx in cluster
2025-03-23 21:51:07 +08:00
finley
ef4e09972c
support rename in cluster
2025-03-23 21:34:59 +08:00
finley
23b70325f9
support msetnx in cluster by tcc pre-check hook
2025-03-23 20:44:13 +08:00
finley
5285717a2d
support mget in cluster
2025-03-13 23:10:11 +08:00
finley
360de97479
support mset in cluster
2025-03-13 23:10:11 +08:00
finley
43dc28d335
WIP
2025-03-13 23:10:11 +08:00
finley
e0e29729e4
fix test suite
2025-02-03 18:57:33 +08:00
finley
0bf068f51c
other cluster codes
2025-02-03 18:38:54 +08:00
finley
b699918223
raft cluster core
2025-02-03 18:38:47 +08:00
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
xing-you-ji
1e767b6797
add aof-use-rdb-preamble
2023-04-29 20:49:42 +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
li
d77f08c140
ADD EXPIRETIME and EXPIRETIME command
2023-02-15 09:22:03 +08:00
finley
53b6b726f5
rename MultiDB to Server; rename AofHandler to Persister
2022-12-25 21:24:55 +08:00
finley
ba7ea942cb
replication master side
2022-11-30 21:22:03 +08:00
finley
67a9eae62f
use self-developed connection pool
2022-11-14 22:42:59 +08:00
finley
d145578d4e
fix tcc deadlock when rollback after commit error
2022-11-05 21:29:36 +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
Eriri
f3274fd8c8
Feat: Add "GetEX" and "GetDel" Commands
2022-06-12 08:35:27 +08:00
Eriri
bde2c8ccbe
Feat: Add HStrlen Command.
2022-06-04 14:44:58 +08:00
Eriri
951a844439
Feat:Add hrandfield Command.
2022-06-04 14:41:46 +08:00
Singularity0909
7059a123d1
feat: add SPOP command
2022-05-12 14:13:05 +08:00
hdt3213
3605f09def
cluster test suite
2022-04-13 23:10:23 +08:00
hdt3213
6be0452040
tcc rename nx
2022-04-11 22:42:31 +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
c97f3aae6e
using TCC for MSetNX in cluster
2022-04-10 08:33:24 +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
hdt3213
e91294bcf4
multi database
2021-09-05 18:57:02 +08:00
hdt3213
ae25076689
support watch command
2021-06-20 16:37:10 +08:00
hdt3213
5d05e2e613
support multi commands transaction in cluster mode
2021-06-20 10:19:32 +08:00
hdt3213
67c385ee4a
support multi transaction
2021-06-15 01:03:13 +08:00
hdt3213
f1455534d4
refactor command table
2021-05-27 21:54:33 +08:00
hdt3213
97d7b84276
go lint
2021-05-13 08:56:07 +08:00
hdt3213
66172721c5
refine code
2021-05-09 23:08:32 +08:00
hdt3213
721d9c31a7
refactor project structure
2021-05-09 22:12:47 +08:00
hdt3213
65fc1c3e62
support auth
2021-05-09 18:37:29 +08:00
hdt3213
fc39150740
add some unittest
2021-05-07 00:11:16 +08:00
hdt3213
18d2cbb29b
add unittests and bug fix
2021-05-05 21:04:27 +08:00
hdt3213
f1ab47bd83
add unittest for cluster
2021-05-04 20:51:55 +08:00
hdt3213
9f3ac88b36
add some unittests and bug fix
2021-05-02 18:48:44 +08:00