------------------------------------------------------------------- Sat Dec 6 02:20:25 UTC 2014 - mrueckert@suse.de - update to 2.8.18 * [FIX] Linenoise updated to be more VT100 compatible. (Salvatore Sanfilippo) * [FIX] A number of typos fixed inside comments. (Various authors) * [FIX] redis-cli no longer quits after long timeouts. (Matt Stancliff) * [FIX] Test framework improved to detect never terminating scripts, cleanup instances on crashes. (Salvatore Sanfilippo) * [FIX] PFCOUNT can be used on slaves now. (Salvatore Sanfilippo) * [FIX] ZSCAN no longer report very small scores as 0. (Matt Stancliff, Michael Grunder, Salvatore Sanfilippo) * [FIX] Don't show the ASCII logo if syslog is enabled. Redis is now an Enterprise Grade product. (Salvatore Sanfilippo) * [NEW] EXPERIMENTAL: Diskless replication, for more info check the doc at http://redis.io/topics/replication. (Salvatore Sanfilippo). * [NEW] Transparent Huge Pages detection and reporting in logs and LATENCY DOCTOR output. (Salvatore Sanfilippo) * [NEW] Many Lua scripting enhancements: Bitops API, cjson upgrade and tests, cmsgpack upgrade. (Matt Stancliff) * [NEW] Total and instantaneous Network bandwidth tracking in INFO. * [NEW] DEBUG POPULATE two args form implemented (old form still works). The second argument is the key prefix. Default is "key:" (Salvatore Sanfilippo) * [NEW] Check that tcp-backlog is matched by /proc/sys/net/core/somaxconn, and warn about it if not. (Salvatore Sanfilippo) for the rest see /usr/share/doc/packages/redis/00-RELEASENOTES ------------------------------------------------------------------- Sun Nov 09 23:34:00 UTC 2014 - Led - fix bashisms in pre script ------------------------------------------------------------------- Mon Jul 28 09:10:30 UTC 2014 - mrueckert@suse.de - remove unused skip-aof-test.patch ------------------------------------------------------------------- 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 - update to 2.8.6 Redis 2.6 is mostly a strict subset of 2.8. However there are a few things that you should be aware of: The following commands changed behavior: * SORT with ALPHA now sorts according to local collation locale if no STORE option is used. * ZADD/ZINCRBY are now able to accept a bigger range of values as valid scores, that is, all the values you may end having as a result of calling ZINCRBY multiple times. * Many errors are now prefixed by a more specific error code instead of the generic -ERR, for example -WRONGTYPE, -NOAUTH, ... * PUBLISH called inside Lua scripts is now correctly propagated to slaves. The following redis.conf and CONFIG GET / SET parameters changed: * logfile now uses the empty string in order to log to standard output, so 'logfile stdout' is now invalid, use 'logfile ""' instead. The following INFO fields changed format in a non-backward compatible way: * The list of slaves in INFO is now in field=value format. Replication: Redis 2.8 can be used as slave for Redis 2.6, but doing this is only a good idea for the short amount of time needed to upgrade your servers. We suggest to update both master and slaves at about the same time. For all the details see /usr/share/doc/packages/redis/00-RELEASENOTES - updated redis-conf.patch to apply cleanly again ------------------------------------------------------------------- Thu Aug 8 12:50:55 UTC 2013 - mrueckert@suse.de - drop skip-aof-test.patch ------------------------------------------------------------------- Thu Aug 8 02:07:54 UTC 2013 - mrueckert@suse.de - disable skip-aof-test.patch for now: it seems adding procps to the buildrequires also fixed that test. ------------------------------------------------------------------- Wed Aug 7 14:37:30 UTC 2013 - mrueckert@suse.de - build require procps to get "ps" which is needed for the cleanup of the redis processes launched by the testsuite. ------------------------------------------------------------------- Wed Aug 7 14:31:17 UTC 2013 - mrueckert@suse.de - update to 2.6.14 UPGRADE URGENCY: HIGH because of the following two issues: * Lua scripting + Replication + AOF in slaves problem (see Issue #1164). * AOF + expires possible race condition (see Issue #1079). * [FIX] AOF bug: expire could be removed from key on AOF rewrite. * [FIX] Allow writes from scripts called by AOF loading in read-only slaves. * [FIX] Sentinel: parse new verison of INFO replication output correctly. * [NEW] Reset masterauth if an empty string is configured. For the changes from 2.6.10-2.6.13 see /usr/share/doc/packages/redis/00-RELEASENOTES - refreshed patches: - redis-conf.patch: - redis-enable-bactrace-on-x86-and-ia64-only.patch: just to get rid of fuzz - skip-aof-test.patch: can not comment in the array like that. rather remove the line. ------------------------------------------------------------------- Thu Jul 4 16:10:47 UTC 2013 - dvaleev@suse.com - enable backtrace for x86 and ia64 only redis-enable-bactrace-on-x86-and-ia64-only.patch ------------------------------------------------------------------- Mon Jun 24 14:15:49 UTC 2013 - vjt@openssl.it - Make the logrotate script setuid/setgid to the redis user/group ------------------------------------------------------------------- Tue Jan 22 10:47:17 UTC 2013 - mrueckert@suse.de - update to 2.6.9 (bnc#798455) Too many changes to list them here, please refer to /usr/share/doc/packages/redis/00-RELEASENOTES - refreshed patches: redis-conf.patch skip-aof-test.patch - dropped patches: redis-endian.patch redis-2.4.15-linenoise-cflags.patch ------------------------------------------------------------------- Tue Nov 20 07:40:52 UTC 2012 - dimstar@opensuse.org - Fix useradd invocation: -o is useless without -u and newer versions of pwdutils/shadowutils fail on this now. ------------------------------------------------------------------- Thu Nov 8 16:12:21 UTC 2012 - vjt@openssl.it - Implement a multi-instance setup * Allow for multiple configuration files of named instances under /etc/redis * Each instance has its own data directory under /var/lib/redis/$INSTANCE * Each instance has its own PID file under /var/run/redis/$INSTANCE.pid * Each instance has its own log files under /var/log/redis/$INSTANCE.log * Instances may be started or stopped individually passing a second argument to the init script * Do not create an active default.conf, rather use an .example suffix ------------------------------------------------------------------- Mon Jul 23 18:11:50 UTC 2012 - mrueckert@suse.de - update to 2.4.15 too many changes see /usr/share/doc/packages/redis/00-RELEASENOTES - added redis-2.4.15-linenoise-cflags.patch make sure we build the dependency with cflags - refreshed redis-endian.patch ------------------------------------------------------------------- Fri Mar 23 13:35:46 UTC 2012 - dvaleev@suse.com - fix ppc and ppc64 build. disable tests for powerpc for now ------------------------------------------------------------------- Thu Nov 24 09:56:41 UTC 2011 - saschpe@suse.de - Correct the 'how to get it running' comment in %post ------------------------------------------------------------------- Thu Nov 24 09:48:13 UTC 2011 - saschpe@suse.de - Don't use runlevel 4 in init script - Compile with RPM_OPT_FLAGS (PROG env var didn't cut it) - Remove outdated %clean section, bogus doc package (there are none) and netcat runtime dependency (for init script?) - Set license to SDPX style ------------------------------------------------------------------- Mon Oct 24 10:48:19 UTC 2011 - asn@cryptomilk.org - Updated to 2.4.1. - Fixed init script. ------------------------------------------------------------------- Tue May 24 09:39:19 UTC 2011 - prusnak@opensuse.org - updated to 2.2.7 * Fixed bug #543-2 (the issue was reopened with a completely different report) that caused Redis to randomly crash on list push performed against lists with other clients blocked with BLPOP (or variants). (changes from 2.2.6) * Fixed bug #543. If you saw Redis instances crashing on List operations (only happening with a non-default max entry size ziplist setting in redis.conf) it was almost certainly this problem. * Fixed a bug with replication where SLAVEOF NO ONE caused a slave to close the connection with all its slaves. (changes from 2.2.5) * Fixed a crash occurring when loading an AOF containing the SPOP command. ------------------------------------------------------------------- Fri Apr 15 18:18:56 UTC 2011 - mrueckert@suse.de - update to 2.2.4 * Return value of OBJECT DEBUG against sorted sets fixed, now is "skiplist". - additional changes from 2.2.3 * Fixed issue #503. MONITOR + QUIT (and other combinations) could crash the server. * OBJECT command implemented. See http://redis.io/commands/object * Fixed a problem in redis-cli related to escapes in the form "\x..". * Fixed a minor memory leak in redis-cli * Saved RDB on SIGTERM on archs where it was not working properly. - additional changes from 2.2.2 * AOF file descriptor leak after the first rewrite fixed. * Return value of GETRANGE / SUBSTR is now an empty string if the interval specified is not valid, or the key does not exist. Was a null bulk reply before, but this is against the Redis way. - fix the path to the log file in the conf patch to match the rest of the package - created log dir - changed home dir of the redis user from /var/run/redis to /var/lib/redis. the old home dir wasnt created anyway. ------------------------------------------------------------------- Wed Feb 23 18:10:17 UTC 2011 - jw@novell.com - updated to 2.2.1 ------------------------------------------------------------------- Mon Feb 21 01:02:57 UTC 2011 - jw@novell.com - collecting stuff from Virtualization:Cloud:OpenStack, home:jfding:nosql, home:qik ------------------------------------------------------------------- Thu Jan 27 16:18:42 UTC 2011 - seife+obs@b1-systems.com - package log directory to fix server start ------------------------------------------------------------------- Tue Jan 18 21:08:35 UTC 2011 - asn@cryptomilk.org - Added logging to /var/log/redis/redis.log. - Added log rotation. ------------------------------------------------------------------- Thu Jan 13 10:34:35 UTC 2011 - jfding@gmail.com - Upgrade to latest stable 2.0.4 ------------------------------------------------------------------- Mon Jan 10 16:29:31 CET 2011 - asn@cryptomilk.org - Fixed creation of the pid file. ------------------------------------------------------------------- Sun Jan 9 23:28:39 CET 2011 - asn@cynapses.org - bind only to localhost - reduce the logging level for production - silence the init script a bit ------------------------------------------------------------------- Mon May 17 14:26:18 UTC 2010 - mrueckert@suse.de - dont run as root ------------------------------------------------------------------- Mon May 17 14:10:31 UTC 2010 - mrueckert@suse.de - update to version 1.2.6 fixes two critical replication bugs, and a few improvements. - Fixed Issue 207 (http://code.google.com/p/redis/issues/detail?id=207) (broken replication with binary arguments not in the last position with the MSET command or any other command issued with new multi-bulk protocol) - Fixed Issue 174 (http://code.google.com/p/redis/issues/detail?id=174) (temp names collisions producing broken slave-side .rdb files) - Redis-cli backported from Redis master, with interactive mode, line editing via the linenoise library, auth ability, and much more. - ZRANGEBYSCORE now supports WITHSCORES as well (backported from master) - A simplified version of redis-stat (from redis tools) added. - update to version 1.2.5 fixes a replication bug: multiple slaves connecting to the same master could lead to random crashes or corruptions. - use PROF parameter to pass in optflags ------------------------------------------------------------------- Sun Mar 7 17:21:53 UTC 2010 - prusnak@suse.cz - updated to 1.2.4 - install config file, more fixes to initscript ------------------------------------------------------------------- Fri Mar 5 06:12:24 EST 2010 - pzb@suse.de - Add BuildRoot to spec file to enable builds on old distros - Patch initscript to use netcat instead of nc i (same command, different package) - Update to Redis 1.2.3 - The example init script was broken for a typo. Fixed. - Support for large files in 32 bit targets, very important when saving very large databases or when using the Append Only File (when Redis was compiled for 64 bit target there was no problem). - Now 'make 32bit' uses -m32 instead of Apple-specific -arch - Stack trace fixed for some Linux targets ------------------------------------------------------------------- Thu Jan 21 16:32:45 UTC 2010 - prusnak@suse.cz - created package