summaryrefslogtreecommitdiff
path: root/databases/redis
diff options
context:
space:
mode:
authorfhajny <fhajny>2014-03-10 13:24:13 +0000
committerfhajny <fhajny>2014-03-10 13:24:13 +0000
commit95561cfdd3f3f3978c32e91bb1e97487326bdc5e (patch)
tree80b2cae9627cf05ff930e1f6dff4d8622d8bbfaf /databases/redis
parent4c71f3a606fa12cdc2c0864eef548871a7d5849c (diff)
downloadpkgsrc-95561cfdd3f3f3978c32e91bb1e97487326bdc5e.tar.gz
Update redis to 2.8.7.
--[ Redis 2.8.7 ] Release date: 5 Mar 2014 # UPGRADE URGENCY: LOW for Redis, LOW for Sentinel. However this release adds new features so users may want to upgrade in order to exploit the new functionalities. * [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] 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] 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] 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. * [FIX] Force INFO used_memory_peak to match peak memory. This generated some confusion among users even if it was not an actual bug. * [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. * [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. --[ Redis 2.8.6 ] Release date: 13 Feb 2014 # UPGRADE URGENCY: HIGH for Redis, LOW for Sentinel. Redis users using Lua scripts with EVALSHA and attached slaves and/or AOF persistence should consider upgrading ASAP. * [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] 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. --[ Redis 2.8.5 ] Release date: 4 Feb 2014 # UPGRADE URGENCY: HIGH for Redis, LOW for Sentinel. Redis users using Lua scripts with expires, and Redis users relying on the ability of Redis to block writes on RDB saving errors should plan to upgrade ASAP. * [FIX] Fixed a replication bug caused by Lua scripts + expired keys: keys could expire in the middle of scripts causing non-deterministic behavior. * [FIX] MISCONFIG error if condition fixed, the server was no longer able to stop writes on RDB misconfiguration after this error was introduced. * [FIX] REDIS_AOF_REWRITE_MIN_SIZE is now 64mb like example redis.conf default. * [FIX] Perform fflush() before fsync() in rio.c (bug without actual effects). * [FIX] Don't log MONITOR clients as disconnecting slaves. * [FIX] SENTINEL MASTER arity check fixed. Crashed the Sentinel instance when the command was given without arguments. * [NEW] Allow CONFIG and SHUTDOWN while in stale-slave state. * [NEW] Support for configurable TCP listen(2) backlog size. * [NEW] redis-cli supports SCAN via the --scan and --pattern options. * [NEW] SENTINEL SET master quorum via runtime API implemented. --[ Redis 2.8.4 ] Release date: 13 Jan 2014 # UPGRADE URGENCY: MODERATE for Redis and Sentinel. * [FIX] Makefile compatibility with non common make variants improved. * [FIX] SDIFF crash in very unlikely to trigger state fixed. * [FIX] Config rewriting fixed: don't wipe options unknown to the rewrite process. * [FIX] Set TCP port to 0 works again to disable TCP networking. * [FIX] Fixed replication with old Redis instances as masters by not sending REPLCONF ACK to them. * [FIX] Fix keyspace notifications rewrite and CONFIG GET output. * [FIX] Fix RESTORE TTL handling in 32 bit systems (32 bit overflow). * [NEW] Sentinel now has a run time configuration API. * [NEW] Log when we lost connection with master or slave. * [NEW] When instance is turned from slave to master now inherits the old master replication offset when possible. This improves the Sentinel failover procedure.
Diffstat (limited to 'databases/redis')
-rw-r--r--databases/redis/Makefile4
-rw-r--r--databases/redis/PLIST10
-rw-r--r--databases/redis/distinfo8
3 files changed, 15 insertions, 7 deletions
diff --git a/databases/redis/Makefile b/databases/redis/Makefile
index 2bf59712665..7805c197a1c 100644
--- a/databases/redis/Makefile
+++ b/databases/redis/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2014/01/02 17:26:19 fhajny Exp $
+# $NetBSD: Makefile,v 1.6 2014/03/10 13:24:13 fhajny Exp $
-DISTNAME= redis-2.8.3
+DISTNAME= redis-2.8.7
CATEGORIES= databases
MASTER_SITES= http://download.redis.io/releases/
diff --git a/databases/redis/PLIST b/databases/redis/PLIST
index e4ebd66e012..83c916ae739 100644
--- a/databases/redis/PLIST
+++ b/databases/redis/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2014/01/02 17:26:19 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.3 2014/03/10 13:24:13 fhajny Exp $
bin/redis-benchmark
bin/redis-check-aof
bin/redis-check-dump
@@ -25,6 +25,14 @@ share/examples/redis/tests/integration/replication-3.tcl
share/examples/redis/tests/integration/replication-4.tcl
share/examples/redis/tests/integration/replication-psync.tcl
share/examples/redis/tests/integration/replication.tcl
+share/examples/redis/tests/sentinel-tests/00-base.tcl
+share/examples/redis/tests/sentinel-tests/01-conf-update.tcl
+share/examples/redis/tests/sentinel-tests/02-slaves-reconf.tcl
+share/examples/redis/tests/sentinel-tests/03-runtime-reconf.tcl
+share/examples/redis/tests/sentinel-tests/04-slave-selection.tcl
+share/examples/redis/tests/sentinel-tests/includes/init-tests.tcl
+share/examples/redis/tests/sentinel-tmp/.gitignore
+share/examples/redis/tests/sentinel.tcl
share/examples/redis/tests/support/redis.tcl
share/examples/redis/tests/support/server.tcl
share/examples/redis/tests/support/test.tcl
diff --git a/databases/redis/distinfo b/databases/redis/distinfo
index 8b8cf5c6950..00ddbb1d4a8 100644
--- a/databases/redis/distinfo
+++ b/databases/redis/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.6 2014/01/02 17:26:19 fhajny Exp $
+$NetBSD: distinfo,v 1.7 2014/03/10 13:24:13 fhajny Exp $
-SHA1 (redis-2.8.3.tar.gz) = a751371eeed5f5f02965eb34d989c1963dd8d8c7
-RMD160 (redis-2.8.3.tar.gz) = d63d517602b88aeca210a377162e714b24bf6546
-Size (redis-2.8.3.tar.gz) = 1046106 bytes
+SHA1 (redis-2.8.7.tar.gz) = acc369093ec74223e6da207921595187f7e64998
+RMD160 (redis-2.8.7.tar.gz) = 1b04883149d61abb500376971839eeb7419b5b20
+Size (redis-2.8.7.tar.gz) = 1064262 bytes
SHA1 (patch-ab) = e8c66139433112ca88ba90acd39ed7e4d9c45b2c
SHA1 (patch-ac) = e15bbc17138a0527c910deac7962b91db90d7358
SHA1 (patch-deps_hiredis_fmacros.h) = 1bf148708b605ec51bb0f675d779394e32767dbd