Skip to content

Commit 7e50f0c

Browse files
committed
updated nutcracker version to 0.4.1
1 parent 0beb3b5 commit 7e50f0c

File tree

5 files changed

+57
-8
lines changed

5 files changed

+57
-8
lines changed

ChangeLog

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
2015-22-06 Manju Rajashekhar <[email protected]>
2+
* twemproxy: version 0.4.1 release
3+
redis_auth is only valid for a redis pool
4+
getaddrinfo returns non-zero +ve value on error
5+
fix-hang-when-command-only (charsyam)
6+
fix bug crash when get command without key and whitespace (charsyam)
7+
mark server as failed on protocol level transiet failures like -OOM, -LOADING, etc
8+
implemented support for parsing fine grained redis error response
9+
remove redundant conditional judgement in rbtree deletion (leo ma)
10+
fix bug mset has invalid pair (charsyam)
11+
fix bug mset has invalid pair (charsyam)
12+
temp fix a core on kqueue (idning)
13+
support "touch" command for memcached (panmiaocai)
14+
fix redis parse rsp bug (charsyam)
15+
SORT command can take multiple arguments. So it should be part of redis_argn() and not redis_arg0()
16+
remove incorrect assert because client could send data after sending a quit request which must be discarded
17+
allow file permissions to be set for UNIX domain listening socket (ori liveneh)
18+
return error if formatted is greater than mbuf size by using nc_vsnprintf() in msg_prepend_format()
19+
fix req_make_reply on msg_get, mark it as response (idning)
20+
redis database select upon connect (arne claus)
21+
redis_auth (charsyam)
22+
allow null key(empty key) (idning)
23+
fix core on invalid mset like "mset a a a" (idning)
24+
125
2014-18-10 idning <[email protected]>
226
* twemproxy: version 0.4.0 release
327
mget improve (idning)

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Define the package version numbers and the bug reporting address
22
m4_define([NC_MAJOR], 0)
33
m4_define([NC_MINOR], 4)
4-
m4_define([NC_PATCH], 0)
4+
m4_define([NC_PATCH], 1)
55
m4_define([NC_BUGS], [[email protected]])
66

77
# Initialize autoconf

scripts/nutcracker.spec

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Summary: Twitter's nutcracker redis and memcached proxy
22
Name: nutcracker
3-
Version: 0.4.0
3+
Version: 0.4.1
44
Release: 1
55

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

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

2122
%prep
2223
%setup -q
@@ -65,6 +66,30 @@ fi
6566
%config(noreplace)%{_sysconfdir}/%{name}/%{name}.yml
6667

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

tests/test_redis/test_protocol.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ def test_pingpong():
3737
_test(req, resp)
3838

3939
def test_quit():
40-
if nc.version() < '0.4.1':
40+
if nc.version() < '0.4.2':
4141
return
4242
req = '*1\r\n$4\r\nQUIT\r\n'
4343
resp = '+OK\r\n'
4444
_test(req, resp)
4545

4646
def test_quit_without_recv():
47-
if nc.version() < '0.4.1':
47+
if nc.version() < '0.4.2':
4848
return
4949
req = '*1\r\n$4\r\nQUIT\r\n'
5050
resp = '+OK\r\n'

tests/test_system/test_reload.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def send_cmd(s, req, resp):
5959

6060
@with_setup(_setup, _teardown)
6161
def test_reload_with_old_conf():
62-
if nc.version() < '0.4.1':
62+
if nc.version() < '0.4.2':
6363
print 'Ignore test_reload for version %s' % nc.version()
6464
return
6565
pid = nc.pid()
@@ -99,7 +99,7 @@ def test_reload_with_old_conf():
9999

100100
@with_setup(_setup, _teardown)
101101
def test_new_port():
102-
if nc.version() < '0.4.1':
102+
if nc.version() < '0.4.2':
103103
print 'Ignore test_reload for version %s' % nc.version()
104104
return
105105
r = redis.Redis(nc.host(), nc.port())
@@ -128,7 +128,7 @@ def test_new_port():
128128

129129
@with_setup(_setup, _teardown)
130130
def test_pool_add_del():
131-
if nc.version() < '0.4.1':
131+
if nc.version() < '0.4.2':
132132
print 'Ignore test_reload for version %s' % nc.version()
133133
return
134134

0 commit comments

Comments
 (0)