Commit Graph

26 Commits

Author SHA1 Message Date
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