Skip to content

Commit

Permalink
Fixes to 2.6 release notes file
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Feb 7, 2012
1 parent c2513ec commit 01e9570
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions 00-RELEASENOTES
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,24 @@ Redis 2.6 release notes
Migrating from 2.4 to 2.6
=========================

Redis 2.4 is mostly a strict subset of 2.6.
The only thing you should be aware is that you can't use .rdb and AOF files
generated with 2.4 into a 2.2 instance.
Redis 2.4 is mostly a strict subset of 2.6. However there are a few things
that you should be aware of:

2.4 slaves can be attached to 2.2 masters, but not the contrary, and only for
the time needed to perform the version upgrade.
* 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.

From the point of view of the API Redis 2.4 only adds new commands
(other commands now accepts a variable number of arguments) so you don't need
to modify your program in order to use Redis 2.4.

However there are a few semantical differences that you should be aware of:
There are also a few API differences, that are unlikely to cause problems,
but it is better to keep them in mind:

* 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
starting with '#'.
starting with '#'. All the major clients should be already fixed to work
with the new INFO format.

---------
CHANGELOG
Expand Down

0 comments on commit 01e9570

Please sign in to comment.