2013-07-18 11:26:53 +02:00
|
|
|
Redis 2.8 release notes
|
2012-05-25 12:24:20 +02:00
|
|
|
=======================
|
2012-02-05 11:08:01 +01:00
|
|
|
|
2013-07-18 11:26:53 +02:00
|
|
|
** IMPORTANT ** Check the 'Migrating from 2.6 to 2.8' section at the end of
|
2013-07-18 16:10:31 +02:00
|
|
|
this file for information about what changed between 2.6 and
|
|
|
|
2.8 and how this may affect your application.
|
2012-02-05 11:08:01 +01:00
|
|
|
|
2013-07-18 11:26:53 +02:00
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
Upgrade urgency levels:
|
|
|
|
|
|
|
|
LOW: No need to upgrade unless there are new features you want to use.
|
|
|
|
MODERATE: Program an upgrade of the server, but it's not urgent.
|
|
|
|
HIGH: There is a critical bug that may affect a subset of users. Upgrade!
|
|
|
|
CRITICAL: There is a critical bug affecting MOST USERS. Upgrade ASAP.
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
--[ Redis 2.8 Release Candidate 1 (2.7.101) ] Release date: 18 Jul 2013
|
|
|
|
|
|
|
|
This is the first release candidate of Redis 2.8 (official version is 2.7.101).
|
|
|
|
|
|
|
|
The following is a list of improvements in Redis 2.8, compared to Redis 2.6.
|
|
|
|
|
|
|
|
* [NEW] Slaves are now able to partially resynchronize with the master, so most
|
2013-07-18 12:23:47 +02:00
|
|
|
of the times a full resynchronization with the RDB creation in the master
|
2013-07-18 11:26:53 +02:00
|
|
|
side is not needed when the master-slave link is disconnected for a short
|
|
|
|
amount of time.
|
2013-07-18 12:23:47 +02:00
|
|
|
* [NEW] Experimental IPv6 support.
|
|
|
|
* [NEW] Slaves explicitly ping masters now, a master is able to detect a timed out
|
2013-07-18 11:26:53 +02:00
|
|
|
slave independently.
|
|
|
|
* [NEW] Masters can stop accepting writes if not enough slaves with a given
|
2013-07-18 12:23:47 +02:00
|
|
|
maximum latency are connected.
|
2013-07-18 11:26:53 +02:00
|
|
|
* [NEW] Keyspace changes notifications via Pub/Sub.
|
|
|
|
* [NEW] CONFIG SET maxclients is now available.
|
|
|
|
* [NEW] Ability to bind multiple IP addresses.
|
|
|
|
* [NEW] Set process names so that you can recognize, in the "ps" command output,
|
|
|
|
the listening port of an instance, or if it is a saving child.
|
|
|
|
* [NEW] Automatic memory check on crash.
|
|
|
|
* [NEW] CONFIG REWRITE is able to materialize the changes in the configuration
|
|
|
|
operated using CONFIG SET into the redis.conf file.
|
|
|
|
* [NEW] More NetBSD friendly code base.
|
|
|
|
* [NEW] PUBSUB command for Pub/Sub introspection capabilities.
|
|
|
|
* [NEW] EVALSHA can now be replicated as such, without requiring to be expanded
|
|
|
|
to a full EVAL for the replication link.
|
|
|
|
* [NEW] Better Lua scripts error reporting.
|
2013-07-18 12:23:47 +02:00
|
|
|
* [NEW] SDIFF performance improved.
|
2013-07-18 11:26:53 +02:00
|
|
|
* [FIX] A number of bugfixes.
|
|
|
|
|
|
|
|
Migrating from 2.6 to 2.8
|
|
|
|
=========================
|
|
|
|
|
|
|
|
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:
|
|
|
|
|
2013-07-18 12:23:47 +02:00
|
|
|
* SORT with ALPHA now sorts according to local collation locale if no STORE
|
2013-07-18 11:26:53 +02:00
|
|
|
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, ...
|
2013-07-18 12:23:47 +02:00
|
|
|
* PUBLISH called inside Lua scripts is now correctly propagated to slaves.
|
2013-07-18 11:26:53 +02:00
|
|
|
|
|
|
|
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
|
2013-07-18 12:23:47 +02:00
|
|
|
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.
|
2013-07-18 11:26:53 +02:00
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Credits: Where not specified the implementation and design is done by
|
|
|
|
Salvatore Sanfilippo. Thanks to VMware and Pivotal for making all
|
|
|
|
this possible. Also many thanks to all the other contributors and the amazing
|
|
|
|
community we have.
|
|
|
|
|
|
|
|
See commit messages for more credits.
|
|
|
|
|
|
|
|
Cheers,
|
|
|
|
Salvatore
|