Commit Graph

64 Commits

Author SHA1 Message Date
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
hdt3213
eb007f413d flush all 2020-01-09 21:39:39 +08:00
hdt3213
96b70d16d5 refactor dict 2019-12-23 20:33:18 +08:00
hdt3213
a54bac52f3 bug fix 2019-12-22 22:11:33 +08:00
hdt3213
9a05c54a65 publish and subscribe 2019-12-09 23:50:31 +08:00
hdt3213
25f6be788a refactor lock map 2019-12-01 20:28:49 +08:00
hdt3213
1861806d2d refine code 2019-11-24 16:48:13 +08:00
hdt3213
7dcad66618 bug fix: binary safe protocol parser 2019-11-21 22:12:06 +08:00
hdt3213
7a0573628b refine code 2019-11-03 22:45:51 +08:00
hdt3213
c1af68bd00 sorted set 2019-10-25 09:33:27 +08:00
hdt3213
900e92bb49 add set data structure 2019-09-11 21:01:43 +08:00