From owner-svn-ports-head@FreeBSD.ORG Sun Sep 21 23:14:59 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 20513890; Sun, 21 Sep 2014 23:14:59 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0B4A7797; Sun, 21 Sep 2014 23:14:59 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8LNEwth068890; Sun, 21 Sep 2014 23:14:58 GMT (envelope-from osa@FreeBSD.org) Received: (from osa@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8LNEwww068887; Sun, 21 Sep 2014 23:14:58 GMT (envelope-from osa@FreeBSD.org) Message-Id: <201409212314.s8LNEwww068887@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: osa set sender to osa@FreeBSD.org using -f From: "Sergey A. Osokin" Date: Sun, 21 Sep 2014 23:14:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368794 - head/databases/redis X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2014 23:14:59 -0000 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. --[ 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. 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