Commit Graph

13 Commits

Author SHA1 Message Date
Eriri
388fdabd7f Modify the implementation of database RWLocks and RWUnLocks 2023-05-08 22:15:49 +08:00
xing-you-ji
1e767b6797 add aof-use-rdb-preamble 2023-04-29 20:49:42 +08:00
finley
53b6b726f5 rename MultiDB to Server; rename AofHandler to Persister 2022-12-25 21:24:55 +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
finley
febb83cb5c improve replication; support partial sync 2022-11-18 21:37:34 +08:00
finley
ab0754e2a5 refactor flush db 2022-07-11 18:42:20 +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
hdt3213
665fd2a219 support save and bgsave 2022-05-23 22:47:26 +08:00
hdt3213
e8891f8386 load RDB file 2022-04-18 21:00:42 +08:00
hdt3213
e378731a26 optimize code structure 2022-04-11 20:17:07 +08:00