Commit Graph

236 Commits

Author SHA1 Message Date
shaoguang ac9fc95470 fix access log bug 2015-10-06 17:20:32 +08:00
Russell Smith 8c23730bde Fix serious issue with auth 2015-09-13 00:13:02 -07:00
Russell Smith 7e4bc199fb Use more standard go; camel case 2015-09-12 19:50:56 -07:00
Russell Smith d48cb8c773 Make the auth stuff simpler - just have a password 2015-09-12 19:35:08 -07:00
Russell Smith 623794feb2 Attempt at Auth :) 2015-09-12 17:47:10 -07:00
siddontang cf1db90381 fix shutdown, windows has no kill function 2015-06-18 16:23:56 +08:00
siddontang eee7468b85 format with goimports 2015-05-04 22:42:28 +08:00
siddontang 9bfd3b2208 support shutdown command 2015-05-03 11:19:31 +08:00
siddontang 6b7ab2b02d use goredis to parse RESP request 2015-03-23 19:50:37 +08:00
siddontang c412943bf8 rename XUSE to XSELECT 2015-03-22 08:39:20 +08:00
siddontang 5223f5d8eb support XUSE db THEN command
To solve https://github.com/siddontang/ledisdb/issues/149, but I prefer
XUSE db THEN command like IFFFT, aha.
2015-03-21 20:33:57 +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 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 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 18362ffba4 move go ledis client 2015-03-03 10:18:54 +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 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 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 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 b5c78640aa support sort command 2015-02-04 14:09:05 +08:00
siddontang fb9d8cc527 add role command 2015-02-03 14:15:30 +08:00
siddontang e569e0c553 panic add more information 2015-02-03 14:15:11 +08:00
siddontang 84002e0499 remove confused command coroutine
may degrade some performance, but I think people can understand this
code easily
2015-02-03 14:14:46 +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 31fc7f0375 x must be the prefix for scan, for #121 2015-01-24 11:07:26 +08:00
siddontang 053da7736c Use new log interface 2015-01-12 10:32:03 +08:00
siddontang 8c75a693f4 fix http panic error 2014-12-26 10:08:37 +08:00
siddontang 3055e6b2fc add xmigrate
xmigrate will be used in xcodis
2014-12-03 16:27:52 +08:00
siddontang 07e3705b22 add migrate command, improved later 2014-12-01 17:50:48 +08:00
siddontang 026a72b58e Merge branch 'copy-bugfix' into develop 2014-11-27 20:51:21 +08:00
siddontang 4bdbdb7697 add dump and restore support 2014-11-27 14:03:44 +08:00
siddontang 6f39cb17a9 close gracefully
wait all resp-client connections closed
2014-11-11 15:21:41 +08:00