2012-02-05 11:08:01 +01:00
|
|
|
Redis 2.6 release notes
|
|
|
|
|
|
|
|
Migrating from 2.4 to 2.6
|
|
|
|
=========================
|
|
|
|
|
2012-02-07 15:08:38 +01:00
|
|
|
Redis 2.4 is mostly a strict subset of 2.6. However there are a few things
|
|
|
|
that you should be aware of:
|
2012-02-05 11:08:01 +01:00
|
|
|
|
2012-02-07 15:08:38 +01:00
|
|
|
* You can't use .rdb and AOF files generated with 2.6 into a 2.4 instance.
|
|
|
|
* 2.4 slaves can be attached to 2.6 masters, but not the contrary, and only
|
|
|
|
for the time needed to perform the version upgrade.
|
2012-02-05 11:08:01 +01:00
|
|
|
|
2012-02-07 15:08:38 +01:00
|
|
|
There are also a few API differences, that are unlikely to cause problems,
|
|
|
|
but it is better to keep them in mind:
|
2012-02-05 11:08:01 +01:00
|
|
|
|
|
|
|
* SORT now will refuse to sort in numerical mode elements that can't be parsed
|
|
|
|
as numbers.
|
|
|
|
* EXPIREs now all have millisecond resolution (but this is very unlikely to
|
|
|
|
break code that was not conceived exploting the previous resolution error
|
|
|
|
in some way.)
|
|
|
|
* INFO output is a bit different now, and contains empty lines and comments
|
2012-02-07 15:08:38 +01:00
|
|
|
starting with '#'. All the major clients should be already fixed to work
|
|
|
|
with the new INFO format.
|
2012-05-02 16:35:53 +02:00
|
|
|
* Slaves are only read-only by default (but you can change this easily
|
|
|
|
setting the "slave-read-only" configuration option to "no" editing your
|
|
|
|
redis.conf or using CONFIG SET.
|
2012-02-05 11:08:01 +01:00
|
|
|
|
2012-03-10 10:38:53 +01:00
|
|
|
Also the following redis.conf and CONFIG GET / SET parameters changed name:
|
|
|
|
|
|
|
|
* hash-max-zipmap-entries, now replaced by hash-max-ziplist-entries
|
|
|
|
* hash-max-zipmap-value, now replaced by hash-max-ziplist-value
|
2012-04-27 17:04:03 +02:00
|
|
|
* glueoutputbuf option was now completely removed (was deprecated)
|
2012-03-10 10:38:53 +01:00
|
|
|
|
2012-02-05 11:08:01 +01:00
|
|
|
---------
|
|
|
|
CHANGELOG
|
|
|
|
---------
|
|
|
|
|
2012-05-06 10:11:54 +02:00
|
|
|
What's new in Redis 2.5.9 (aka 2.6 Release Candidate 3)
|
|
|
|
=======================================================
|
|
|
|
|
|
|
|
UPGRADE URGENCY: critical, upgrade ASAP.
|
|
|
|
|
|
|
|
* [BUGFIX] Fix for issue #500 (https://github.com/antirez/redis/pull/500).
|
|
|
|
Redis 2.6-RC1 and RC2 may corrupt ziplist-encoded sorted sets
|
|
|
|
produced by Redis 2.4.x.
|
2012-05-06 10:15:40 +02:00
|
|
|
* [BUGFIX] Fixed several bugs in init.d script.
|
|
|
|
* [BUGFIX] syncio.c functions modified for speed and correctness. On osx
|
|
|
|
(and possibly other BSD-based systems) the slave would block on
|
|
|
|
replication to send the SYNC command when the master was not
|
|
|
|
available. This is fixed now, but was not affecting Linux installs.
|
|
|
|
* Now when slave-serve-stake-data is set to yes and the master is down, instead
|
|
|
|
of reporting a generic error Redis replies with -MASTERDOWN.
|
2012-05-06 10:11:54 +02:00
|
|
|
|
2012-05-02 12:16:53 +02:00
|
|
|
What's new in Redis 2.5.8 (aka 2.6 Release Candidate 2)
|
|
|
|
=======================================================
|
|
|
|
|
|
|
|
UPGRADE URGENCY: high for all the users of the KEYS command, otherwise low.
|
|
|
|
|
|
|
|
* [BUGFIX] Fix for KEYS command: if the DB contains keys with expires the KEYS
|
|
|
|
command may return the wrong output, having duplicated or missing
|
|
|
|
keys. See issue #487 and #488 on github for details.
|
|
|
|
|
2012-04-27 16:40:07 +02:00
|
|
|
What's new in Redis 2.5.7 (aka 2.6 Release Candidate 1)
|
|
|
|
=======================================================
|
|
|
|
|
|
|
|
UPGRADE URGENCY: upgrade not recommended because this is an RC release.
|
|
|
|
|
|
|
|
* This is the first release candidate for Redis 2.6. We are not aware of
|
|
|
|
bugs, but part of this code is young and was never tested in production
|
|
|
|
environments, so handle with care.
|
2012-02-05 11:08:01 +01:00
|
|
|
|
2012-04-27 16:40:07 +02:00
|
|
|
An overview of new features and changes in Redis 2.6.x
|
|
|
|
======================================================
|
2012-02-05 11:08:01 +01:00
|
|
|
|
|
|
|
* Server side Lua scripting, see http://redis.io/commands/eval
|
|
|
|
* Virtual Memory removed (was deprecated in 2.4)
|
|
|
|
* Hardcoded limits about max number of clients removed.
|
|
|
|
* AOF low level semantics is generally more sane, and especially when used
|
|
|
|
in slaves.
|
|
|
|
* Milliseconds resolution expires, also added new commands with milliseconds
|
|
|
|
precision (PEXPIRE, PTTL, ...).
|
2012-04-27 16:07:42 +02:00
|
|
|
* Better memory usage for "small" lists, ziplists and hashes when fields or
|
|
|
|
values contain small integers.
|
2012-04-27 23:06:02 +02:00
|
|
|
* Read only slaves.
|
2012-03-19 22:10:18 +01:00
|
|
|
* Clients max output buffer soft and hard limits. You can specifiy different
|
2012-02-05 11:08:01 +01:00
|
|
|
limits for different classes of clients (normal,pubsub,slave).
|
|
|
|
* AOF is now able to rewrite aggregate data types using variadic commands,
|
|
|
|
often producing an AOF that is faster to save, load, and is smaller in size.
|
|
|
|
* Every redis.conf directive is now accepted as a command line option for the
|
|
|
|
redis-server binary, with the same name and number of arguments.
|
|
|
|
* Hash table seed randomization for protection against collisions attacks.
|
|
|
|
* Performances improved when writing large objects to Redis.
|
2012-04-27 16:07:42 +02:00
|
|
|
* Integrated memory test, see redis-server --test-memory.
|
|
|
|
* INCRBYFLOAT and HINCRBYFLOAT commands.
|
|
|
|
* New DUMP, RESTORE, MIGRATE commands (back ported from Redis Cluster to 2.6).
|
|
|
|
* CRC64 checksump in RDB files.
|
|
|
|
* Better MONITOR output and behavior (now commands are logged before execution).
|
|
|
|
* "Software Watchdog" feature to debug latency issues.
|
2012-02-05 11:08:01 +01:00
|
|
|
* Significant parts of the core refactored or rewritten. New internal APIs
|
|
|
|
and core changes allowed to develop Redis Cluster on top of the new code,
|
|
|
|
however for 2.6 all the cluster code was removed, and will be released with
|
|
|
|
Redis 3.0 when it is more complete and stable.
|
|
|
|
* Redis ASCII art logo added at startup.
|
|
|
|
* Crash report on memory violation or failed asserts improved significantly
|
|
|
|
to make debugging of hard to catch bugs simpler.
|
|
|
|
* redis-benchmark improvements: ability to run selected tests,
|
|
|
|
CSV output, faster, better help.
|
|
|
|
* redis-cli improvements: --eval for comfortable development of Lua scripts.
|
|
|
|
* SHUTDOWN now supports two optional arguments: "SAVE" and "NOSAVE".
|
|
|
|
* INFO output split into sections, the command is now able to just show
|
|
|
|
pecific sections.
|
|
|
|
* New statistics about how many time a command was called, and how much
|
|
|
|
execution time it used (INFO commandstats).
|
|
|
|
* More predictable SORT behavior in edge cases.
|
2012-04-27 16:07:42 +02:00
|
|
|
* Better support for big endian and *BSD systems.
|
|
|
|
* Build system improved.
|
2012-02-05 11:08:01 +01:00
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Credits: Where not specified the implementation and design are done by
|
|
|
|
Salvatore Sanfilippo and Pieter Noordhuis. Thanks to VMware 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
|