Commit Graph

46 Commits

Author SHA1 Message Date
siddontang 0c604eb684
fix vet and lint (#337) 2018-03-29 20:33:36 +08:00
Muhamad Azmy 57a07edd1a Fix BRPop infinite blocking (#316) 2017-08-21 11:14:17 +08:00
siddontang 6d836cc4b7 Merge pull request #210 from Leither/master
LSet
2015-12-10 19:20:22 +08:00
Leither df27eeedec Update t_list.go 2015-12-10 12:08:14 +08:00
Leither 8003229696 LPut
LPut add
2015-12-01 08:50:42 +08:00
jiangyangdong 7ab79cfb16 add ltrim command 2015-11-27 09:33:25 +08:00
shaoguang de8cb364fc add ltrim_front and ltrim_back command, imitation ssdb's qtrim_front and qtrim_back commands 2015-10-12 22:00:53 +08:00
siddontang 5d7df5c773 bugfix list pop 2015-05-14 09:20:56 +08:00
siddontang eee7468b85 format with goimports 2015-05-04 22:42:28 +08:00
siddontang f51dd1712a support large db index 2015-03-15 20:36:14 +08:00
siddontang 1b8d5af588 generate db if not exists when select
put TTL checker in associated db too
2015-03-15 11:39:31 +08:00
siddontang 71b32895b8 add key exists for hash, list, set and zset 2015-03-04 09:33:25 +08:00
siddontang f34d3ac27b refactor scan 2015-03-02 11:10:54 +08:00
wenyekui 52cad4ab31 add XLExists cmd 2015-02-01 17:41:28 +08:00
siddontang f09e43ad99 add rev scan support 2014-10-20 22:36:16 +08:00
siddontang f715de3561 list block pop support milliseconds timeout 2014-10-17 11:41:05 +08:00
siddontang 7dd3a5381d update list block pop 2014-10-17 09:55:43 +08:00
siddontang 336c1dbb94 add block list operation 2014-10-16 17:51:52 +08:00
siddontang ba8d9ea69d scan add match support
match uses regexp
2014-08-25 22:25:10 +08:00
siddontang 9b1c6c4223 refactor 2014-08-25 14:18:23 +08:00
wenyekui 4b43f0bf7e add unit test 2014-08-16 15:35:05 +08:00
wenyekui 928b4a03ae refactor flush 2014-08-16 12:38:49 +08:00
wenyekui 54ed8e0d38 refactor scan 2014-08-14 15:24:41 +08:00
siddontang 7a237661da add support for multi storage 2014-07-25 17:58:00 +08:00
siddontang a41b1ef669 refactor, bin rename to bit, rename datatype 2014-07-11 13:27:40 +08:00
siddontang cdb6b1cdd2 use iterator to read many consistently in api
for a read api, it not uses lock, so multi read in a api may cause some
unpredictable when something writes at same time.
2014-07-10 11:32:37 +08:00
siddontang 5e33e67d89 refactor t/l, reduce code
not backwards compatibility,
2014-07-09 17:01:33 +08:00
silentsai fd248aaa35 Merge branch 'bin-feature' into develop 2014-07-08 16:36:03 +08:00
silentsai 2dbf643b16 expire on the bin type is available 2014-07-03 11:38:52 +08:00
siddontang b13ce1329a bugfix for lrange
adjust start and end to be same as redid
2014-07-01 09:21:14 +08:00
siddontang 46d2ecda91 add hmclear, lmclear and zmclear for multi keys 2014-06-27 16:28:32 +08:00
siddontang b3e0ce9ae2 add persist support 2014-06-23 11:12:20 +08:00
siddontang cdb78498af ledis use proper return values not []interface{}
This is a very big change and not backward compatible
2014-06-22 15:25:51 +08:00
siddontang 48e09a2727 use our own leveldb 2014-06-19 17:19:40 +08:00
silentsai 52c55988de unify all expire cycle activity into one routine; edit func name about flush 2014-06-12 10:51:36 +08:00
silentsai 8d76a58e5e supply function of expire/ttl for the other data types - list, hash, zset
fix tiny mistaks
2014-06-05 17:04:01 +08:00
silentsai 5c7d885168 add expire for the kv type; simplify the listMetaKey format 2014-06-03 15:40:10 +08:00
siddontang d9dcab1d6b adjust key/value max size, change step commit in flush 2014-05-28 14:20:34 +08:00
silentsai 247f105ad7 add 'FlusbDB' api, which used to clear all data on the specific db 2014-05-22 19:59:40 +08:00
siddontang d86c6251fb refactor, support select command 2014-05-20 08:41:24 +08:00
siddontang a0f90016d4 refactor, split ledis pkg to ledis and server 2014-05-16 15:03:23 +08:00
siddontang fb290a60b4 change some db api to simple use 2014-05-16 08:56:32 +08:00
siddontang e860902fef refactor, support use embedded ledisdb
now you can embed ledisdb as a lib to use.
2014-05-15 14:19:48 +08:00
siddontang 990b2ee69d refactor, use go-leveldb,
you must re execute bootstrap.sh to go get go-leveldb
you must remove your old leveldb path because hash size format changed
2014-05-14 16:35:49 +08:00
siddontang 3ed4e9fc57 add lclear, hclear,zclear to del 2014-05-12 15:08:59 +08:00
siddontang 1183d853ad rename to ledisdb, update 2014-05-09 14:49:22 +08:00