Skip to content

Commit

Permalink
updated nutcracker version to 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
manjuraj committed Jun 23, 2015
1 parent 0beb3b5 commit 7e50f0c
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 8 deletions.
24 changes: 24 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
2015-22-06 Manju Rajashekhar <[email protected]>
* twemproxy: version 0.4.1 release
redis_auth is only valid for a redis pool
getaddrinfo returns non-zero +ve value on error
fix-hang-when-command-only (charsyam)
fix bug crash when get command without key and whitespace (charsyam)
mark server as failed on protocol level transiet failures like -OOM, -LOADING, etc
implemented support for parsing fine grained redis error response
remove redundant conditional judgement in rbtree deletion (leo ma)
fix bug mset has invalid pair (charsyam)
fix bug mset has invalid pair (charsyam)
temp fix a core on kqueue (idning)
support "touch" command for memcached (panmiaocai)
fix redis parse rsp bug (charsyam)
SORT command can take multiple arguments. So it should be part of redis_argn() and not redis_arg0()
remove incorrect assert because client could send data after sending a quit request which must be discarded
allow file permissions to be set for UNIX domain listening socket (ori liveneh)
return error if formatted is greater than mbuf size by using nc_vsnprintf() in msg_prepend_format()
fix req_make_reply on msg_get, mark it as response (idning)
redis database select upon connect (arne claus)
redis_auth (charsyam)
allow null key(empty key) (idning)
fix core on invalid mset like "mset a a a" (idning)

2014-18-10 idning <[email protected]>
* twemproxy: version 0.4.0 release
mget improve (idning)
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Define the package version numbers and the bug reporting address
m4_define([NC_MAJOR], 0)
m4_define([NC_MINOR], 4)
m4_define([NC_PATCH], 0)
m4_define([NC_PATCH], 1)
m4_define([NC_BUGS], [[email protected]])

# Initialize autoconf
Expand Down
29 changes: 27 additions & 2 deletions scripts/nutcracker.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Summary: Twitter's nutcracker redis and memcached proxy
Name: nutcracker
Version: 0.4.0
Version: 0.4.1
Release: 1

URL: https://github.com/twitter/twemproxy/
Expand All @@ -16,7 +16,8 @@ BuildRequires: libtool

%description
twemproxy (pronounced "two-em-proxy"), aka nutcracker is a fast and lightweight proxy for memcached and redis protocol.
It was primarily built to reduce the connection count on the backend caching servers.
It was primarily built to reduce the connection count on the backend caching servers. This, together with protocol
pipelining and sharding enables you to horizontally scale your distributed caching architecture.

%prep
%setup -q
Expand Down Expand Up @@ -65,6 +66,30 @@ fi
%config(noreplace)%{_sysconfdir}/%{name}/%{name}.yml

%changelog
* Mon Jun 22 2015 Manju Rajashekhar <[email protected]>
- twemproxy: version 0.4.1 release
- redis_auth is only valid for a redis pool
- getaddrinfo returns non-zero +ve value on error
- fix-hang-when-command-only (charsyam)
- fix bug crash when get command without key and whitespace (charsyam)
- mark server as failed on protocol level transiet failures like -OOM, -LOADING, etc
- implemented support for parsing fine grained redis error response
- remove redundant conditional judgement in rbtree deletion (leo ma)
- fix bug mset has invalid pair (charsyam)
- fix bug mset has invalid pair (charsyam)
- temp fix a core on kqueue (idning)
- support "touch" command for memcached (panmiaocai)
- fix redis parse rsp bug (charsyam)
- SORT command can take multiple arguments. So it should be part of redis_argn() and not redis_arg0()
- remove incorrect assert because client could send data after sending a quit request which must be discarded
- allow file permissions to be set for UNIX domain listening socket (ori liveneh)
- return error if formatted is greater than mbuf size by using nc_vsnprintf() in msg_prepend_format()
- fix req_make_reply on msg_get, mark it as response (idning)
- redis database select upon connect (arne claus)
- redis_auth (charsyam)
- allow null key(empty key) (idning)
- fix core on invalid mset like "mset a a a" (idning)

* Tue Oct 18 2014 idning <[email protected]>
- twemproxy: version 0.4.0 release
- mget improve (idning)
Expand Down
4 changes: 2 additions & 2 deletions tests/test_redis/test_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ def test_pingpong():
_test(req, resp)

def test_quit():
if nc.version() < '0.4.1':
if nc.version() < '0.4.2':
return
req = '*1\r\n$4\r\nQUIT\r\n'
resp = '+OK\r\n'
_test(req, resp)

def test_quit_without_recv():
if nc.version() < '0.4.1':
if nc.version() < '0.4.2':
return
req = '*1\r\n$4\r\nQUIT\r\n'
resp = '+OK\r\n'
Expand Down
6 changes: 3 additions & 3 deletions tests/test_system/test_reload.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def send_cmd(s, req, resp):

@with_setup(_setup, _teardown)
def test_reload_with_old_conf():
if nc.version() < '0.4.1':
if nc.version() < '0.4.2':
print 'Ignore test_reload for version %s' % nc.version()
return
pid = nc.pid()
Expand Down Expand Up @@ -99,7 +99,7 @@ def test_reload_with_old_conf():

@with_setup(_setup, _teardown)
def test_new_port():
if nc.version() < '0.4.1':
if nc.version() < '0.4.2':
print 'Ignore test_reload for version %s' % nc.version()
return
r = redis.Redis(nc.host(), nc.port())
Expand Down Expand Up @@ -128,7 +128,7 @@ def test_new_port():

@with_setup(_setup, _teardown)
def test_pool_add_del():
if nc.version() < '0.4.1':
if nc.version() < '0.4.2':
print 'Ignore test_reload for version %s' % nc.version()
return

Expand Down

0 comments on commit 7e50f0c

Please sign in to comment.