Commit Graph

244 Commits

Author SHA1 Message Date
shaoguang de8cb364fc add ltrim_front and ltrim_back command, imitation ssdb's qtrim_front and qtrim_back commands 2015-10-12 22:00:53 +08:00
siddontang fdcaa0c4cc try to fix replication race test error 2015-06-18 21:47:35 +08:00
siddontang 5d7df5c773 bugfix list pop 2015-05-14 09:20:56 +08:00
siddontang 1df83b61b4 use a default initial maximum range count 2015-05-12 08:52:27 +08:00
siddontang eee7468b85 format with goimports 2015-05-04 22:42:28 +08:00
siddontang 9f5d7f4a0f add CompactStore interface 2015-05-03 11:24:03 +08:00
siddontang 4dd82584d1 update version tag to 0.5 2015-04-09 21:36:30 +08:00
siddontang 9f8f62b548 fix test error 2015-03-16 14:13:40 +08:00
siddontang 2ec83580ac handle databases config 2015-03-16 13:39:15 +08:00
siddontang 4c62cde287 add test for large db index 2015-03-16 09:20:26 +08:00
siddontang 13cc446870 add TTL key codec test 2015-03-16 09:20:13 +08:00
siddontang c718387d8d set max db number to 10240
I think this is enough
2015-03-16 09:19:57 +08:00
siddontang f51dd1712a support large db index 2015-03-15 20:36:14 +08:00
siddontang 1b8d5af588 generate db if not exists when select
put TTL checker in associated db too
2015-03-15 11:39:31 +08:00
siddontang dddbd5f146 remove begin, commit, rollback
simplify codes and features now, we don’t use transaction never, and it
is not universal for all backend storages and even introduces
complexity.
2015-03-14 09:10:00 +08:00
siddontang 09d57e28f6 use 16 now for later refactor
I will try to support large db index for xcodis
2015-03-13 14:00:33 +08:00
siddontang 62124c233d bugfix for flushall 2015-03-13 11:18:47 +08:00
siddontang ef8d5f7b69 add warn log for transaction 2015-03-12 11:38:21 +08:00
siddontang acabb99368 move rdb package 2015-03-07 10:19:15 +08:00
siddontang 91cdeeac16 scan support sac and desc
https://github.com/siddontang/ledisdb/issues/138
2015-03-05 15:49:08 +08:00
siddontang 2a4d9d5bc7 bugfix config 256 databases 2015-03-04 17:46:40 +08:00
siddontang 71b32895b8 add key exists for hash, list, set and zset 2015-03-04 09:33:25 +08:00
siddontang c69f803f37 support configuring databases 2015-03-04 09:15:28 +08:00
siddontang c2f8405c17 remove bitmap type 2015-03-03 09:21:00 +08:00
siddontang 8de966c081 add xhscan, xsscan, xzscan 2015-03-02 14:30:04 +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 f77438741d add make fmt and format go code 2015-02-05 09:39:18 +08:00
siddontang 926d082787 add some kv function
setrange, getrange, strlen, append
2015-02-05 09:30:04 +08:00
siddontang b5c78640aa support sort command 2015-02-04 14:09:05 +08:00
wenyekui 5863e52ded add xsexists and xzexists commands 2015-02-01 17:54:52 +08:00
wenyekui 52cad4ab31 add XLExists cmd 2015-02-01 17:41:28 +08:00
wenyekui 83c4db020c add xhexists cmd 2015-02-01 17:19:46 +08:00
siddontang 053da7736c Use new log interface 2015-01-12 10:32:03 +08:00
siddontang bb01d4c246 Merge branch 'pr/122' into develop 2014-12-15 09:59:20 +08:00
siddontang 0ee6860979 must clear key before restore 2014-11-30 22:39:00 +08:00
siddontang 4bdbdb7697 add dump and restore support 2014-11-27 14:03:44 +08:00
siddontang f094ed65e3 bug fix set close iterator 2014-11-27 09:20:49 +08:00
siddontang a1555c6096 fix lmdb test error on windows 2014-11-25 14:52:50 +08:00
siddontang 2a4504aafa add version tag 2014-11-21 10:32:25 +08:00
siddontang 62440fef91 refactor replication, not compatibility
use data and meta file for a table
use mmap for file read and write
2014-11-20 17:33:38 +08:00
siddontang 8ec2730235 rpl optimize
log head use pool
remove defer mutex
2014-11-19 10:26:50 +08:00
siddontang b7cabcbb5f rpl optimize 2014-11-18 17:50:22 +08:00
siddontang 5196e211cc adjust readonly check 2014-11-14 16:00:03 +08:00
siddontang 6f39cb17a9 close gracefully
wait all resp-client connections closed
2014-11-11 15:21:41 +08:00
siddontang a5dcdbf6c3 Merge branch 'rpl-feature' into develop 2014-11-11 09:08:33 +08:00
siddontang 660998f1fd using batch to optimize load dump 2014-11-10 15:35:57 +08:00
siddontang d058c20094 refactor replication
replication log format is not compatibility
2014-11-10 12:40:19 +08:00
siddontang 40a0f88d85 Merge pull request #93 from xlab/patch-1
Increase MaxValueSize for a reasonable value
2014-11-09 18:39:27 +08:00
siddontang 7b5d950cc9 fix go test race error 2014-11-01 23:28:34 +08:00