Fixes to 2.6 release notes file

This commit is contained in:
antirez 2012-02-07 15:08:38 +01:00
parent e2ca4d43e8
commit e91e56ebeb

View File

@ -3,18 +3,15 @@ Redis 2.6 release notes
Migrating from 2.4 to 2.6 Migrating from 2.4 to 2.6
========================= =========================
Redis 2.4 is mostly a strict subset of 2.6. Redis 2.4 is mostly a strict subset of 2.6. However there are a few things
The only thing you should be aware is that you can't use .rdb and AOF files that you should be aware of:
generated with 2.4 into a 2.2 instance.
2.4 slaves can be attached to 2.2 masters, but not the contrary, and only for * You can't use .rdb and AOF files generated with 2.6 into a 2.4 instance.
the time needed to perform the version upgrade. * 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 There are also a few API differences, that are unlikely to cause problems,
(other commands now accepts a variable number of arguments) so you don't need but it is better to keep them in mind:
to modify your program in order to use Redis 2.4.
However there are a few semantical differences that you should be aware of:
* SORT now will refuse to sort in numerical mode elements that can't be parsed * SORT now will refuse to sort in numerical mode elements that can't be parsed
as numbers. as numbers.
@ -22,7 +19,8 @@ However there are a few semantical differences that you should be aware of:
break code that was not conceived exploting the previous resolution error break code that was not conceived exploting the previous resolution error
in some way.) in some way.)
* INFO output is a bit different now, and contains empty lines and comments * 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 CHANGELOG