Date: Sun, 21 Sep 2014 23:14:58 +0000 (UTC) From: "Sergey A. Osokin" <osa@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368794 - head/databases/redis Message-ID: <201409212314.s8LNEwww068887@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: osa Date: Sun Sep 21 23:14:58 2014 New Revision: 368794 URL: http://svnweb.freebsd.org/changeset/ports/368794 QAT: https://qat.redports.org/buildarchive/r368794/ Log: Upgrade from 2.8.15 to 2.8.17. <ChangeLog> --[ 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. </ChangeLog> Modified: head/databases/redis/Makefile head/databases/redis/distinfo Modified: head/databases/redis/Makefile ============================================================================== --- head/databases/redis/Makefile Sun Sep 21 23:12:18 2014 (r368793) +++ head/databases/redis/Makefile Sun Sep 21 23:14:58 2014 (r368794) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= redis -DISTVERSION= 2.8.15 +DISTVERSION= 2.8.17 CATEGORIES= databases MASTER_SITES= http://download.redis.io/releases/ Modified: head/databases/redis/distinfo ============================================================================== --- head/databases/redis/distinfo Sun Sep 21 23:12:18 2014 (r368793) +++ head/databases/redis/distinfo Sun Sep 21 23:14:58 2014 (r368794) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409212314.s8LNEwww068887>