Skip to content

Commit 3dddc2b

Browse files
authored
Merge pull request #640 from twitter/release-0.5.0-RC1
Release twemproxy 0.5.0-RC1
2 parents 329e1ab + f852ffa commit 3dddc2b

File tree

4 files changed

+42
-11
lines changed

4 files changed

+42
-11
lines changed

ChangeLog

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
2021-??-?? Tyson Andre
2-
* twemproxy: version 0.5.0 release (dev)
1+
2021-06-07 Tyson Andre <[email protected]>
2+
* twemproxy: version 0.5.0-RC1 release
33
Add 'tcpkeepalive' pool boolean config flag setting
44
to enable tcp keepalive (charsyam, manju)
55
Support redis bitpos command (clark kang)

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
## Build
66

7-
To build twemproxy from [distribution tarball](https://drive.google.com/open?id=0B6pVMMV5F5dfMUdJV25abllhUWM&authuser=0):
7+
To build twemproxy 0.5.0+ from [distribution tarball](https://github.com/twitter/twemproxy/releases):
88

99
$ ./configure
1010
$ make
1111
$ sudo make install
1212

13-
To build twemproxy from [distribution tarball](https://drive.google.com/open?id=0B6pVMMV5F5dfMUdJV25abllhUWM&authuser=0) in _debug mode_:
13+
To build twemproxy 0.5.0+ from [distribution tarball](https://github.com/twitter/twemproxy/releases) in _debug mode_:
1414

1515
$ CFLAGS="-ggdb3 -O0" ./configure --enable-debug=full
1616
$ make
@@ -32,6 +32,13 @@ A quick checklist:
3232
+ Use CFLAGS="-O3 -fno-strict-aliasing" ./configure && make
3333
+ `autoreconf -fvi && ./configure` needs `automake` and `libtool` to be installed
3434

35+
`make check` will run unit tests.
36+
37+
### Older Releases
38+
39+
Distribution tarballs for twemproxy <= 0.4.1 can be found at https://drive.google.com/open?id=0B6pVMMV5F5dfMUdJV25abllhUWM&authuser=0
40+
The build steps are the same (`./configure; make; sudo make install`).
41+
3542
## Features
3643

3744
+ Fast.

configure.ac

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Define the package version numbers and the bug reporting address
22
m4_define([NC_MAJOR], 0)
3-
m4_define([NC_MINOR], 4)
4-
m4_define([NC_PATCH], 1)
3+
m4_define([NC_MINOR], 5)
4+
m4_define([NC_PATCH], 0)
55
m4_define([NC_BUGS], [https://github.com/twitter/twemproxy/issues])
66

77
# Initialize autoconf
88
AC_PREREQ([2.64])
9-
AC_INIT([nutcracker], [NC_MAJOR.NC_MINOR.NC_PATCH], [NC_BUGS])
9+
AC_INIT([nutcracker], [NC_MAJOR.NC_MINOR.NC_PATCH-RC1], [NC_BUGS])
1010
AC_CONFIG_SRCDIR([src/nc.c])
1111
AC_CONFIG_AUX_DIR([config])
1212
AC_CONFIG_HEADERS([config.h:config.h.in])
@@ -19,7 +19,7 @@ AM_INIT_AUTOMAKE([1.9 foreign])
1919
AC_DEFINE(NC_VERSION_MAJOR, NC_MAJOR, [Define the major version number])
2020
AC_DEFINE(NC_VERSION_MINOR, NC_MINOR, [Define the minor version number])
2121
AC_DEFINE(NC_VERSION_PATCH, NC_PATCH, [Define the patch version number])
22-
AC_DEFINE(NC_VERSION_STRING, "NC_MAJOR.NC_MINOR.NC_PATCH", [Define the version string])
22+
AC_DEFINE(NC_VERSION_STRING, "NC_MAJOR.NC_MINOR.NC_PATCH-RC1", [Define the version string])
2323

2424
# Checks for language
2525
AC_LANG([C])

scripts/nutcracker.spec

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Summary: Twitter's nutcracker redis and memcached proxy
22
Name: nutcracker
3-
Version: 0.4.1
4-
Release: 1
3+
Version: 0.5.0
4+
Release: 0.1.rc1
55

66
URL: https://github.com/twitter/twemproxy/
77
Source0: %{name}-%{version}.tar.gz
@@ -66,6 +66,30 @@ fi
6666
%config(noreplace)%{_sysconfdir}/%{name}/%{name}.yml
6767

6868
%changelog
69+
* Tue Jul 06 2021 Tyson Andre <[email protected]>
70+
- twemproxy: version 0.5.0-RC1 release
71+
- Add 'tcpkeepalive' pool boolean config flag setting to enable tcp keepalive (charsyam, manju)
72+
- Support redis bitpos command (clark kang)
73+
- Fix parsing of redis error response for error type with no space, add tests (tyson, tom dalton)
74+
- Update integration tests, add C unit test suite for 'make check' (tyson)
75+
- Increase the maximum host length+port+identifier to 273 in ketama_update (李广博)
76+
- Always initialize file permissions field when listening on a unix domain socket (tyson)
77+
- Use number of servers instead of number of points on the continuum when sharding requests to backend services to improve sharding performance and fix potential invalid memory access when all hosts were ejected from a pool. (tyson)
78+
- Optimize performance of deletion of single redis keys (vincentve)
79+
- Don't fragment memcache/redis get commands when they only have a single key (improves performance and error handling of single key case) (tyson)
80+
- Don't let requests hang when there is a dns error when processing a fragmented request (e.g. multiget with multiple keys) (tyson)
81+
- Allow extra parameters for redis spop (charsyam)
82+
- Update documentation and README (various)
83+
- Fix memory leak bug for redis mset (deep011)
84+
- Support arbitrarily deep nested redis multi-bulk responses (nested arrays) (qingping209, tyson)
85+
- Upgrade from libyaml 0.1.4 to 0.2.5 (tyson)
86+
- Fix compiler warnings about wrong conversion specifiers in format strings for logging (tyson)
87+
- Log the async backend used and any debug options in the '--help'/'--version' output.
88+
- Add support for many more new redis commands and updates to existing redis commands (tyson)
89+
- Optimization: Skip hashing and choosing server index when a pool has exactly one server (tyson)
90+
- Support memcache 'version' requests by proxying the request to a single backend memcache server to fetch the server version. (tyson)
91+
- Make error messages for creating the stats server during startup clearer. (tyson)
92+
6993
* Mon Jun 22 2015 Manju Rajashekhar <[email protected]>
7094
- twemproxy: version 0.4.1 release
7195
- backend server hostnames are resolved lazily
@@ -109,7 +133,7 @@ fi
109133
- support for set ex/px/nx/xx for redis 2.6.12 and up (ypocat)
110134
- kqueue (bsd) support (ferenyx)
111135
- fix parsing redis response to accept integer reply (charsyam)
112-
136+
113137
* Tue Jul 30 2013 Tait Clarridge <[email protected]>
114138
- Rebuild SPEC to work with CentOS
115139
- Added buildrequires if building with mock/koji

0 commit comments

Comments
 (0)