Categories
Redis

Redis 2.8.6

Redis 2.8.6 has been released on February 13th 2014, bringing the following changes (take a look at the Changelog) :

  • [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.

The upgrade urgency is high for Redis, low for Sentinel. Redis users using Lua scripts with EVALSHA and attached slaves and/or AOF persistence should consider upgrading ASAP.

The packages are now available for both Debian 7.0 “Wheezy” and Debian 6.0 “Squeeze” on both amd64 and i386 architectures.

Categories
Redis

Redis 2.8.5

Redis 2.8.5 has been released on February 4th 2014, bringing the following changes (take a look at the Changelog) :

  • [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.

The 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 a.s.a.p.

The packages are now available for both Debian 7.0 “Wheezy” and Debian 6.0 “Squeeze” on both amd64 and i386 architectures.

Categories
Redis

Redis 2.8.4

Redis 2.8.4 has been released on January 13th 2014, bringing the following changes (take a look at the Changelog) :

  • [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.

The upgrade urgency is moderate for Redis and Sentinel.

The packages are now available for both Debian 7.0 “Wheezy” and Debian 6.0 “Squeeze” on both amd64 and i386 architectures.

Categories
Redis

Redis 2.8.3

Redis 2.8.3 has been released, bringing the following changes (take a look at the Changelog) :

  • [FIX] Sentinel instance role sampling fixed, the system is now more reliable during failover and when reconfiguring instances with non matching configuration.
  • [FIX] Inline requests are now handled even when terminated with just LF.
  • [FIX] Replication timeout handling greatly improved, now the slave is able to ping the master while removing the old data from memory, and while loading the new RDB file. This avoid false timeouts sensed by masters.
  • [FIX] Fixed a replication bug involving 32 bit instances and big datasets hard to compress that resulted into more than 2GB of RDB file sent.
  • [FIX] Return error for inline requests with unbalanced quotes.
  • [FIX] Publish the slave replication offset even when disconnected from the master if there is still a cached master instance.

The upgrade urgency is moderate for Redis, high for Sentinel.

The packages are now available for both Debian 7.0 “Wheezy” and Debian 6.0 “Squeeze” on both amd64 and i386 architectures.

Categories
Redis

Redis 2.8.2

Redis 2.8.2 has been released and packaged for both Debian 7.0 “Wheezy” and Debian 6.0 “Squeeze” on both amd64 and i386 architectures. This is a major version that brings the following big changes :

  • Partial resynchronization with slaves. It is no longer needed to transfer all the data set from the master to the slave if the link is interrupted for a short time: http://antirez.com/news/47
  • SCAN / HSCAN / ZSCAN / SSCAN: http://antirez.com/news/63
  • CONFIG REWRITE: http://antirez.com/news/54
  • IPv6 support.
  • Scripting improvements (EVALSHA replication).
  • Better key expiring algorithm.
  • Keyspace events notification via Pub/Sub: http://redis.io/topics/notifications
  • Better consistency support with the ability to stop writes if there are not at least N slaves that are not lagged more than M milliseconds.
  • A number of additional small features and bugs fixed.

About Sentinel

Redis Sentinel was rewritten from scratch to be more reliable. Redis 2.8 contains the new implementation, and every patch release of 2.8 will include the updates. Basically Sentinel is as usually kept in sync between stable and unstable branches.

Redis Cluster

Redis 2.8 does not include Redis Cluster, that is part of the unstable branch. The goal is to release an RC1 of Redis Cluster at the end of this year, as a first release candidate of Redis 3.0.

Please note that Redis is now split in two packages : redis-server and redis-tools

Categories
Redis

Redis 2.6.16

Redis 2.6.16 has been released, bringing the following changes (take a look at the Changelog) :

  • [FIX] Stop writes when fork() fails when trying to BGSAVE. BGSAVE errors were trapped only in the case the saving child failed, so the fork() error was no trapped as no child is created at all.
  • [FIX] Fix a serious memory efficiency regression, Redis 2.6.16 is significantly better with large values (>= a few kbytes) and will be able to store two times the amount of data compared to Redis 2.6.15 when values are in that range.
  • [FIX] Fixed an issue with Table conversion in the lua-cmsgpack library exposed by the Redis scripting engine.
  • [NEW] DEBUG SDSLEN was introduced to debug memory inefficiencies due to SDS allocation more easily.

The upgrade urgency is moderate.

The packages are now available for both Debian 7.0 “Wheezy” and Debian 6.0 “Squeeze” on both amd64 and i386 architectures.

Categories
Redis

Redis 2.6.15

Redis 2.6.15 has been released, bringing the following changes (take a look at the Changelog) :

  • [FIX] Improved expired keys collection algorithm. Even under heavy load keys to be expired can’t accumulate because of lack of CPU time.
  • [FIX] Fixed Issue #1240, ZUNIONSTORE could lead to wrong result.
  • [NEW] redis-benchmark improvements.
  • [NEW] dict.c API wrong usage detection.

Be aware that redis-benchmark released with 2.6.15 features non backward compatible change in the way the random arguments are specified, use the --help option for more information.

The upgrade urgency is moderate : Upgrade ASAP only if you experience issues related to the expired keys collection algorithm, or if you use the ZUNIONSTORE command.

The packages are now available for both Debian 7.0 “Wheezy” and Debian 6.0 “Squeeze” on both amd64 and i386 architectures.

Categories
Redis

Redis 2.6.14, for Debian Wheezy and Squeeze

Redis 2.6.14 has been released, bringing the following changes (take a look at the Changelog) :

  • [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 version of INFO replication output correctly.
  • [NEW] Reset masterauth if an empty string is configured.

The upgrade urgency is 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).

The packages are now available for both Debian 7.0 “Wheezy” and Debian 6.0 “Squeeze” on both amd64 and i386 architectures.

Categories
Redis

Redis 2.6.13, for Debian Wheezy and Squeeze

Redis 2.6.13 has been released, bringing the following changes (take a look at the Changelog) :

  • [FIX] Throttle BGSAVE attempt on saving error.
  • [FIX] redis-cli: raise error on bad command line switch.
  • [FIX] Redis/Jemalloc Gitignore were too aggressive.
  • [FIX] Test: fix RDB test checking file permissions.
  • [FIX] Sentinel: always redirect on master->slave transition.
  • [FIX] Lua updated to version 5.1.5. Fixes rare scripting issues.
  • [NEW] AOF: improved latency figures with slow/busy disks.
  • [NEW] Sentinel: turn old master into a slave when it comes back.
  • [NEW] More explicit panic message on out of memory.
  • [NEW] redis-cli: --latency-history mode implemented.

The upgrade urgency is moderate, nothing very critical but upgrading is suggested if you experienced:

  1. Strange issues with Lua scripting.
  2. Not reconfigured reappearing master using Sentinel.
  3. Server continusly trying to save on save error.

This version of Redis may also help with AOF and slow / busy disks and latency issues.

The packages are now available for both Debian 7.0 “Wheezy” and Debian 6.0 “Squeeze” on both amd64 and i386 architectures.

Categories
Redis

Redis 2.6.12

Redis 2.6.12 has been released, bringing the following changes (take a look at the Changelog) :

  • [BUGFIX] redis-cli --bigkeys: don’t crash with empty DB.
  • [BUGFIX] stop-writes-on-bgsave-error now works in redis.conf
  • [BUGFIX] Don’t crash at startup if RDB is there but can’t be opened.
  • [BUGFIX] Initial value for master_link_down_since_seconds is now huge.
  • [BUGFIX] Allow SELECT while loading the DB.
  • [BUGFIX] Don’t replicate/AOF an empty MULTI/EXEC if the transaction is empty or containing just read-only commands.
  • [BUGFIX] EXPIRE should not be able to resurrect keys (see issue #1026).
  • [IMPROVED] Extended SET back ported from Redis 2.8 / unstable. See http://redis.io/commands/set for more information.
  • [IMPROVED] Test suite improved.

The upgrade urgency is moderate, nothing very critical but a few non trivial bugs.

The packages are now available for Debian 6.0 “Squeeze” on both amd64 and i386 architectures.