Glen De Cauwsemaecker
5835ab9b2b
fix error messages to be redis compliant ( #293 )
2017-04-18 11:38:01 +08:00
Glen De Cauwsemaecker
80ea7b8bca
allocate local port dynamically, fixes #290 ( #292 )
2017-04-16 10:37:47 +08:00
Glen De Cauwsemaecker
9f6a59ea1a
Feature: Pure Go Lua (VM) ( #291 )
2017-04-15 21:51:03 +08:00
Glen De Cauwsemaecker
3480a28731
support redis as a global var in lua scripts ( #289 )
...
by supporting both ledis and redis as the global lua script var,
we keep ledis support as it is, while also supporting redis clients,
which will be sending scripts, whilst assuming redis is the global
2017-04-13 09:08:58 +08:00
siddontang
f79c9a1f09
remove no need codes.
2017-03-14 22:26:07 +08:00
siddontang
3970f8e4f4
use glide and refactor ( #281 )
2017-03-12 18:05:35 +08:00
siddontang
ca344836ab
use vendor and do clean up. ( #241 )
...
* use vendor and do clean up.
2016-05-01 23:33:02 +08:00
Nikolay Turpitko
f08763cf37
Update script.go
...
OK then. I removed my comments, for bool code should work as is.
2016-01-22 16:57:52 +05:00
Nikolay Turpitko
b2f90f832a
Lua script, HMGET, value for absent key #219
2016-01-21 23:48:19 +06:00
Nikolay Turpitko
e48663b03a
RESP writer test
2016-01-21 22:07:36 +06:00
Nikolay Turpitko
e9bca10875
Convert commands to lowercase before use as a key in the map
2016-01-21 17:46:44 +06:00
jiangyangdong
7ab79cfb16
add ltrim command
2015-11-27 09:33:25 +08:00
Nikolay Turpitko
e0ee542c77
Remove unnecessary type conversion
2015-11-23 22:41:20 +05:00
Nikolay Turpitko
316ba29713
Add config param for unix socket permission (issue #203 )
2015-11-23 23:30:30 +06:00
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
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