Commit Graph

36 Commits

Author SHA1 Message Date
finley
a6d07ce5df bug fix: stopMaster 2022-12-21 16:55:12 +08:00
finley
0d96ad295d re-generate aof file during load database from replication master; Allow master-slave role switching 2022-12-20 23:05:07 +08:00
finley
a5908f5ea4 rewrite backlog 2022-12-05 22:00:01 +08:00
finley
ba7ea942cb replication master side 2022-11-30 21:22:03 +08:00
Tianyi Zheng
a7a3da6e49 perf: pooled connection`s instantiation
- pooled connection: reduce the pressure on the GC to process heap memory objects with high concurrent "connection"
2022-11-27 19:39:09 +08:00
finley
febb83cb5c improve replication; support partial sync 2022-11-18 21:37:34 +08:00
finley
32a9667eb6 refactor syncWithMaster 2022-11-08 23:30:43 +08:00
finley
635c9dd740 rename dump rdb 2022-11-05 21:18:58 +08:00
finley
894be52c31 bug fix: null bulk reply bytes 2022-10-02 15:50:14 +08:00
finley
dddf9a8f6b zpopmin 2022-08-21 06:00:21 +08:00
finley
9da335811f tiny fixes 2022-08-20 23:25:26 +08:00
finley
e6d958716d quick list 2022-07-31 02:07:45 +08:00
finley
ab0754e2a5 refactor flush db 2022-07-11 18:42:20 +08:00
finley
98f986a363 use regex implementing wildcard 2022-07-08 23:48:42 +08:00
finley
47ec67c4dc update comments 2022-07-03 18:03:30 +08:00
hdt3213
380d936ed5 replication slave side 2022-07-02 11:45:56 +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
Lu JJ
7a9cbb7c11 Convert GETSET to SET command to write AOF 2022-06-13 10:23:18 +08:00
Eriri
4682f254f2 Convert to "del" to write aof instead of "getdel" 2022-06-12 08:35:27 +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
Eriri
24b785e023 Remove redundant code in sortedset.go 2022-06-01 14:27:29 +08:00
hdt3213
665fd2a219 support save and bgsave 2022-05-23 22:47:26 +08:00
Singularity0909
7059a123d1 feat: add SPOP command 2022-05-12 14:13:05 +08:00
hdt3213
c1d800e110 fix test suite 2022-04-30 19:33:11 +08:00
hdt3213
24faeb3c56 fix test suite 2022-04-30 19:23:49 +08:00
hdt3213
0da9c96a3b support bitmap 2022-04-30 19:03:32 +08:00
hdt3213
e8891f8386 load RDB file 2022-04-18 21:00:42 +08:00
hdt3213
6be0452040 tcc rename nx 2022-04-11 22:42:31 +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
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