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