Commit Graph

46 Commits

Author SHA1 Message Date
siddontang 0c604eb684
fix vet and lint (#337) 2018-03-29 20:33:36 +08:00
frankxieke 2f7cbc730a bitop Not command bug (#248) 2016-07-25 21:41:54 +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 f34d3ac27b refactor scan 2015-03-02 11:10:54 +08:00
siddontang b94a604f7a add kv bit operation support
old bitmap type will be deprecated later
2015-02-05 15:37:17 +08:00
siddontang 926d082787 add some kv function
setrange, getrange, strlen, append
2015-02-05 09:30:04 +08:00
siddontang 4c19e40159 add GetSlice, hope can improve get performance 2014-10-29 20:17:12 +08:00
holys c7dfec509b add SETEX command for KV 2014-10-26 15:15:43 +08:00
siddontang f09e43ad99 add rev scan support 2014-10-20 22:36:16 +08:00
siddontang b7de9e6354 use tiny go package 2014-09-24 13:29:27 +08:00
siddontang 1a1250d949 refactor, remove bin log, add consensus replication 2014-09-23 17:28:09 +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 4b43f0bf7e add unit test 2014-08-16 15:35:05 +08:00
wenyekui cd44095dbd list/bit/zset scan 2014-08-14 19:05:17 +08:00
wenyekui 54ed8e0d38 refactor scan 2014-08-14 15:24:41 +08:00
siddontang efa8e850f5 Merge branch 'storage-feature' into develop 2014-07-26 18:43:23 +08:00
siddontang 7a237661da add support for multi storage 2014-07-25 17:58:00 +08:00
holys fe881ba03c add errer input params test for kv; fix typo for t_kv.go 2014-07-25 17:26:29 +08:00
siddontang a41b1ef669 refactor, bin rename to bit, rename datatype 2014-07-11 13:27:40 +08:00
siddontang 5e33e67d89 refactor t/l, reduce code
not backwards compatibility,
2014-07-09 17:01:33 +08:00
silentsai 2dbf643b16 expire on the bin type is available 2014-07-03 11:38:52 +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
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 bd38e693f2 bug fix for kv scan, add scan test 2014-05-26 09:21:17 +08:00
siddontang 8038a54cdb add inclusive flag for scan 2014-05-23 13:06:44 +08:00
siddontang f404e35142 remove scan cmd, we implement a little diff 2014-05-23 12:39:56 +08:00
siddontang 581a492f78 permit 0 length key, field and member 2014-05-23 12:23:20 +08:00
siddontang 81a5587c99 add simple support for kv scan 2014-05-23 11:44:50 +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 0f1856b7fc update kv decr 2014-05-15 20:48:38 +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 b0d93f5842 kv some functions add error check 2014-05-14 08:50:19 +08:00
siddontang 1183d853ad rename to ledisdb, update 2014-05-09 14:49:22 +08:00