lhpqaq
75030407cb
Add sscan, hscan, zscan
2024-07-29 13:59:18 +08:00
lhpqaq
c1dd65d84f
add scan command
2024-07-19 13:21:59 +08:00
xuning
b6763a86fe
bugfix: Use rounding to calculate TTL
...
The previous code calculated TTL directly by int64 / time.Second or int64 / time.Millisecond, which could result in a calculation error of up to 1s/1ms. Now, using math.Round ensures that TTL is rounded to the nearest whole second/millisecond, improving the accuracy of the calculation.
2024-03-26 10:41:51 +08:00
finley
7e63969360
bug fix: filter expired key in command keys
2023-06-20 07:26:47 +08:00
hdt3213
68d7f28b1a
refactor command
command
2023-05-04 23:04:12 +08:00
suger-no
25bbd82da5
support Command command
2023-04-25 20:10:19 +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
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
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
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
4163a45278
optimize project structure
2021-11-08 23:05:53 +08:00