From 05ca6dba90fb170dcaf748b88b596c5fc3b9aa24 Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Sun, 21 Sep 2014 23:14:58 +0000 Subject: Upgrade from 2.8.15 to 2.8.17. --[ Redis 2.8.17 ] Release date: 19 Sep 2014 # UPGRADE URGENCY: HIGH for Redis Sentinel. LOW for Redis Server (unmodified compared to 2.8.16). * [FIX] Resolved a memory leak in the hiredis library causing a memory leak in Redis Sentinel when a monitored instance or another Sentinel is unavailable. Every reconnection attempt will leak a small amount of memory, but in the long run the process can reach a considerable size. --[ Redis 2.8.16 ] Release date: 16 Sep 2014 # UPGRADE URGENCY: HIGH for Redis if you are using 2.8.15 + AOF. LOW for Sentinel. * [FIX] The ability to load truncated AOF files introduced with Redis 2.8.15 contains a bug fixed in this release: after loading the file was not truncated to the last valid command, so the new commands are appended after a non well formed command. This means that: 1) The first AOF rewrite triggered by the server will automatically fix the problem. 2) However, if the server is restarted before the rewrite, Redis may not be able to load the file and you need to manually fix it. In order to fix a corrupted file you should start the redis-check-aof utility WITHOUT the --fix option, just to check the offset where the corruption is found. Around the offset reported by the check utility you'll find, inside your AOF file, a command which is not complete according to the Redis protocol. Just remove this incomplete command leafing the file unaltered before and after the offending command, and restart the server. IMPORTANT #1: Redis 2.8.15 is the only stable version of Redis with this bug so probably no actual real-world problem happened since the problem is automatically fixed at the first automatic AOF rewrite. IMPORTANT #2: Before upgrading to Redis 2.8.16, if you are using Redis 2.8.15 with AOF enabled, make sure to trigger a manual AOF rewrite using the BGREWRITEAOF command. * [FIX] SAVE is no longer propagated to AOF / slaves. --- databases/redis/Makefile | 2 +- databases/redis/distinfo | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'databases') diff --git a/databases/redis/Makefile b/databases/redis/Makefile index 47604f41912d..02cdd516b0be 100644 --- a/databases/redis/Makefile +++ b/databases/redis/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= redis -DISTVERSION= 2.8.15 +DISTVERSION= 2.8.17 CATEGORIES= databases MASTER_SITES= http://download.redis.io/releases/ diff --git a/databases/redis/distinfo b/databases/redis/distinfo index 91c79b57f86f..bd568dbc693f 100644 --- a/databases/redis/distinfo +++ b/databases/redis/distinfo @@ -1,2 +1,2 @@ -SHA256 (redis-2.8.15.tar.gz) = 2bc8cacf2b9a22fe7fd0cc8d794db7f6ea6d919083482184df86d40e5e3de38f -SIZE (redis-2.8.15.tar.gz) = 1233621 +SHA256 (redis-2.8.17.tar.gz) = 53c7cc639571729fa57d7baa7f81aec1d5886f86bac9c66f6ad06dbdaee236a7 +SIZE (redis-2.8.17.tar.gz) = 1234543 -- cgit v1.2.3