]> git.saurik.com Git - redis.git/blame - 00-RELEASENOTES
mark fd as writable when EPOLLERR or EPOLLHUP is returned by epoll_wait.
[redis.git] / 00-RELEASENOTES
CommitLineData
c2513ecb 1Redis 2.6 release notes
69396249 2=======================
c2513ecb 3
69396249 4** IMPORTANT ** Check the 'Migrating from 2.4 to 2.6' section at the end of
5 this file for information about what changed between 2.4 and
6 2.6 and how this may affect your application.
c2513ecb 7
1a3e9d95 8--------------------------------------------------------------------------------
9Upgrade urgency levels:
10
11LOW: No need to upgrade unless there are new features you want to use.
12MODERATE: Program an upgrade of the server, but it's not urgent.
13HIGH: There is a critical bug that may affect some part of users. Upgrade!
14CRITICAL: There is a critical bug affecting MOST USERS. Upgrade ASAP.
15--------------------------------------------------------------------------------
16
0c9cf452 17---[ Redis 2.5.11 (2.6 Release Candidate 5) ]
18
19UPGRADE URGENCY: HIGH.
20
21* [BUGFIX] Fixed Hash corruption when loading an RDB file generated by
22 previous versions of Redis that encoded hashes using
23 a different ziplist encoding format for small integers.
24 All the fileds that are integers in the range 0-255 may not
25 be recognized, or duplicated un updates, causing a crash
26 when the ziplist is converted to a real hash. (Issue #547).
27* [BUGFIX] Fixed the count of memory used by output buffers in the
28 setDeferredMultiBulkLength() function.
29
1a3e9d95 30---[ Redis 2.5.10 (2.6 Release Candidate 4) ]
31
32UPGRADE URGENCY: HIGH.
33
34* [BUGFIX] Allow PREFIX to be overwritten on "make install".
35* [BUGFIX] Run the test with just one client if the computer is slow.
36* [BUGFIX] Event port support in our event driven libray.
37* [BUGFIX] Jemalloc updated to 3.0.0. This fixes a possibly AOF rewrite issue.
38 See https://github.com/antirez/redis/issues/504 for info.
39* [BUGFIX] Fixed issue #516: ZINTERSTORE / ZUNIONSTORE with mixed sets/zsets.
40* [BUGFIX] Set fd to writable when poll(2) detects POLLERR or POLLHUP event.
41* [BUGFIX] Fixed RESTORE hash failure (Issue #532).
42* [IMPROVED] Allow an AOF rewrite buffer > 2GB (Related to issue #504).
43* [IMPROVED] Server cron function frequency is now configurable (REDIS_HZ).
44* [IMPROVED] Better, less blocking expired keys collection algorithm.
45* [FEATURE] New commands: BITOP and BITCOUNT.
46* [FEATURE] redis-cli --pipe for mass import.
47
184b8e78 48What's new in Redis 2.5.9 (aka 2.6 Release Candidate 3)
49=======================================================
50
51UPGRADE URGENCY: critical, upgrade ASAP.
52
53* [BUGFIX] Fix for issue #500 (https://github.com/antirez/redis/pull/500).
54 Redis 2.6-RC1 and RC2 may corrupt ziplist-encoded sorted sets
55 produced by Redis 2.4.x.
af2455be 56* [BUGFIX] Fixed several bugs in init.d script.
57* [BUGFIX] syncio.c functions modified for speed and correctness. On osx
58 (and possibly other BSD-based systems) the slave would block on
59 replication to send the SYNC command when the master was not
60 available. This is fixed now, but was not affecting Linux installs.
8afa5b70 61* Now when slave-serve-stale-data is set to yes and the master is down, instead
af2455be 62 of reporting a generic error Redis replies with -MASTERDOWN.
184b8e78 63
0f077815 64What's new in Redis 2.5.8 (aka 2.6 Release Candidate 2)
65=======================================================
66
67UPGRADE URGENCY: high for all the users of the KEYS command, otherwise low.
68
69* [BUGFIX] Fix for KEYS command: if the DB contains keys with expires the KEYS
70 command may return the wrong output, having duplicated or missing
71 keys. See issue #487 and #488 on github for details.
72
7c5d96d9 73What's new in Redis 2.5.7 (aka 2.6 Release Candidate 1)
74=======================================================
75
76UPGRADE URGENCY: upgrade not recommended because this is an RC release.
77
78* This is the first release candidate for Redis 2.6. We are not aware of
79 bugs, but part of this code is young and was never tested in production
80 environments, so handle with care.
c2513ecb 81
7c5d96d9 82An overview of new features and changes in Redis 2.6.x
83======================================================
c2513ecb 84
85* Server side Lua scripting, see http://redis.io/commands/eval
86* Virtual Memory removed (was deprecated in 2.4)
87* Hardcoded limits about max number of clients removed.
88* AOF low level semantics is generally more sane, and especially when used
89 in slaves.
90* Milliseconds resolution expires, also added new commands with milliseconds
91 precision (PEXPIRE, PTTL, ...).
748f206e 92* Better memory usage for "small" lists, ziplists and hashes when fields or
93 values contain small integers.
b330de57 94* Read only slaves.
9a8d51ad 95* New bit opeations: BITCOUNT and BITOP commands.
518e7202 96* Clients max output buffer soft and hard limits. You can specifiy different
c2513ecb 97 limits for different classes of clients (normal,pubsub,slave).
9a8d51ad 98* More incremental (less blocking) expired keys collection algorithm, in
99 practical terms this means that Redis is more responsive when a very
100 big number of keys expire about at the same time.
c2513ecb 101* AOF is now able to rewrite aggregate data types using variadic commands,
102 often producing an AOF that is faster to save, load, and is smaller in size.
103* Every redis.conf directive is now accepted as a command line option for the
104 redis-server binary, with the same name and number of arguments.
105* Hash table seed randomization for protection against collisions attacks.
106* Performances improved when writing large objects to Redis.
748f206e 107* Integrated memory test, see redis-server --test-memory.
108* INCRBYFLOAT and HINCRBYFLOAT commands.
109* New DUMP, RESTORE, MIGRATE commands (back ported from Redis Cluster to 2.6).
110* CRC64 checksump in RDB files.
111* Better MONITOR output and behavior (now commands are logged before execution).
112* "Software Watchdog" feature to debug latency issues.
c2513ecb 113* Significant parts of the core refactored or rewritten. New internal APIs
114 and core changes allowed to develop Redis Cluster on top of the new code,
115 however for 2.6 all the cluster code was removed, and will be released with
116 Redis 3.0 when it is more complete and stable.
117* Redis ASCII art logo added at startup.
118* Crash report on memory violation or failed asserts improved significantly
119 to make debugging of hard to catch bugs simpler.
120* redis-benchmark improvements: ability to run selected tests,
121 CSV output, faster, better help.
122* redis-cli improvements: --eval for comfortable development of Lua scripts.
123* SHUTDOWN now supports two optional arguments: "SAVE" and "NOSAVE".
124* INFO output split into sections, the command is now able to just show
125 pecific sections.
126* New statistics about how many time a command was called, and how much
127 execution time it used (INFO commandstats).
128* More predictable SORT behavior in edge cases.
748f206e 129* Better support for big endian and *BSD systems.
130* Build system improved.
c2513ecb 131
69396249 132Migrating from 2.4 to 2.6
133=========================
134
135Redis 2.4 is mostly a strict subset of 2.6. However there are a few things
136that you should be aware of:
137
138* You can't use .rdb and AOF files generated with 2.6 into a 2.4 instance.
139* 2.4 slaves can be attached to 2.6 masters, but not the contrary, and only
140 for the time needed to perform the version upgrade.
141
142There are also a few API differences, that are unlikely to cause problems,
143but it is better to keep them in mind:
144
145* SORT now will refuse to sort in numerical mode elements that can't be parsed
146 as numbers.
147* EXPIREs now all have millisecond resolution (but this is very unlikely to
148 break code that was not conceived exploting the previous resolution error
149 in some way.)
150* INFO output is a bit different now, and contains empty lines and comments
151 starting with '#'. All the major clients should be already fixed to work
152 with the new INFO format.
153* Slaves are only read-only by default (but you can change this easily
154 setting the "slave-read-only" configuration option to "no" editing your
155 redis.conf or using CONFIG SET.
156
157The following INFO fields were renamed for consistency:
158
159 changes_since_last_save -> rdb_changes_since_last_save
160 bgsave_in_progress -> rdb_bgsave_in_progress
161 last_save_time -> rdb_last_save_time
162 last_bgsave_status -> rdb_last_bgsave_status
163 bgrewriteaof_in_progress -> aof_rewrite_in_progress
164 bgrewriteaof_scheduled -> aof_rewrite_scheduled
165
166The following redis.conf and CONFIG GET / SET parameters changed:
167
168 * hash-max-zipmap-entries, now replaced by hash-max-ziplist-entries
169 * hash-max-zipmap-value, now replaced by hash-max-ziplist-value
170 * glueoutputbuf option was now completely removed (was deprecated)
171
c2513ecb 172--------------------------------------------------------------------------------
173
174Credits: Where not specified the implementation and design are done by
175Salvatore Sanfilippo and Pieter Noordhuis. Thanks to VMware for making all
176this possible. Also many thanks to all the other contributors and the amazing
177community we have.
178
179See commit messages for more credits.
180
181Cheers,
182Salvatore