From owner-svn-ports-all@FreeBSD.ORG Sun Mar 23 16:51:11 2014 Return-Path: Delivered-To: svn-ports-all@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 7D2E9FA2; Sun, 23 Mar 2014 16:51:11 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5ECBACE9; Sun, 23 Mar 2014 16:51:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2NGpBvi090617; Sun, 23 Mar 2014 16:51:11 GMT (envelope-from osa@svn.freebsd.org) Received: (from osa@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2NGpAoG090613; Sun, 23 Mar 2014 16:51:10 GMT (envelope-from osa@svn.freebsd.org) Message-Id: <201403231651.s2NGpAoG090613@svn.freebsd.org> From: "Sergey A. Osokin" Date: Sun, 23 Mar 2014 16:51:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r348870 - head/databases/redis-devel X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2014 16:51:11 -0000 Author: osa Date: Sun Mar 23 16:51:10 2014 New Revision: 348870 URL: http://svnweb.freebsd.org/changeset/ports/348870 QAT: https://qat.redports.org/buildarchive/r348870/ Log: Upgrade from 3.0.0-beta1 to 3.0.0-beta2. Rewrite entries for pkg-plist. >> General * [FIX] Sometimes the absolute config file path was obtained in a wrong way. This happened when there was a "dir" directive inside the config file and at the same time the configuration file was given as a relative path to redis-server or redis-sentinel executables. * [FIX] redis-cli: Automatically enter --slave mode when SYNC or PSYNC are called during an interactive session. * [FIX] BITCOUNT: fixed unaligned access causing issues in sparc and other archs not capable of dealing with unaligned accesses. This also makes the code faster in archs where unaligned accesses are allowed. * [FIX] Force INFO used_memory_peak to match peak memory. This generated some confusion among users even if it was not an actual bug. * [FIX] Fixed an critical EVALSHA script cache bug: scripts executed may not propagate to AOF / Slaves correctly under certain conditions. See issue #1549 at Github for more information. * [FIX] Fixed multiple bugs resulting into closing the link with master or slave during replication without good reasons. This will result in useless resynchronizations, or infinite loops where the replication link can't be established. * [FIX] Don't count the time needed to populate the buffers of clients waiting in MONITOR mode when populating the Slow Log entries. * [NEW] Redis-cli updated to use SCAN instead of random sampling via RANDOMKEY in order to implement --bigkeys feature. Moreover the implementation now supports pipelining and reports more information at the end of the scan. Much faster, much better. A special thank you to Michael Grunder for this improvement. * [NEW] redis-cli now supports a new --intrinsic-latency mode that is able to meter the latency of a system due to kernel / hypervisor. How to use it is explained at http://redis.io/topics/latency. * [NEW] New command BITPOS: find first bit set or clear in a bitmap. * [NEW] CONFIG REWRITE calls are now logged. * [NEW] AOF write errors (like no space on device) no longer abort Redis if the fsync policy is none or every second. The database enters a read-only mode where every write is refused with an error. Normal operations are restored as soon as Redis is able to append again data to the AOF file. * [NEW] Sentinel now accepts SHUTDOWN command. >> Cluster * [FIX] Bind the first interface listed in the "bind" configuration directive if any, in order to perform outgoing connections. This fixes Cluster usage when an address is bound but there are multiple interfaces that may be used to connect with other nodes. * [FIX] When an "Importing" slot is closed via CLUSTER SETSLOT NODE ... increment the configEpoch in the special case it is zero. * [FIX] Current transaction is invalidated on redirection errors. * [FIX] Abort if port does not allow for a valid cluster bus port that is always at fixed +10000 offset. * [FIX] Keys extraction algorithm fixed for ZUNIONSTORE/ZINTERSTORE and SORT. * [FIX] Better failover timeout and retry times: failover should now work reliabily when node-timeout is very small (a few milliseconds). * [FIX] Don't allow SORT GET/BY options in Cluster mode. * [FIX] Clear importing/migrating state when turning from master to slave role. * [FIX] Set slot error if we receive an update for a busy slot. * [FIX] Update node configEpoch on UPDATE messages. * [NEW] Support multi-key operations as long as keys resolve to the same hash slot, and the slot is not migrating, or it is migrating but all the mentioned keys are available. * [NEW] New DEBUG command CMDKEYS available to debug / test keys identification in Redis commands. * [NEW] redis-trib: create subcommand is now able to assign spare slaves. * [NEW] redis-trib: new subcommand 'call'. Exec command in all nodes. >> Sentinel * [FIX] Sentinel "IDONTKNOW" error removed as it does not made sense with the new Sentinel design. This error was actually a fix for a design error in the first implementation of Sentinel. * [FIX] Sentinel: added a missing exit() call to abort after config file checks at startup. This error was introduced with an improvement in a previous 2.8 release. * [FIX] Sentinel: better nodes fail over start time desynchronization to avoid split-brain during the voting process needed to get authorization to fail over. This means the system is less likely to need to retry and will fail over faster. No changes in behavior / correctness. * [NEW] Sentinel unit tests and framework. More tests needed and units must be improved in order to have less false positives, but it is a start and features a debugging console that is useful to fix tests or to inspect bugs causing tests failures. * [NEW] New Sentinel events: +/-monitor and +set used to monitor when an instance to monitor is added or removed, or when a configuration is modified via SENTINEL SET. Modified: head/databases/redis-devel/Makefile head/databases/redis-devel/distinfo head/databases/redis-devel/pkg-plist Modified: head/databases/redis-devel/Makefile ============================================================================== --- head/databases/redis-devel/Makefile Sun Mar 23 16:42:51 2014 (r348869) +++ head/databases/redis-devel/Makefile Sun Mar 23 16:51:10 2014 (r348870) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= redis -DISTVERSION= 3.0.0-beta1 +DISTVERSION= 3.0.0-beta2 CATEGORIES= databases MASTER_SITES= https://github.com/antirez/redis/archive/ PKGNAMESUFFIX= -devel Modified: head/databases/redis-devel/distinfo ============================================================================== --- head/databases/redis-devel/distinfo Sun Mar 23 16:42:51 2014 (r348869) +++ head/databases/redis-devel/distinfo Sun Mar 23 16:51:10 2014 (r348870) @@ -1,2 +1,2 @@ -SHA256 (redis/3.0.0-beta1.tar.gz) = 72a3d96f44321772d74efffa255eab0aae8d1a5ebf6330b2abf02346347519a2 -SIZE (redis/3.0.0-beta1.tar.gz) = 1115988 +SHA256 (redis/3.0.0-beta2.tar.gz) = 5540bd49ad66639c4e80cb21c3c8a00004cba5fb15be897bb81d88b809b88bf3 +SIZE (redis/3.0.0-beta2.tar.gz) = 1134097 Modified: head/databases/redis-devel/pkg-plist ============================================================================== --- head/databases/redis-devel/pkg-plist Sun Mar 23 16:42:51 2014 (r348869) +++ head/databases/redis-devel/pkg-plist Sun Mar 23 16:51:10 2014 (r348870) @@ -4,10 +4,10 @@ bin/redis-check-dump bin/redis-cli bin/redis-sentinel bin/redis-server -@unexec (cmp -s %D/etc/redis.conf %D/etc/redis.conf.sample && rm -f %D/etc/redis.conf) || true +@unexec if cmp -s %D/etc/redis.conf %D/etc/redis.conf.sample; then rm -f %D/etc/redis.conf; fi etc/redis.conf.sample @exec [ -f %B/redis.conf ] || cp %B/%f %B/redis.conf -@unexec (cmp -s %D/etc/sentinel.conf %D/etc/sentinel.conf.sample && rm -f %D/etc/sentinel.conf) || true +@unexec if cmp -s %D/etc/sentinel.conf %D/etc/sentinel.conf.sample; then rm -f %D/etc/sentinel.conf; fi etc/sentinel.conf.sample @exec [ -f %B/sentinel.conf ] || cp %B/%f %B/sentinel.conf @exec [ -d %%REDIS_DBDIR%% ] || mkdir -p %%REDIS_DBDIR%%