Redis 4.0.2 and 3.2.11 released

255 views
Skip to first unread message

Salvatore Sanfilippo

unread,
Sep 21, 2017, 10:24:42 AM9/21/17
to redi...@googlegroups.com
Hello all,

Redis 4.0.2 and 3.2.11 are out fixing CRITICAL bugs. Everything is in the following release notes... so no need to add other words in the email :-) Please check the points there and upgrade if needed. Also note that 3.2.11 was only fixed regarding the AOF since the other bugs do not apply. Cheers. Changelog follows:
===
Redis 4.0.2     Released Thu Sep 21 15:47:53 CEST 2017
===
Upgrade urgency HIGH: Several potentially critical bugs fixed.

Hello, this release addresses several significant bugs in Redis 4.0:

1. A number of bugs were fixed in the area of PSYNC2 replication in the
specific area of restarting an instance with an RDB file having the
repliacation meta-data to continue without a full resynchronization. The
old code allowed several inconsistencies under certain conditions, like
starting a master with an RDB file generated by a slave, and later using
such master to connect previous slaves having the same replication history.
Because of other bugs, sometimes the replication resulted in a full
synchronization even if actually a partial resynchronization was possible
and so forth. Several commits by different authors fix different bugs here.

2. AOF flush on SHUTDOWN did not cared to really write the AOF buffers
(not in the kernel but in the Redis process memory) to disk before exiting.
Calling SHUTDOWN during traffic resulted into not every operation to be
persisted on disk.

3. The SLOWLOG could reference values inside string objects stored at keys,
creating a race condition during FLUSHALL ASYNC while the DB is reclaimed
in another thread.

There are other smaller bugs addessed in this relase, see the full commit
history below for more information.

A big thank you to all the contributors of this release. Without the
help I received, Redis 4.0 would take a much longer time to mature. It's
a real pleasure to work together with people around the world, while making
Redis better.

antirez in commit 1c60b7a6:
 Clarify comment in change fixing #4323.
 1 file changed, 6 insertions(+), 2 deletions(-)

zhaozhao.zz in commit 368124e8:
 Lazyfree: avoid memory leak when free slowlog entry
 1 file changed, 5 insertions(+), 2 deletions(-)

antirez in commit 79567b6e:
 PSYNC2: More refinements related to #4316.
 2 files changed, 14 insertions(+), 11 deletions(-)

zhaozhao.zz in commit f1194649:
 PSYNC2: make persisiting replication info more solid
 4 files changed, 33 insertions(+), 9 deletions(-)

antirez in commit 097a5556:
 PSYNC2: Fix the way replication info is saved/loaded from RDB.
 4 files changed, 49 insertions(+), 23 deletions(-)

antirez in commit f1a2cbfd:
 PSYNC2: Create backlog on slave partial sync as well.
 1 file changed, 5 insertions(+)

antirez in commit 0c0b77d1:
 Add MEMORY DOCTOR to MEMORY HELP.
 1 file changed, 3 insertions(+), 1 deletion(-)

Mota in commit fa6bd1b2:
 redis-benchmark: default value size usage update.
 1 file changed, 2 insertions(+), 2 deletions(-)

jybaek in commit ad0ddcf3:
 Remove Duplicate Processing
 1 file changed, 1 deletion(-)

Oran Agra (and also Buğra Gedik) in commit 8651e5d5:
 Flush append only buffers before existing.
 1 file changed, 2 insertions(+), 1 deletion(-)

antirez in commit f2b2897f:
 Changelog: note that 4.0 CLUSTER NODES output changed.
 1 file changed, 6 insertions(+)

Itamar Haber in commit 363be783:
 Changes command stats iteration to being dict-based
 1 file changed, 17 insertions(+), 10 deletions(-)

--
Salvatore 'antirez' Sanfilippo
open source developer - Redis Labs https://redislabs.com

"If a system is to have conceptual integrity, someone must control the concepts."
       — Fred Brooks, "The Mythical Man-Month", 1975.
Reply all
Reply to author
Forward
0 new messages