finley
bd418bd82b
bug fix: loadRdb forget to load set data struct
2023-05-08 23:41:10 +08:00
finley
a266cc5aba
optimize set inter,union,diff
2023-05-08 23:41:10 +08:00
Eriri
388fdabd7f
Modify the implementation of database RWLocks and RWUnLocks
2023-05-08 22:15:49 +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
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
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
finley
2bf829af1a
optimize code style
2023-03-19 16:36:03 +08:00
finley
c96b0bf5a0
optimize code style
2023-03-19 16:19:25 +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
Allen
3e6d2090c5
fix list_test.go func[TestPush] an unexpected line code made the test went wrong
...
merged into single commit
2023-03-19 13:41:24 +08:00
finley
48a146cb08
bug fix: unlock master status when no slaves
2023-03-14 01:14:35 +08:00
Allen
382fabb538
fix: string.go execSetBit did not record aof log
2023-03-07 22:12:40 +08:00
finley
7f6edf817e
fix tiny bugs
2023-02-20 22:43:45 +08:00
li
d77f08c140
ADD EXPIRETIME and EXPIRETIME command
2023-02-15 09:22:03 +08:00
finley
df672d4c92
direct call for FsyncAlways
2022-12-26 08:50:05 +08:00
finley
d399353394
add AppendFsync
2022-12-25 22:50:57 +08:00
finley
8089b357e4
rename Persister receiver
2022-12-25 21:34:07 +08:00
finley
53b6b726f5
rename MultiDB to Server; rename AofHandler to Persister
2022-12-25 21:24:55 +08:00
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