Commit Graph

74 Commits

Author SHA1 Message Date
hdt3213
12b17750b2 upgrade to go 1.16 and add a banner 1.2.2 2021-05-02 15:46:04 +08:00
hdt3213
f29298cc68 refactor project structure 2021-05-02 14:54:42 +08:00
hdt3213
bb9c140653 add unittest to tcp 2021-05-01 16:04:22 +08:00
hdt3213
b0da81dd6f code style 2021-05-01 15:37:46 +08:00
hdt3213
3fa3d32e1e refactor RESP parser 2021-04-19 22:54:52 +08:00
hdt3213
1eb55cb5fb rename go mod name 2021-04-14 22:33:18 +08:00
hdt3213
93f8bc34e8 add unit test to aof and fix tiny bugs of aof 1.2.1 2021-04-11 20:47:06 +08:00
hdt3213
23b6dd57ad support publish/subscribe in cluster mode 2021-04-07 22:26:42 +08:00
hdt3213
f9548d11a5 rollback cluster transaction uncommitted until expire 2021-04-03 22:46:24 +08:00
hdt3213
85ef804d48 optimize ttl by time wheel 2021-04-03 21:59:40 +08:00
hdt3213
f1277a6e2d reformat code 2021-04-03 20:33:54 +08:00
hdt3213
e7e5469de3 update build script 1.2 2021-04-03 20:21:03 +08:00
hdt3213
bcf0cd5e92 reformat code 2021-04-03 20:14:12 +08:00
hdt3213
bf913a5aca add some unit tests 2021-04-03 20:13:06 +08:00
hdt3213
4b01bbb52a bug fix: ConcurrentDict.ForEach 2021-03-22 22:46:24 +08:00
hdt3213
6edf756d45 geohash 2021-02-06 10:35:52 +08:00
finley
1d40d89a33 Merge pull request #7 from yuanshuli11/feature/changeGetTTL
对set时过期时间策略的修改
2021-02-03 10:41:42 +08:00
neo
df4f96b4c3 /*
*   如果设置了ttl 则以最新的ttl为准
     *   如果没有设置ttl 是新增key的情况,不设置ttl。
     *   如果没有设置ttl 且已存在key的 不修改ttl 但需要增加aof
    */
2021-01-27 15:30:42 +08:00
袁树立
f9eb83238b Update string.go
set 时
如果设置了ttl 则以最新的ttl为准
如果没有设置ttl 且数据新增数据的,不设置过期时间。
2021-01-26 21:00:01 +08:00
hdt3213
85c65ffaa9 upgrade docs 2020-12-29 09:18:44 +08:00
hdt3213
bf21b9f280 tiny bug fix 1.1 2020-12-12 22:08:04 +08:00
hdt3213
cc6475f6a8 refine some code 2020-11-21 23:44:45 +08:00
hdt3213
57c190dca5 use connection pool within peers in cluster mode 2020-11-01 01:43:31 +08:00
hdt3213
82715bd8ea migrate to go mod 2020-10-10 08:40:25 +08:00
hdt3213
d224f7cdba 2pc mset; del command return int reply in cluster mode; fix a rollback bug; 2020-09-20 00:39:26 +08:00
hdt3213
684760696d use 2pc to execute del command in cluster mode 2020-09-19 22:46:48 +08:00
hdt3213
a806f8e64f sorted set bug fix and unit tests 2020-08-30 21:04:58 +08:00
hdt3213
d12a41374b fix a dead lock bug 1.0.1 2020-08-18 23:06:46 +08:00
hdt3213
2b8573e28d add some uint tests 2020-08-16 17:22:26 +08:00
hdt3213
6d2ef66038 support some commands in cluster mode 2020-08-16 17:21:50 +08:00
hdt3213
d492588d9e basic cluster mode 2020-08-09 18:55:14 +08:00
hdt3213
d1a95a5fec optimize shutting down progress 2020-08-07 08:40:24 +08:00
hdt3213
68044ea1cc refactor publish/subscribe 2020-06-02 20:29:42 +08:00
hdt3213
f08d6ce871 bug fix 2020-06-02 20:21:33 +08:00
hdt3213
9429668e9c refactor aof 2020-05-28 20:47:29 +08:00
hdt3213
497ebdea14 optimize range by score 2020-05-08 22:18:51 +08:00
hdt3213
4289d621f6 list test 2020-05-01 17:00:33 +08:00
hdt3213
f0b8a37bc8 optimize stop world 2020-04-19 20:01:04 +08:00
hdt3213
0c27bade22 bug fix: set nx 2020-04-19 06:35:37 +08:00
hdt3213
4fcc04fe8f update readme 2020-04-19 04:15:00 +08:00
hdt3213
6ece1fa13b default config v1.0 2020-04-17 13:26:35 +08:00
hdt3213
ad4928a2a8 bug fix: aof rewrite 2020-04-14 21:17:33 +08:00
hdt3213
670638a279 bug fix 2020-03-29 05:21:51 +08:00
hdt3213
cd894b8fff config parser 2020-03-24 00:12:51 +08:00
hdt3213
a768e4604a aof rewrite ttl 2020-03-24 00:12:51 +08:00
hdt3213
46f3d61b97 keys command 2020-02-20 20:00:53 +08:00
hdt3213
920623845c refactor: use simple dict 2020-02-20 00:54:32 +08:00
hdt3213
29134aab38 aof rewrite 2020-02-13 22:22:59 +08:00
hdt3213
44be46cf16 persist into append only file 2020-01-28 15:03:02 +08:00
hdt3213
e4e499d8c6 bug fix 2020-01-18 23:49:14 +08:00