Commit Graph

51 Commits

Author SHA1 Message Date
siddontang f51dd1712a support large db index 2015-03-15 20:36:14 +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 5863e52ded add xsexists and xzexists commands 2015-02-01 17:54:52 +08:00
siddontang f09e43ad99 add rev scan support 2014-10-20 22:36:16 +08:00
siddontang d675556cb4 support zset lex commands 2014-10-01 23:26:46 +08:00
siddontang b7de9e6354 use tiny go package 2014-09-24 13:29:27 +08:00
siddontang 5bccfd13dc use tiny go package 2014-09-24 12:34:21 +08:00
siddontang 8b8745be92 refactor, can not build and run at all 2014-09-17 17:54:04 +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 5b88f17470 Merge branch 'develop' into flush-feature 2014-08-16 16:42:43 +08:00
wenyekui 4b43f0bf7e add unit test 2014-08-16 15:35:05 +08:00
wenyekui 14dd858b04 bug fix: set zset size 2014-08-16 13:43:21 +08:00
wenyekui cd44095dbd list/bit/zset scan 2014-08-14 19:05:17 +08:00
wenyekui 647790674b Merge branch 'develop' into scan-feature 2014-08-14 16:14:40 +08:00
wenyekui 94b3dac3e7 bug fix: zinterstore 2014-08-14 15:54:47 +08:00
wenyekui 54ed8e0d38 refactor scan 2014-08-14 15:24:41 +08:00
wenyekui 48e99a1693 modify unit test 2014-08-13 15:38:59 +08:00
wenyekui 87fdc9125e add unit test 2014-08-13 10:26:35 +08:00
wenyekui e1a2ebc27a add unit test 2014-08-13 09:57:13 +08:00
wenyekui 3927d2bd8f add zunionstore & zintrestore interface 2014-08-12 18:06:02 +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
siddontang 0fd6c150e8 Optimize memory copy 2014-07-07 15:36:45 +08:00
siddontang 38f741ddb1 use go-log and adjust some param name
go-log now has a well document.
it can be used directly.

limit may cause confused, use count instead
2014-07-04 13:27:57 +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
siddontang 51349ea12a don't export some error 2014-06-05 15:46:38 +08:00
siddontang f702354738 Merge branch 'zset_score' into develop 2014-06-05 14:26:27 +08:00
silentsai dee78beef1 fix the type of return value from zscore command 2014-06-05 10:20:50 +08:00
silentsai 4a5f105449 change the type of return score 2014-06-04 18:32:23 +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
siddontang 39c88b956c add hscan and zscan 2014-05-25 14:01:35 +08:00
siddontang 581a492f78 permit 0 length key, field and member 2014-05-23 12:23:20 +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 44ecf7a7b7 optimize reverse range with no limit
leveled iterator pref is too slow
2014-05-13 09:22:33 +08:00
siddontang 3ed4e9fc57 add lclear, hclear,zclear to del 2014-05-12 15:08:59 +08:00