Commit Graph

817 Commits

Author SHA1 Message Date
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 b36d4aba37 move some pkgs to vendor
godep can not handle some pkgs which have build tags

So we put these into vendor explicitly
2015-03-14 10:57:18 +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 2a8a736e6a Merge branch 'pr/144' into develop 2015-03-13 08:33:51 +08:00
zhibinr db7aaf10af fix a typo 2015-03-12 18:50:22 +08:00
siddontang add345c119 Merge branch 'develop' 2015-03-12 11:53:07 +08:00
siddontang ef8d5f7b69 add warn log for transaction 2015-03-12 11:38:21 +08:00
siddontang 2d113aa9be add linenoise build tag
avoid some cgo compiling problem
2015-03-12 11:32:33 +08:00
siddontang 5f0c295dd5 customize building with lmdv 2015-03-11 11:54:16 +08:00
siddontang 186ed2f84f use goredis client 2015-03-11 11:54:02 +08:00
siddontang ce8e0d4fdc retry migration when key is in migrating 2015-03-09 10:00:29 +08:00
siddontang 4eeaffbc00 simplify migration code
handle ALL for xmigrate type
2015-03-07 16:51:27 +08:00
siddontang c6c82b979d Use key lock when migration
https://github.com/siddontang/ledisdb/issues/141

Now migration is only safe for xcodis, but I think it does not matter.
2015-03-07 12:47:35 +08:00
siddontang acabb99368 move rdb package 2015-03-07 10:19:15 +08:00
siddontang 9dfc4f0e26 remove unnecessary benchmark code 2015-03-07 08:39:18 +08:00
siddontang 62219bbe74 update doc 2015-03-05 15:49: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 b9d10ace23 Merge branch 'develop' 2015-03-04 17:47:22 +08:00
siddontang 2a4d9d5bc7 bugfix config 256 databases 2015-03-04 17:46:40 +08:00
siddontang b5e3c033c1 Merge branch 'develop' 2015-03-04 15:48:29 +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 18362ffba4 move go ledis client 2015-03-03 10:18:54 +08:00
siddontang 5572af303e use doctoc 2015-03-03 09:21:24 +08:00
siddontang c2f8405c17 remove bitmap type 2015-03-03 09:21:00 +08:00
siddontang c4380b6406 simplify client connection
fix
https://github.com/siddontang/redis-failover/issues/3#issuecomment-76665
133
2015-03-02 17:12:55 +08:00
siddontang b1ccbb9c75 Merge branch 'scan-feature' into develop 2015-03-02 14:44:56 +08:00
siddontang ab94f63375 update doc 2015-03-02 14:44: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 218700ce44 repo conf command should check replication ok 2015-02-14 14:40:58 +08:00
siddontang 13767e1bb2 fix use_replication has no effect error 2015-02-14 14:38:13 +08:00
siddontang 1760e9fe20 fix replication test error 2015-02-14 09:45:07 +08:00
siddontang fde91d588a fix can not close slave if master is down 2015-02-14 09:25:21 +08:00
siddontang 3cd534aefb fix slave role err, ip and port must be master 2015-02-14 09:25:01 +08:00
siddontang 87cbf6cefc adjust replication state set 2015-02-11 10:13:21 +08:00
siddontang cbbec9d625 slave support reconnecting 2015-02-11 09:55:34 +08:00
siddontang 92811d8ea1 add some redis compatibility info replication msgs 2015-02-10 13:42:34 +08:00
siddontang f18e58c0d0 Merge branch 'develop' 2015-02-06 09:52:22 +08:00
siddontang 7235cb8933 add some commands doc 2015-02-06 09:20:03 +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 1540f81e68 add some kv command
setrange, getrange, strlen, append
2015-02-05 09:50:40 +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 405a2358b3 Merge branch 'develop' 2015-02-04 22:10:26 +08:00
siddontang b5c78640aa support sort command 2015-02-04 14:09:05 +08:00
siddontang adbfd4b945 add role command doc 2015-02-03 14:22:12 +08:00