Commit Graph

38 Commits

Author SHA1 Message Date
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
siddontang 1183d853ad rename to ledisdb, update 2014-05-09 14:49:22 +08:00