From 4c61f2d6d2f14584287e52c1dfb2ce82adfb337f376ec7571467625f5a4760c8 Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Fri, 25 Jul 2014 15:14:08 +0000 Subject: [PATCH] - update to 2.8.13 OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=51 --- redis-2.8.13.tar.gz | 3 + redis-2.8.6.tar.gz | 3 - redis.changes | 184 ++++++++++++++++++++++++++++++++++++++++++++ redis.spec | 4 +- 4 files changed, 189 insertions(+), 5 deletions(-) create mode 100644 redis-2.8.13.tar.gz delete mode 100644 redis-2.8.6.tar.gz diff --git a/redis-2.8.13.tar.gz b/redis-2.8.13.tar.gz new file mode 100644 index 0000000..de78ed6 --- /dev/null +++ b/redis-2.8.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b87bc83d13b9bf1f20d41a0efd06eda78b80002e013566d8b69c332e0cbccb08 +size 1227538 diff --git a/redis-2.8.6.tar.gz b/redis-2.8.6.tar.gz deleted file mode 100644 index 3356ba8..0000000 --- a/redis-2.8.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:efd0c9cb8d2696db44d8cb8309fed96607f68b93bb126615e64bff364e716658 -size 1052017 diff --git a/redis.changes b/redis.changes index 91166ab..16888ec 100644 --- a/redis.changes +++ b/redis.changes @@ -1,3 +1,187 @@ +------------------------------------------------------------------- +Fri Jul 25 14:58:33 UTC 2014 - mrueckert@suse.de + +- update to 2.8.13 + * [FIX] CLIENT KILL minor backward compatibility fixes. + (Salvatore Sanfilippo) + * [FIX] Enable HAVE_ATOMIC for PowerPC. (Matt Stancliff) + * [FIX] More robust PSYNC and AOF rewrites tests. + (Salvatore Sanfilippo) + * [FIX] Solaris build fixed. + (Matt Stancliff, Salvatore Sanfilippo) + * [NEW] The new latency monitoring feature, as documented at + http://redis.io/topics/latency-monitor + (Salvatore Sanfilippo) + * [NEW] The COMMAND command, exposing the Redis command table + as an API. (Matt Stancliff) + * [NEW] Update used memory with C11 __atomic. (Matt Stancliff) +- additional changes from 2.8.12 + * [FIX / BREAKS BACKWARD COMPATIBILITY] Using SELECT inside Lua + scripts no longer makes the selected DB to be set in the + calling client. So Lua can still use SELECT, but the client + calling the script will remain set to the original DB. Thix + fixes an issue with Redis replication of Lua scripts that + called SELECT without reverting the selected DB to the original + one. (Salvatore Sanfilippo) + * [FIX] Sentinel failover was instalbe if the master was detected + as available during the failover (especially during manual + failovers) because of an implementation error (lack of checking + of SRI_PROMOTED flag). (Salvatore Sanfilippo) + * [FIX] Cancel SHUTDOWN if initial AOF is being written. + (Matt Stancliff) + * [FIX] Sentinel: bind source address for outcoming connections. + (Matt Stancliff). + * [FIX] Less timing sensitive Sentinel tests. + (Salvatore Sanfilippo). + * [NEW] redis-cli --intrinsic-latency stopped with SIGINT still + reports stats (Matt Stancliff) + * [NEW] Sentinels broadcast an HELLO message ASAP after a + failover in order to reach a consistent state faster (before it + relied for periodic HELLO messages). (Salvatore Sanfilippo). + * [NEW] Jemalloc updated to 3.6.0. (Salvatore Sanfilippo) + * [NEW] CLIENT LIST speedup. (Salvatore Sanfilippo) + * [NEW] CLIENT LIST new unique incremental ID to every client. + (Salvatore Sanfilippo) + * [NEW] ROLE command added. (Salvatore Sanfilippo) + * [NEW] CLIENT KILL new form to kill by client type and ID (see + doc at redis.io for more info). (Salvatore Sanfilippo) + * [NEW] Sentinel now disconnects clients when instances are + reconfigured (see http://redis.io/topics/sentinel-clients). + (Salvatore Sanfilippo) + * [NEW] Hiredis update to latest version. (Matt Stancliff) + +- additional changes from 2.8.11 + # UPGRADE URGENCY: HIGH if you use Lua scripting, LOW otherwise. + * [FIX] A previous fix for Lua -> Redis numerical precision + enhancement introduced a new problem. In Redis 2.8.10 commands + called from Lua passing a string that "looks like" a very large + number, may actually use as argument the string converted as a + float. This bug is now fixed. + * [FIX] Now commands other than *PUSH* adding elements to a list + will be able to awake clients blocked in a blocking POP + operation. + * [FIX] Cygwin compilation fixes. + +- additional changes from 2.8.10 + # UPGRADE URGENCY: HIGH if you use min-slaves-to-write option. + * [FIX] IMPORTANT! A min-slaves-to-write option active in a slave + totally prevented the slave from acception the master stream of + commands. This release includes testes for + min-slaves-to-write, and a fix for this issue. + * [FIX] Sometimes DEL returned 1 for already expired keys. Fixed. + * [FIX] Fix test false positive because new osx 'leaks' output. + * [FIX] PFCOUNT HLL cache invalidation fixed: no wrong value was + reported but the cache was not used at all, leading to lower + performances. + * [FIX] Accept(2) multiple clients per readable-event invocation, + and better processing of I/O while loading or busy running a + timedout script. Basically now the LOADING / BUSY errors are + reported at a decent speed. + * [FIX] A softwaer watchdog crash fixed. + * [FIX] Fixed a Lua -> Redis numerical precision loss. + * [NEW] Lua scripting engine speed improved. + * [NEW] Sentinel generates one new event for humans to understand + better what is happening during a failover: + +config-update-from. Also the time at which a failover will be + re-attempted is logged. +- additional changes from 2.8.9 + # UPGRADE URGENCY: LOW, only new features introduced, no bugs fixed. + * [NEW] The HyperLogLog data structure. You can read more about + it in this blog post. http://antirez.com/news/75 + * [NEW] The Sorted Set data type has now support for + lexicographic range queries, check the new commands + ZRANGEBYLEX, ZLEXCOUNT and ZREMRANGEBYLEX, which are documented + at http://redis.io. + +- additional changes from 2.8.8 + # UPGRADE URGENCY: HIGH for Redis, LOW for Sentinel. There is a + potentially critical bug fix causing data loss in Redis but it + requires a combination of disk full and the use of the SHUTDOWN + command. + * [FIX] Fixed data loss when SHUTDOWN was used with a disk full + condition. + * [FIX] Fixed a memory leak in the SORT syntax error processing. + * [FIX] When Sentinel down-after-milliseconds parameter is + modified at runtime now it gets propagated to all the slaves + and sentinel instances of the master. + * [FIX] `install_server.sh` script finally fixed. + * [FIX] Different fixes to maxclients handling. + * [NEW] Sentinels are now able to send update messages in a + peer-to-peer fashion even if no Redis instances are available. + Now the Sentinel liveness property that the most updated + configuration in a given partition is propagated to all the + Sentinels is extended to partitions without reachable + instances. + * [NEW] Sentinel safety properties are now ensured in a + crash-recovery system model since some state is persisted on + disk before replying to other nodes, and reloaded at startup. + * [NEW] Sentinel now uses CLIENT SETNAME so that it is easy to + identify Sentinels using CLIENT LIST among other clients. + * [NEW] Sentinel failure detection and reconnection code + improved. + * [NEW] Use all 24 bits (instead of 22) for the Redis objects LRU + field. Note that the new LRU algorithm using eviction pools + was not backported from unstable for safery / code maturity + concerns. + * [NEW] Majory speedup for the INFO command (it is now 6 times + faster). + * [NEW] More Sentinel unit tests. + * [NEW] New command DEBUG ERROR returns the specified error. + Example: DEBUG ERROR "LOADING database". This is handy to write + Redis client libraries unit tests. + * [NEW] redis-cli now supports multi-line editing via updated + linenoise lib. + Thanks to Matt Stancliff and Jan-Erik Rediger for the work done + in the context of this release. +- additional changes from 2.8.7 + # 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. + ------------------------------------------------------------------- Tue Mar 4 13:51:48 UTC 2014 - mrueckert@suse.de diff --git a/redis.spec b/redis.spec index 7d0ba92..839921f 100644 --- a/redis.spec +++ b/redis.spec @@ -21,13 +21,13 @@ %define _conf_dir %{_sysconfdir}/%{name} Name: redis -Version: 2.8.6 +Version: 2.8.13 Release: 0 Summary: Persistent key-value database License: BSD-3-Clause Group: Productivity/Databases/Servers Url: http://redis.io/ -Source: http://redis.googlecode.com/files/%{name}-%{version}.tar.gz +Source: http://download.redis.io/releases/redis-%{version}.tar.gz Source1: %{name}.logrotate Source4: redis.sysconfig # PATCH-FIX-OPENSUSE -- openSUSE-style init script