Commit Graph

415 Commits

Author SHA1 Message Date
siddontang 5ea473b4fe Merge branch 'zset_score' 2014-06-05 14:21:50 +08:00
silentsai d0e15d4c1d fix bug - unify the return score type to bluk while call rangeXXX 2014-06-05 11:49:12 +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
siddontang 7a0c5bcd17 add replicate for relay log 2014-06-04 14:42:13 +08:00
silentsai a7eb1e1884 for test cases : do remove db file instead of call function db.clear at the very start 2014-06-04 14:29:21 +08:00
siddontang 0d4949f060 change log name suffix format 2014-06-03 16:19:56 +08:00
silentsai 654a0a4704 add expire for the kv type; simplify the listMetaKey format 2014-06-03 15:41:17 +08:00
silentsai 038f9c7000 Merge branch 'develop' of https://github.com/siddontang/ledisdb into develop 2014-06-03 15:40:27 +08:00
silentsai 5c7d885168 add expire for the kv type; simplify the listMetaKey format 2014-06-03 15:40:10 +08:00
siddontang 263a89b9aa bin log and relay log use same log 2014-06-03 14:08:57 +08:00
siddontang 8cc62ad89f move bin log to replication package 2014-06-03 09:51:29 +08:00
siddontang 2b106981ba add global lock to handle replication 2014-05-29 15:07:14 +08:00
siddontang 93491791d5 add dump and load 2014-05-28 14:20:45 +08:00
siddontang d9dcab1d6b adjust key/value max size, change step commit in flush 2014-05-28 14:20:34 +08:00
siddontang f66ffb18dc add base bin log support 2014-05-27 16:05:24 +08:00
siddontang bd38e693f2 bug fix for kv scan, add scan test 2014-05-26 09:21:17 +08:00
siddontang 39c88b956c add hscan and zscan 2014-05-25 14:01:35 +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
siddontang 7e88d0b563 use go-log instead go lib log 2014-05-23 10:17:09 +08:00
silentsai 84a70ad0c0 add the missing code file for the db flush 2014-05-22 20:02:22 +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
silentsai 68b28fe656 remove 'FlushDB' from test 2014-05-22 12:53:44 +08:00
silentsai 10dc7ccd15 update 2014-05-22 12:52:09 +08:00
silentsai 429c033b68 remove 'FlushDB' temporarily 2014-05-22 12:49:04 +08:00
silentsai 9f22f3e11e append test cases for t_zset; add 'FlushDB' api into the core 2014-05-22 11:11:50 +08:00
siddontang ffc40358fe update 2014-05-22 08:52:38 +08:00
siddontang 561ffefd9a add english read me 2014-05-22 08:52:21 +08:00
siddontang d86c6251fb refactor, support select command 2014-05-20 08:41:24 +08:00
siddontang d3eabcd440 add const.go 2014-05-16 15:04:35 +08:00
siddontang a0f90016d4 refactor, split ledis pkg to ledis and server 2014-05-16 15:03:23 +08:00
siddontang f9f7d24e58 add some db base test 2014-05-16 10:36:18 +08:00
siddontang 6152d75160 update config format 2014-05-16 09:42:27 +08:00
siddontang b2ec29083d update test 2014-05-16 09:10:09 +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 4eeadc7389 update build_leveldb 2014-05-14 17:56:01 +08:00
siddontang ae76f1db41 set ledisdb root dir to gopath in dev.sh 2014-05-14 17:09:47 +08:00
siddontang 4377c09bb2 update read me 2014-05-14 16:44:01 +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 d8eab1572c update leveled build shell 2014-05-14 09:20:45 +08:00
siddontang b0d93f5842 kv some functions add error check 2014-05-14 08:50:19 +08:00
siddontang 5a5081c34e add c++ cgo_flag 2014-05-14 08:48:31 +08:00
siddontang 3cf448db0e update zest range benchmark 2014-05-13 09:24:18 +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 74d18cd6d3 ledis test change port to 16380 2014-05-13 08:49:20 +08:00