xref: /redis-3.2.3/00-RELEASENOTES (revision f5a7f4f2)
1Redis 3.2 release notes
2=======================
3
4--------------------------------------------------------------------------------
5Upgrade urgency levels:
6
7LOW:      No need to upgrade unless there are new features you want to use.
8MODERATE: Program an upgrade of the server, but it's not urgent.
9HIGH:     There is a critical bug that may affect a subset of users. Upgrade!
10CRITICAL: There is a critical bug affecting MOST USERS. Upgrade ASAP.
11--------------------------------------------------------------------------------
12
13
14================================================================================
15Redis 3.2.1     Released Fri Jun 17 15:01:56 CEST 2016
16================================================================================
17
18Upgrade urgency HIGH: Critical fix to Redis Sentinel, due to 3.2.0 regression
19                      compared to 3.0.
20
21Hey, this is Redis 3.2.1, and this release should bring some grain of
22maturity to Redis 3.2. The list of commits following this note will tell
23you the details, but the main things addressed in this release are the
24following:
25
261. A critical bug in Sentinel was hopefully fixed. During the big 3.2
27   refactoring of Redis Sentinel, in order to implement connection sharing
28   to make Sentinel able to scale better (few Sentinels to monitor many
29   masters), a bug was introduced that mis-counted the number of pending
30   commands in the Redis link. This in turn resulted into an inability to talk
31   with certain Redis instances. A common result of this bug was the inability
32   of Redis Sentinel to reconfigure back the old master, after a failover,
33   when it is reachable again, as the slave of the new master. This was due
34   to the inability to talk with the old master at all.
35
362. BITFIELD bugs fixed.
37
383. GEO commands fixes on syntax errors and edge cases.
39
404. RESTORE now accepts dumps generated by older Redis versions.
41
425. Jemalloc now is really configured to save you memory, for a problem a
43   change in the jemalloc configuration did not really survived when the
44   3.2.0 release was finalized.
45
466. TTL and TYPE command no longer alter the last access time of a key, for
47   LRU evictions purposes. A new TOUCH command was introduced *just* to
48   update the access time of a key.
49
507. A bug was fixed in redis-cli, that connected to the instance running on the
51   port 6379 if there was one, regardless of what was specified.
52
538. TCP keep alive is now enabled by default. This should fix most ghost
54   connections problems without resulting in any practical change in otherwise
55   sane deployments.
56
579. A Sentinel crash that could happen during failovers was fixed.
58
59And of course, more minor things that you can read in the detailed log
60below. There are still reported bugs for 3.2 that were not fixed in this
61release, but nothing critical AFAIK, and I wanted to release this one ASAP,
62so likely a new release will not be too far.
63
64Enjoy,
65Salvatore
66
67+-------------------------------------------------------------------------------
68| config set list-max-ziplist-size didn't support negative values, unlike config file
69| By oranagra, 2016-05-22 20:35:14 +0300
70+--------------------------------------------------------------------------------
71https://github.com/antirez/redis/commit/8207e828043e37a0d7e058530d2886bb3ff395ff
72
73
74 src/config.c | 6 +++---
75 1 file changed, 3 insertions(+), 3 deletions(-)
76
77+-------------------------------------------------------------------------------
78| Fix Sentinel pending commands counting.
79| By antirez, 2016-06-16 19:24:34 +0200
80+--------------------------------------------------------------------------------
81https://github.com/antirez/redis/commit/6ad0371c9b4206a7a6692d50c9a301457baf9b6d
82
83This bug most experienced effect was an inability of Redis to
84reconfigure back old masters to slaves after they are reachable again
85after a failover. This was due to failing to reset the count of the
86pending commands properly, so the master appeared fovever down.
87
88Was introduced in Redis 3.2 new Sentinel connection sharing feature
89which is a lot more complex than the 3.0 code, but more scalable.
90
91Many thanks to people reporting the issue, and especially to
92@sskorgal for investigating the issue in depth.
93
94Hopefully closes #3285.
95
96 src/sentinel.c | 1 +
97 1 file changed, 1 insertion(+)
98
99+-------------------------------------------------------------------------------
100| redis-cli: really connect to the right server.
101| By antirez, 2016-06-16 17:23:31 +0200
102+--------------------------------------------------------------------------------
103https://github.com/antirez/redis/commit/58f1d446c35e8fe62df7c9ebe10f3c40a386c022
104
105I recently introduced populating the autocomplete help array with the
106COMMAND command if available. However this was performed before parsing
107the arguments, defaulting to instance 6379. After the connection is
108performed it remains stable.
109
110The effect is that if there is an instance running on port 6339,
111whatever port you specify is ignored and 6379 is connected to instead.
112The right port will be selected only after a reconnection.
113
114Close #3314.
115
116 src/redis-cli.c | 7 +++++--
117 1 file changed, 5 insertions(+), 2 deletions(-)
118
119+-------------------------------------------------------------------------------
120| Remove debug printing
121| By Jan-Erik Rediger, 2016-05-21 13:50:01 +0200
122+--------------------------------------------------------------------------------
123https://github.com/antirez/redis/commit/b6007b324b81dbd4ffe519b3bdb19ab65fbb407f
124
125
126 src/redis-cli.c | 3 ---
127 1 file changed, 3 deletions(-)
128
129+-------------------------------------------------------------------------------
130| RESTORE: accept RDB dumps with older versions.
131| By antirez, 2016-06-16 15:53:57 +0200
132+--------------------------------------------------------------------------------
133https://github.com/antirez/redis/commit/f592b4d3178963878084a522b4fd050772c335ae
134
135Reference issue #3218.
136
137Checking the code I can't find a reason why the original RESTORE
138code was so opinionated about restoring only the current version. The
139code in to `rdb.c` appears to be capable as always to restore data from
140older versions of Redis, and the only places where it is needed the
141current version in order to correctly restore data, is while loading the
142opcodes, not the values itself as it happens in the case of RESTORE.
143
144For the above reasons, this commit enables RESTORE to accept older
145versions of values payloads.
146
147 src/cluster.c | 2 +-
148 1 file changed, 1 insertion(+), 1 deletion(-)
149
150+-------------------------------------------------------------------------------
151| CLIENT error message was out of date
152| By oranagra, 2016-05-23 11:42:21 +0300
153+--------------------------------------------------------------------------------
154https://github.com/antirez/redis/commit/047ced4473ee35485e22e45db8b8b4a272bf1177
155
156
157 src/networking.c | 2 +-
158 1 file changed, 1 insertion(+), 1 deletion(-)
159
160+-------------------------------------------------------------------------------
161| fix georadius returns multiple replies
162| By oranagra, 2016-05-23 13:58:50 +0300
163+--------------------------------------------------------------------------------
164https://github.com/antirez/redis/commit/14e04847ac2960aefe31dccbec63d2503cf09ca5
165
166
167 src/geo.c | 7 +++++--
168 1 file changed, 5 insertions(+), 2 deletions(-)
169
170+-------------------------------------------------------------------------------
171| Minor aesthetic fixes to PR #3264.
172| By antirez, 2016-06-16 12:54:33 +0200
173+--------------------------------------------------------------------------------
174https://github.com/antirez/redis/commit/bd23ea3f9f3defbbdf512864ee1a88fd02665a7f
175
176Comment format fixed + local var modified from camel case to underscore
177separators as Redis code base normally does (camel case is mostly used
178for global symbols like structure names, function names, global vars,
179...).
180
181 src/bitops.c | 10 +++++-----
182 1 file changed, 5 insertions(+), 5 deletions(-)
183
184+-------------------------------------------------------------------------------
185| check WRONGTYPE in BITFIELD before looping on the operations.
186| By oranagra, 2016-05-24 23:31:36 +0300
187+--------------------------------------------------------------------------------
188https://github.com/antirez/redis/commit/2a3ee58ec73b6abdeeb4890937b25191119bce35
189
190optimization: lookup key only once, and grow at once to the max need
191fixes #3259 and #3221, and also an early return if wrongtype is discovered by SET
192
193 src/bitops.c | 27 ++++++++++++++++++---------
194 1 file changed, 18 insertions(+), 9 deletions(-)
195
196+-------------------------------------------------------------------------------
197| fix crash in BITFIELD GET on non existing key or wrong type see #3259
198| By oranagra, 2016-05-24 14:52:43 +0300
199+--------------------------------------------------------------------------------
200https://github.com/antirez/redis/commit/a2e27b810edfad18b3ecc9c176a4606f94a2f0e4
201
202this was a bug in the recent refactoring: bee963c4459223d874e3294a0d8638a588d33c8e
203
204 src/bitops.c | 8 +++++---
205 1 file changed, 5 insertions(+), 3 deletions(-)
206
207+-------------------------------------------------------------------------------
208| fix check when can't send the command to the promoted slave
209| By MOON_CLJ, 2016-05-26 13:10:12 +0800
210+--------------------------------------------------------------------------------
211https://github.com/antirez/redis/commit/26555f5e008b099b888ef39cabec632f4b31a038
212
213
214 src/sentinel.c | 2 +-
215 1 file changed, 1 insertion(+), 1 deletion(-)
216
217+-------------------------------------------------------------------------------
218| Test TOUCH and new TTL / TYPE behavior about object access time.
219| By antirez, 2016-06-15 17:15:18 +0200
220+--------------------------------------------------------------------------------
221https://github.com/antirez/redis/commit/f1c237cb6a647ad5400b0ebce124fd9802ea7f89
222
223
224 tests/test_helper.tcl          |  1 +
225 tests/unit/introspection-2.tcl | 23 +++++++++++++++++++++++
226 2 files changed, 24 insertions(+)
227
228+-------------------------------------------------------------------------------
229| GETRANGE: return empty string with negative, inverted start/end.
230| By antirez, 2016-06-15 12:48:58 +0200
231+--------------------------------------------------------------------------------
232https://github.com/antirez/redis/commit/d4831e328759bf5bd07c2c6e6ce1d60e84ba196f
233
234
235 src/bitops.c   | 4 ++--
236 src/t_string.c | 4 ++++
237 2 files changed, 6 insertions(+), 2 deletions(-)
238
239+-------------------------------------------------------------------------------
240| Remove additional round brackets from fix for #3282.
241| By antirez, 2016-06-15 12:16:39 +0200
242+--------------------------------------------------------------------------------
243https://github.com/antirez/redis/commit/9942070f5a41fa3bc953e9628a7248aeb7c0befa
244
245
246 src/bitops.c | 2 +-
247 1 file changed, 1 insertion(+), 1 deletion(-)
248
249+-------------------------------------------------------------------------------
250| bitcount bug:return non-zero value when start > end (both negative)
251| By wenduo, 2016-05-30 16:21:08 +0800
252+--------------------------------------------------------------------------------
253https://github.com/antirez/redis/commit/f45fa5d05f47a5729786a69962119c9b3dc12645
254
255
256 src/bitops.c | 4 ++++
257 1 file changed, 4 insertions(+)
258
259+-------------------------------------------------------------------------------
260| Regression test for #3282.
261| By antirez, 2016-06-15 11:49:49 +0200
262+--------------------------------------------------------------------------------
263https://github.com/antirez/redis/commit/0cb86064e602a093a23b56943a7321fe1af64984
264
265
266 tests/unit/bitops.tcl | 10 ++++++++++
267 1 file changed, 10 insertions(+)
268
269+-------------------------------------------------------------------------------
270| TTL and TYPE LRU access fixed. TOUCH implemented.
271| By antirez, 2016-06-14 15:33:59 +0200
272+--------------------------------------------------------------------------------
273https://github.com/antirez/redis/commit/b23aa6706ac79a1c86c64aef07bd35e38f10f842
274
275
276 src/db.c     | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++-------
277 src/server.c |  1 +
278 src/server.h |  6 +++++-
279 3 files changed, 60 insertions(+), 8 deletions(-)
280
281+-------------------------------------------------------------------------------
282| redis-cli help.h updated.
283| By antirez, 2016-06-14 14:45:48 +0200
284+--------------------------------------------------------------------------------
285https://github.com/antirez/redis/commit/6e4204fec9c78f3300d887ebc3db014df2c8b33e
286
287
288 src/help.h | 43 +++++++++++++++++++++++++++++--------------
289 1 file changed, 29 insertions(+), 14 deletions(-)
290
291+-------------------------------------------------------------------------------
292| Fix GEORADIUS wrong output with radius > Earth radius.
293| By antirez, 2016-05-30 12:45:49 +0200
294+--------------------------------------------------------------------------------
295https://github.com/antirez/redis/commit/bb43f4cab2f756c0412ca2b94d9e29c3db5025ab
296
297Close #3266
298
299 deps/geohash-int/geohash_helper.c | 2 ++
300 1 file changed, 2 insertions(+)
301
302+-------------------------------------------------------------------------------
303| Geo: fix typo in geohashEstimateStepsByRadius().
304| By antirez, 2016-05-30 15:31:19 +0200
305+--------------------------------------------------------------------------------
306https://github.com/antirez/redis/commit/16102bc0af0912a0c9a92aedddf796eb24a80b9e
307
308I'm the author of this line but I can't see a good reason for it to
309don't be a typo, a step of 26 should be valid with 52 bits per
310coordinate, moreover the line was:
311
312    if (step > 26) step = 25;
313
314So a step of 26 was actually already used, except when one of 27 was
315computed (which is invalid) only then it was trimmed to 25 instead of
31626.
317
318All tests passing after the change.
319
320 deps/geohash-int/geohash_helper.c | 2 +-
321 1 file changed, 1 insertion(+), 1 deletion(-)
322
323+-------------------------------------------------------------------------------
324| Avoid undefined behavior in BITFIELD implementation.
325| By antirez, 2016-05-31 11:52:07 +0200
326+--------------------------------------------------------------------------------
327https://github.com/antirez/redis/commit/014bf8044285c6d401d83e6e24829d276ab837f9
328
329Probably there is no compiler that will actaully break the code or raise
330a signal for unsigned -> signed overflowing conversion, still it was
331apparently possible to write it in a more correct way.
332
333All tests passing.
334
335 src/bitops.c | 23 +++++++++++++++--------
336 1 file changed, 15 insertions(+), 8 deletions(-)
337
338+-------------------------------------------------------------------------------
339| Now that SPOP can be called by scripts use BLPOP on 's' flag test.
340| By antirez, 2016-05-31 16:43:21 +0200
341+--------------------------------------------------------------------------------
342https://github.com/antirez/redis/commit/b4e5e2ec1ad7e9d1f4e7e559b61e0ecd4e50f2da
343
344
345 tests/unit/scripting.tcl | 2 +-
346 1 file changed, 1 insertion(+), 1 deletion(-)
347
348+-------------------------------------------------------------------------------
349| Test: run GEO tests by default.
350| By antirez, 2016-05-31 16:43:49 +0200
351+--------------------------------------------------------------------------------
352https://github.com/antirez/redis/commit/df419281a19e13429b27814a3e384f6f029c3519
353
354Thanks to @oranagra for noticing it was missing.
355
356 tests/test_helper.tcl | 1 +
357 1 file changed, 1 insertion(+)
358
359+-------------------------------------------------------------------------------
360| Enable tcp-keepalive by default.
361| By antirez, 2016-06-13 12:03:14 +0200
362+--------------------------------------------------------------------------------
363https://github.com/antirez/redis/commit/40cfe13141c7178d22fd43e4ffbecc37686e0b43
364
365
366 redis.conf | 5 +++--
367 1 file changed, 3 insertions(+), 2 deletions(-)
368
369+-------------------------------------------------------------------------------
370| fix some compiler warnings
371| By Pierre Chapuis, 2016-06-05 15:34:43 +0200
372+--------------------------------------------------------------------------------
373https://github.com/antirez/redis/commit/a650aaaf4f074ec428b450ef88799db1dcd34b0f
374
375
376 src/bitops.c | 4 ++--
377 1 file changed, 2 insertions(+), 2 deletions(-)
378
379+-------------------------------------------------------------------------------
380| Fixed typo in Sentinel compareSlavesForPromotion() comment.
381| By antirez, 2016-06-10 09:15:01 +0200
382+--------------------------------------------------------------------------------
383https://github.com/antirez/redis/commit/3fd4baf1e77f125a306d57b788b72de5026c0564
384
385
386 src/sentinel.c | 2 +-
387 1 file changed, 1 insertion(+), 1 deletion(-)
388
389+-------------------------------------------------------------------------------
390| fix comment "b>a" to "a > b"
391| By andyli, 2016-06-07 14:42:50 +0800
392+--------------------------------------------------------------------------------
393https://github.com/antirez/redis/commit/8d029a5950f4ef40723c02b5c486b171aff0189c
394
395
396 src/sentinel.c | 2 +-
397 1 file changed, 1 insertion(+), 1 deletion(-)
398
399+-------------------------------------------------------------------------------
400| fix pidfile in redis.conf
401| By bogdanvlviv, 2016-04-19 14:43:06 +0300
402+--------------------------------------------------------------------------------
403https://github.com/antirez/redis/commit/6937f5960d1803ca0eda1ab6f4bc60023f50c914
404
405
406 redis.conf | 2 +-
407 1 file changed, 1 insertion(+), 1 deletion(-)
408
409+-------------------------------------------------------------------------------
410| Include 'fd_set' type name
411| By jspraul, 2016-06-07 16:46:00 -0400
412+--------------------------------------------------------------------------------
413https://github.com/antirez/redis/commit/b5758cc5ce6c51ff75c86f9216214fe4d5e4c257
414
415Fix an MSYS2-build-breaking error: unknown type name ‘fd_set’
416 src/ae_select.c | 1 +
417 1 file changed, 1 insertion(+)
418
419+-------------------------------------------------------------------------------
420| Allow SPOP from Lua scripts
421| By Itamar Haber, 2016-05-28 20:01:46 +0300
422+--------------------------------------------------------------------------------
423https://github.com/antirez/redis/commit/620783e3b582e9ba6e1d8fbd47987281ce0b6317
424
425The existing `R` flag appears to be sufficient and there's no apparent reason why the command should be blocked.
426 src/server.c | 2 +-
427 1 file changed, 1 insertion(+), 1 deletion(-)
428
429+-------------------------------------------------------------------------------
430| minor fixes - mainly signalModifiedKey, and GEORADIUS
431| By oranagra, 2016-05-09 09:12:38 +0300
432+--------------------------------------------------------------------------------
433https://github.com/antirez/redis/commit/603234076f4e59967f331bc97de3c0db9947c8ef
434
435
436 src/geo.c    |  1 +
437 src/sds.c    |  8 ++++----
438 src/server.c |  2 +-
439 src/server.h |  3 +--
440 src/t_set.c  |  9 ++++++---
441 src/t_zset.c | 12 ++++++------
442 6 files changed, 19 insertions(+), 16 deletions(-)
443
444+-------------------------------------------------------------------------------
445| Code to access object string bytes repeated 3x refactored into 1 function.
446| By antirez, 2016-05-18 15:35:17 +0200
447+--------------------------------------------------------------------------------
448https://github.com/antirez/redis/commit/2e6b99499abb5ff1fbeee3bac4d064e5ff4ea256
449
450
451 src/bitops.c | 74 ++++++++++++++++++++++++++++++++----------------------------
452 1 file changed, 39 insertions(+), 35 deletions(-)
453
454+-------------------------------------------------------------------------------
455| fix crash in BITFIELD GET when key is integer encoded
456| By oranagra, 2016-05-10 11:19:45 +0300
457+--------------------------------------------------------------------------------
458https://github.com/antirez/redis/commit/dcaeafc8280eb8329e7ce68e7ab02c67d98f0cf4
459
460
461 src/bitops.c | 18 +++++++++++++++---
462 1 file changed, 15 insertions(+), 3 deletions(-)
463
464+-------------------------------------------------------------------------------
465| Clarify that the LOG_STR_SIZE includes null term.
466| By antirez, 2016-05-18 15:23:18 +0200
467+--------------------------------------------------------------------------------
468https://github.com/antirez/redis/commit/4ad088818a3353ebd619e8d43847b5d58108af20
469
470
471 src/server.h | 2 +-
472 1 file changed, 1 insertion(+), 1 deletion(-)
473
474+-------------------------------------------------------------------------------
475| Test for BITFIELD regression #3221.
476| By antirez, 2016-05-18 14:53:30 +0200
477+--------------------------------------------------------------------------------
478https://github.com/antirez/redis/commit/f991cdc3e19c187035855355808575efd6b4c149
479
480
481 tests/unit/bitfield.tcl | 5 +++++
482 1 file changed, 5 insertions(+)
483
484+-------------------------------------------------------------------------------
485| reduce struct padding by reordering members
486| By oranagra, 2016-05-16 20:12:11 +0300
487+--------------------------------------------------------------------------------
488https://github.com/antirez/redis/commit/cb3e89e2cb0753d2d111eaeadc9c73cbe24025ab
489
490
491 src/quicklist.h | 2 +-
492 1 file changed, 1 insertion(+), 1 deletion(-)
493
494+-------------------------------------------------------------------------------
495| Actually use --with-lg-quantum=3 to build jemalloc.
496| By antirez, 2016-05-18 11:58:36 +0200
497+--------------------------------------------------------------------------------
498https://github.com/antirez/redis/commit/a7f0fb448c110e125eece44dc955d6939e494daa
499
500This change is documented in deps/README.md but was lost in one way or
501the other, neutralizing the benefits of 24 bytes size classes (and
502others).
503
504Close #3208.
505
506 deps/Makefile | 2 +-
507 1 file changed, 1 insertion(+), 1 deletion(-)
508
509+-------------------------------------------------------------------------------
510| redis-cli: integrate help.h with COMMAND output.
511| By antirez, 2016-05-07 13:03:25 +0200
512+--------------------------------------------------------------------------------
513https://github.com/antirez/redis/commit/029dc0d97fd492a2fd579796d4c1cc04053c7190
514
515Use the COMMAND output to fill with partial information the built-in
516help. This makes redis-cli able to at least complete commands that are
517exported by the Redis server it is connected to, but were not available
518in the help.h file when the redis-cli binary was compiled.
519
520 src/redis-cli.c | 80 +++++++++++++++++++++++++++++++++++++++++++++++++--------
521 1 file changed, 70 insertions(+), 10 deletions(-)
522
523+-------------------------------------------------------------------------------
524| Removed dofile() from Lua
525| By Adam Baldwin, 2012-10-25 20:27:10 -0700
526+--------------------------------------------------------------------------------
527https://github.com/antirez/redis/commit/95def3aee044468504bb07633084afd49b085db3
528
529
530 src/scripting.c | 2 ++
531 1 file changed, 2 insertions(+)
532
533
534================================================================================
535Redis 3.2.0     Released Fri May 06 08:47:10 CEST 2016
536================================================================================
537
538Upgrade urgency HIGH: 3.2-RC users should upgrade ASAP to this more
539                      stable release of Redis.
540
541Hello, this is Redis 3.2.0 stable! And with the new release there is a new
542format for the changelog. Now it is composed of a "letter" like the one
543you are reading, followed by all the commits composing the release for people
544interested in the details.
545
546There are a few changes between the latest release candidate of Redis 3.2
547and the final 3.2.0 release. The main ones are the obvious bug fixes you
548can find detailed below, also a few new things:
549
550Critical bugs fixed:
551
552* There was a problem in the way a cluster instance loaded the AOF that
553  could cause data written via scripts to be lost during reshardings.
554
555New things:
556
557* There is a new very powerful BITFIELD command. Check the documentation
558  here: http://redis.io/commands/BITFIELD
559
560* CONFIG GET is allowed during the loading of the dataset.
561
562* The DEBUG command have new features and can show an help with DEBUG HELP.
563
564* redis-cli show hits about the commands arguments to the right.
565
566* GEORADIUS got a STORE / STOREDIST option to store the result into a target
567  key (as as orted set) instead of reporting it to the user.
568
569* Redis Cluster replicas migration now works in a slightly different way. In
570  the past a slave could migrate only to a master that used to have slaves
571  in the past (and if there was still trace of this information). Now instead
572  if a new slave gets at least a slot, and at least one other master in the
573  cluster has a slave, then the new master is considered a valid target for
574  replica migration. So if it will be orphaned and there is a spare slave
575  it will get one.
576
577* CLUSTER SLOTS output now includes the node ID (in a backward compatible
578  manner).
579
580* A lot of bug fixes you can read in the commits details below, with the
581  authors that kindly provided many useful patches. Thanks.
582
583As usually what "stable" means is that we are confident the release is mature,
584however do your tests before putting it into production in your environemnt
585as it's fresh meat anyway.
586
587Cheers,
588Salvatore
589
590+-------------------------------------------------------------------------------
591| Cluster: don't check scripts key slots during AOF loading.
592| By antirez, 2016-05-05 23:37:08 +0200
593+--------------------------------------------------------------------------------
594https://github.com/antirez/redis/commit/746e1bebb4baf876c1e8cd2fe2d468a1c41e5dc3
595
596
597 src/scripting.c | 6 ++++--
598 1 file changed, 4 insertions(+), 2 deletions(-)
599
600+-------------------------------------------------------------------------------
601| redis-cli: remove debugging message.
602| By antirez, 2016-05-05 18:05:37 +0200
603+--------------------------------------------------------------------------------
604https://github.com/antirez/redis/commit/3907b059280898c6340b53982b3b65957535da7c
605
606
607 src/redis-cli.c | 1 -
608 1 file changed, 1 deletion(-)
609
610+-------------------------------------------------------------------------------
611| Revert "Fix commandCommand arity"
612| By antirez, 2016-05-05 17:35:33 +0200
613+--------------------------------------------------------------------------------
614https://github.com/antirez/redis/commit/f01a2714582a9a916b41e6cb90e42474a104925d
615
616This reverts commit 1189a4eae6d009fc0da8d50fd542ba1391542165.
617
618Actually this is wrong, the command can be called without args at all.
619
620 src/server.c | 2 +-
621 1 file changed, 1 insertion(+), 1 deletion(-)
622
623+-------------------------------------------------------------------------------
624| Fix commandCommand arity
625| By Ruben Bridgewater, 2016-01-04 11:39:45 +0100
626+--------------------------------------------------------------------------------
627https://github.com/antirez/redis/commit/1189a4eae6d009fc0da8d50fd542ba1391542165
628
629
630 src/server.c | 2 +-
631 1 file changed, 1 insertion(+), 1 deletion(-)
632
633+-------------------------------------------------------------------------------
634| Fix a possible race condition of sdown detection if the connection to master/slave/sentinel decames disconnected just after the last PONG and before the next PING.
635| By Daniel Shih, 2016-01-12 17:06:47 +0800
636+--------------------------------------------------------------------------------
637https://github.com/antirez/redis/commit/d9dc0d777b775f2fe4f23f42e1b4130f4de1ed72
638
639
640 src/sentinel.c | 2 ++
641 1 file changed, 2 insertions(+)
642
643+-------------------------------------------------------------------------------
644| Fix nanosecond conversion
645| By Jan-Erik Rediger, 2016-01-13 10:22:29 -0700
646+--------------------------------------------------------------------------------
647https://github.com/antirez/redis/commit/13bd702844eda7bccc7c672b6ff77f53e21ab841
648
6491 microsecond = 1000 nanoseconds
6501e3 = 1000
65110e3 = 10000
652
653 src/redis-cli.c | 2 +-
654 1 file changed, 1 insertion(+), 1 deletion(-)
655
656+-------------------------------------------------------------------------------
657| redis-cli: don't free historyfile, is used later.
658| By antirez, 2016-05-05 13:57:57 +0200
659+--------------------------------------------------------------------------------
660https://github.com/antirez/redis/commit/f6b7df3aec1d8fddf3121c4315fea4bf45cc4cfe
661
662
663 src/redis-cli.c | 2 +-
664 1 file changed, 1 insertion(+), 1 deletion(-)
665
666+-------------------------------------------------------------------------------
667| Cluster test 12: reshard back just a few slots to speedup the test.
668| By antirez, 2016-05-05 11:49:27 +0200
669+--------------------------------------------------------------------------------
670https://github.com/antirez/redis/commit/97ce72fa2d348f914fc40ccf0a32008c7362b817
671
672
673 tests/cluster/tests/12-replica-migration-2.tcl | 14 +++++++-------
674 1 file changed, 7 insertions(+), 7 deletions(-)
675
676+-------------------------------------------------------------------------------
677| Cluster: make getNodeByQuery() responsible of -CLUSTERDOWN errors.
678| By antirez, 2016-05-05 11:33:43 +0200
679+--------------------------------------------------------------------------------
680https://github.com/antirez/redis/commit/708f486c77b455fa7ae1e87cf31278474eb9d432
681
682This fixes a bug introduced by d827dbf, and makes the code consistent
683with the logic of always allowing, while the cluster is down, commands
684that don't target any key.
685
686As a side effect the code is also simpler now.
687
688 src/cluster.c | 13 +++++++++++--
689 src/server.c  | 26 ++++++++++----------------
690 2 files changed, 21 insertions(+), 18 deletions(-)
691
692+-------------------------------------------------------------------------------
693| Fixes a typo
694| By Itamar Haber, 2016-01-28 21:47:18 +0200
695+--------------------------------------------------------------------------------
696https://github.com/antirez/redis/commit/1fc2ed61bec2f2bf266b48e566a197c5214b4350
697
698
699 src/cluster.c | 2 +-
700 1 file changed, 1 insertion(+), 1 deletion(-)
701
702+-------------------------------------------------------------------------------
703| Reverse redirect address parse
704| By David Cavar, 2016-02-09 15:04:42 +0100
705+--------------------------------------------------------------------------------
706https://github.com/antirez/redis/commit/787d5ab9be45bf4feb6cfa8a227c185c93aaadae
707
708Fix issue in case the redirect address is in ipv6 format. Parse from behind to extract last part of the response which represents actual port.
709 src/redis-cli.c | 2 +-
710 1 file changed, 1 insertion(+), 1 deletion(-)
711
712+-------------------------------------------------------------------------------
713| Bind both IPv4 and IPv6 or exit with an error by default.
714| By antirez, 2016-05-05 10:02:42 +0200
715+--------------------------------------------------------------------------------
716https://github.com/antirez/redis/commit/0fda06225f19b18a370d63ac650a8bb61020235d
717
718Thanks to @tushar2708 for the PR. I applied a slightly different fix.
719Thanks to @cespare for reporting.
720
721Close #3024
722Close #3020
723
724 src/server.c | 18 ++++++++++--------
725 1 file changed, 10 insertions(+), 8 deletions(-)
726
727+-------------------------------------------------------------------------------
728| Quick fix to avoid false positive in replica migration test.
729| By antirez, 2016-05-05 09:45:31 +0200
730+--------------------------------------------------------------------------------
731https://github.com/antirez/redis/commit/65707fa6b5bb38b5818af57ab93b9b1da47d708a
732
733
734 tests/cluster/tests/12-replica-migration-2.tcl | 5 ++++-
735 1 file changed, 4 insertions(+), 1 deletion(-)
736
737+-------------------------------------------------------------------------------
738| Ensure slots are rechecked on EXEC.
739| By Chris Thunes, 2016-03-11 15:22:36 -0500
740+--------------------------------------------------------------------------------
741https://github.com/antirez/redis/commit/1f3ed652e2a6cfcbbd5300a31f5771f2ce842e98
742
743Fixes #2515.
744
745 src/server.c | 9 +++++++--
746 1 file changed, 7 insertions(+), 2 deletions(-)
747
748+-------------------------------------------------------------------------------
749| fix for #3187
750| By therealbill, 2016-04-22 10:43:48 -0500
751+--------------------------------------------------------------------------------
752https://github.com/antirez/redis/commit/3a4810678904af013901a896ab0bb3c71856644c
753
754I've renamed maxmemoryToString to evictPolicyToString since that is
755more accurate (and easier to mentally connect with the correct data), as
756well as updated the function to user server.maxmemory_policy rather than
757server.maxmemory. Now with a default config it is actually returning
758the correct policy rather than volatile-lru.
759
760 src/config.c | 4 ++--
761 src/server.c | 2 +-
762 src/server.h | 2 +-
763 3 files changed, 4 insertions(+), 4 deletions(-)
764
765+-------------------------------------------------------------------------------
766| Fixed typo in README.md
767| By Seth Bergman, 2016-04-30 11:58:48 -0500
768+--------------------------------------------------------------------------------
769https://github.com/antirez/redis/commit/bba53d7fc7a759b53d72a7c3be17a00abe32039e
770
771
772 README.md | 2 +-
773 1 file changed, 1 insertion(+), 1 deletion(-)
774
775+-------------------------------------------------------------------------------
776| fix variable
777| By Ryosuke Hasebe, 2016-03-30 23:09:36 +0900
778+--------------------------------------------------------------------------------
779https://github.com/antirez/redis/commit/ab7581489871eebcf0253915acc26efb27f5df23
780
781
782 src/redis-trib.rb | 10 +++++-----
783 1 file changed, 5 insertions(+), 5 deletions(-)
784
785+-------------------------------------------------------------------------------
786| fix check_open_slots
787| By Ryosuke Hasebe, 2016-03-30 21:56:22 +0900
788+--------------------------------------------------------------------------------
789https://github.com/antirez/redis/commit/0fcf896ac14c6e5c57e3b79e836dd8bf7dad94b5
790
791
792 src/redis-trib.rb | 3 ++-
793 1 file changed, 2 insertions(+), 1 deletion(-)
794
795+-------------------------------------------------------------------------------
796| Minor redis-cli wording change in --help output.
797| By antirez, 2016-05-04 22:34:17 +0200
798+--------------------------------------------------------------------------------
799https://github.com/antirez/redis/commit/b8a63635e39ce312b2c5664f2c2a59184849b8fb
800
801
802 src/redis-cli.c | 3 ++-
803 1 file changed, 2 insertions(+), 1 deletion(-)
804
805+-------------------------------------------------------------------------------
806| Allow CONFIG GET during loading.
807| By antirez, 2016-05-04 15:45:38 +0200
808+--------------------------------------------------------------------------------
809https://github.com/antirez/redis/commit/ae95de93312d6bb2c8c365c31f2a3fd0b6d2c100
810
811Thanks to @oranagra for the idea of allowing CONFIG GET during loading.
812
813 src/config.c | 6 ++++++
814 src/server.c | 2 +-
815 2 files changed, 7 insertions(+), 1 deletion(-)
816
817+-------------------------------------------------------------------------------
818| Command "r" flag removed from commands not accessing the key space.
819| By antirez, 2016-05-04 15:42:14 +0200
820+--------------------------------------------------------------------------------
821https://github.com/antirez/redis/commit/3ff8f57ef32e3b1ddd407b65d474f610881bef34
822
823Thanks to @oranagra for the hint about misplaced 'r' flags.
824
825 src/server.c | 70 ++++++++++++++++++++++++++++++------------------------------
826 1 file changed, 35 insertions(+), 35 deletions(-)
827
828+-------------------------------------------------------------------------------
829| DEBUG command self documentation.
830| By antirez, 2016-05-04 12:45:55 +0200
831+--------------------------------------------------------------------------------
832https://github.com/antirez/redis/commit/07b852d24ec8d7cb47044b096baf0af1410c69ed
833
834
835 src/debug.c  | 49 ++++++++++++++++++++++++++++++++++++++++++++++++-
836 src/server.c |  2 +-
837 2 files changed, 49 insertions(+), 2 deletions(-)
838
839+-------------------------------------------------------------------------------
840| various cleanups and minor fixes
841| By Oran Agra, 2016-04-25 16:49:57 +0300
842+--------------------------------------------------------------------------------
843https://github.com/antirez/redis/commit/cfc08b65b04cf972ebeadf3be9f39f2acd7672b3
844
845
846 src/adlist.c             | 18 ++++++------------
847 src/ae_epoll.c           |  6 ++----
848 src/aof.c                |  5 ++++-
849 src/db.c                 |  2 +-
850 src/rdb.c                |  6 ++++--
851 src/rio.c                |  5 +++--
852 src/rio.h                |  2 ++
853 src/server.h             |  3 +--
854 tests/support/test.tcl   |  6 ------
855 tests/unit/bitops.tcl    |  2 +-
856 tests/unit/other.tcl     |  1 +
857 tests/unit/scripting.tcl | 27 ++++++++++++++-------------
858 12 files changed, 39 insertions(+), 44 deletions(-)
859
860+-------------------------------------------------------------------------------
861| dict.c minor optimization
862| By Oran Agra, 2016-04-25 16:48:25 +0300
863+--------------------------------------------------------------------------------
864https://github.com/antirez/redis/commit/6710c8dc15680b756de26d1d45df110987b951b3
865
866
867 src/dict.c | 8 ++++----
868 1 file changed, 4 insertions(+), 4 deletions(-)
869
870+-------------------------------------------------------------------------------
871| networking.c minor optimization
872| By Oran Agra, 2016-04-25 16:48:09 +0300
873+--------------------------------------------------------------------------------
874https://github.com/antirez/redis/commit/be5c0869821b16f18104d9ea62ab42bfa0615816
875
876
877 src/networking.c | 11 +++++------
878 1 file changed, 5 insertions(+), 6 deletions(-)
879
880+-------------------------------------------------------------------------------
881| add DEBUG JEMALLC PURGE and JEMALLOC INFO cleanup
882| By Oran Agra, 2016-04-25 16:47:42 +0300
883+--------------------------------------------------------------------------------
884https://github.com/antirez/redis/commit/3ede6c7a506bcff3c7d2147c8af140dd4102a36e
885
886
887 src/debug.c     | 17 ++++++++++++++++-
888 src/redis-cli.c |  2 +-
889 2 files changed, 17 insertions(+), 2 deletions(-)
890
891+-------------------------------------------------------------------------------
892| fix small issues in redis 3.2
893| By Oran Agra, 2016-04-25 14:19:28 +0300
894+--------------------------------------------------------------------------------
895https://github.com/antirez/redis/commit/e2fab184efd01ffa0d510739f4d819a30b1d6787
896
897
898 src/config.c | 2 ++
899 src/rdb.c    | 2 +-
900 2 files changed, 3 insertions(+), 1 deletion(-)
901
902+-------------------------------------------------------------------------------
903| additional fix to issue #2948
904| By Oran Agra, 2016-04-25 14:18:40 +0300
905+--------------------------------------------------------------------------------
906https://github.com/antirez/redis/commit/9d57ceec08687545c2a63a2c18c28e2bcaf74664
907
908
909 src/networking.c | 3 +++
910 1 file changed, 3 insertions(+)
911
912+-------------------------------------------------------------------------------
913| Reply with error on negative geo radius.
914| By antirez, 2016-05-04 08:59:56 +0200
915+--------------------------------------------------------------------------------
916https://github.com/antirez/redis/commit/7ba2cf5f8bea9cd125e773de147e3ea9b19ee2b0
917
918Thanks to @tidwall for reporting.
919Close #3194.
920
921 src/geo.c | 5 ++++-
922 1 file changed, 4 insertions(+), 1 deletion(-)
923
924+-------------------------------------------------------------------------------
925| Cluster regression test for #3043.
926| By antirez, 2016-05-02 18:36:09 +0200
927+--------------------------------------------------------------------------------
928https://github.com/antirez/redis/commit/38cf2bd257d09b360be6adf450d59592a359696d
929
930The test works but is very slow so far, since it involves resharding
9311/5 of all the cluster slots from master 0 to the other 4 masters and
932back into the original master.
933
934 tests/cluster/tests/12-replica-migration-2.tcl | 61 ++++++++++++++++++++++++++
935 1 file changed, 61 insertions(+)
936
937+-------------------------------------------------------------------------------
938| New masters with slots are now targets of migration if others are.
939| By antirez, 2016-05-02 16:41:56 +0200
940+--------------------------------------------------------------------------------
941https://github.com/antirez/redis/commit/7b618823c189c24313effbccda7022d167ea419c
942
943This fixes issue #3043.
944
945Before this fix, after a complete resharding of a master slots
946to other nodes, the master remains empty and the slaves migrate away
947to other masters with non-zero nodes. However the old master now empty,
948is no longer considered a target for migration, because the system has
949no way to tell it had slaves in the past.
950
951This fix leaves the algorithm used in the past untouched, but adds a
952new rule. When a new or old master which is empty and without slaves,
953are assigend with their first slot, if other masters in the cluster have
954slaves, they are automatically considered to be targets for replicas
955migration.
956
957 src/cluster.c | 36 +++++++++++++++++++++++++++++++++++-
958 1 file changed, 35 insertions(+), 1 deletion(-)
959
960+-------------------------------------------------------------------------------
961| Test ZINCRBY return value.
962| By antirez, 2016-05-02 08:57:30 +0200
963+--------------------------------------------------------------------------------
964https://github.com/antirez/redis/commit/1101b515c73dcb0ff4a868ba38a91dcebb5b85cc
965
966
967 tests/unit/type/zset.tcl | 6 ++++++
968 1 file changed, 6 insertions(+)
969
970+-------------------------------------------------------------------------------
971| redis-cli preferences and rc file support.
972| By antirez, 2016-04-13 13:58:30 +0200
973+--------------------------------------------------------------------------------
974https://github.com/antirez/redis/commit/bbf93108ef2a7ac7bd53e26c96bf838f7c5e72df
975
976
977 src/redis-cli.c | 102 ++++++++++++++++++++++++++++++++++++++++++++++----------
978 1 file changed, 85 insertions(+), 17 deletions(-)
979
980+-------------------------------------------------------------------------------
981| redis-cli hints.
982| By antirez, 2016-04-13 12:34:14 +0200
983+--------------------------------------------------------------------------------
984https://github.com/antirez/redis/commit/3fd3fca0dd38cb21c900e4ba98e3d41f333335aa
985
986
987 deps/linenoise/linenoise.c |  8 +++++++
988 deps/linenoise/linenoise.h |  2 +-
989 src/redis-cli.c            | 53 ++++++++++++++++++++++++++++++++++++++++++++++
990 3 files changed, 62 insertions(+), 1 deletion(-)
991
992+-------------------------------------------------------------------------------
993| Linenoise updated again (hints support).
994| By antirez, 2016-04-12 23:39:18 +0200
995+--------------------------------------------------------------------------------
996https://github.com/antirez/redis/commit/34354473ffe8d60b80acdbc8c16b194f8bbd70a0
997
998
999 deps/linenoise/README.markdown | 176 ++++++++++++++++++++++++++++++++++++++++-
1000 deps/linenoise/example.c       |  10 +++
1001 deps/linenoise/linenoise.c     |  55 ++++++++++++-
1002 deps/linenoise/linenoise.h     |  15 +++-
1003 4 files changed, 248 insertions(+), 8 deletions(-)
1004
1005+-------------------------------------------------------------------------------
1006| Linenoise updated.
1007| By antirez, 2016-04-06 13:37:27 +0200
1008+--------------------------------------------------------------------------------
1009https://github.com/antirez/redis/commit/58229cd766fa02f399267310b5b488aac2c55a6a
1010
1011As a side effect, cat commands.txt | redis-cli now is able to handle
1012lines more than 4096 bytes.
1013
1014 deps/linenoise/linenoise.c | 60 ++++++++++++++++++++++++++++++++++------------
1015 1 file changed, 45 insertions(+), 15 deletions(-)
1016
1017+-------------------------------------------------------------------------------
1018| ae.c: Fix delay until next timer event.
1019| By antirez, 2016-04-04 14:08:16 +0200
1020+--------------------------------------------------------------------------------
1021https://github.com/antirez/redis/commit/29645f1f44926ac2662ed768fe1e369775a30b66
1022
1023This fix was written by Anthony LaTorre.
1024The old code mis-calculated the amount of time to wait till next event.
1025
1026 src/ae.c | 21 ++++++++++++---------
1027 1 file changed, 12 insertions(+), 9 deletions(-)
1028
1029+-------------------------------------------------------------------------------
1030| ae.c: comment to explain why we have a useless maxId check.
1031| By antirez, 2016-04-04 12:23:10 +0200
1032+--------------------------------------------------------------------------------
1033https://github.com/antirez/redis/commit/aa79c1f1c1d288e4cc2c0f4689ad01488678bf9d
1034
1035
1036 src/ae.c | 6 +++++-
1037 1 file changed, 5 insertions(+), 1 deletion(-)
1038
1039+-------------------------------------------------------------------------------
1040| Fix ae.c to avoid timers infinite loop.
1041| By antirez, 2016-01-08 15:05:14 +0100
1042+--------------------------------------------------------------------------------
1043https://github.com/antirez/redis/commit/0b69c9865619b54b75576e67aaafe7b018734bec
1044
1045This fix was suggested by Anthony LaTorre, that provided also a good
1046test case that was used to verify the fix.
1047
1048The problem with the old implementation is that, the time returned by
1049a timer event (that is the time after it want to run again) is added
1050to the event *start time*. So if the event takes, in order to run, more
1051than the time it says it want to be scheduled again for running, an
1052infinite loop is triggered.
1053
1054 src/ae.c          | 51 ++++++++++++++++++++++-----------------------------
1055 src/ae.h          |  3 +++
1056 src/anet.h        |  2 ++
1057 src/redis-trib.rb |  2 +-
1058 4 files changed, 28 insertions(+), 30 deletions(-)
1059
1060+-------------------------------------------------------------------------------
1061| BITFIELD: overflow wrap behavior fuzz tester.
1062| By antirez, 2016-03-02 17:22:42 +0100
1063+--------------------------------------------------------------------------------
1064https://github.com/antirez/redis/commit/258857cd62e0eb70da32742651a55213fbc28a53
1065
1066
1067 tests/unit/bitfield.tcl | 51 +++++++++++++++++++++++++++++++++++++++++++++++++
1068 1 file changed, 51 insertions(+)
1069
1070+-------------------------------------------------------------------------------
1071| BITFIELD basic unit tests.
1072| By antirez, 2016-03-02 16:31:02 +0100
1073+--------------------------------------------------------------------------------
1074https://github.com/antirez/redis/commit/35d05d6dc5d7fb810e732f9de7b05c6b14933fb6
1075
1076
1077 tests/unit/bitfield.tcl | 86 ++++++++++++++++++++++++++++++++++++++++++++++++-
1078 1 file changed, 85 insertions(+), 1 deletion(-)
1079
1080+-------------------------------------------------------------------------------
1081| BITFIELD: Farest bit set is offset+bits-1. Off by one error fixed.
1082| By antirez, 2016-03-02 16:20:28 +0100
1083+--------------------------------------------------------------------------------
1084https://github.com/antirez/redis/commit/6cf83feffad7f7b7693a207a9d63278354769ece
1085
1086
1087 src/bitops.c | 6 ++++--
1088 1 file changed, 4 insertions(+), 2 deletions(-)
1089
1090+-------------------------------------------------------------------------------
1091| BITFIELD: overflow fuzzy testing.
1092| By antirez, 2016-03-02 15:15:18 +0100
1093+--------------------------------------------------------------------------------
1094https://github.com/antirez/redis/commit/b4d65c9501be01531eb8fbeb4ba2b444e35d6494
1095
1096
1097 tests/test_helper.tcl   |  1 +
1098 tests/unit/bitfield.tcl | 52 +++++++++++++++++++++++++++++++++++++++++++++++++
1099 2 files changed, 53 insertions(+)
1100
1101+-------------------------------------------------------------------------------
1102| Fix typo in bitops.tcl comment.
1103| By antirez, 2016-03-02 15:14:53 +0100
1104+--------------------------------------------------------------------------------
1105https://github.com/antirez/redis/commit/d75e0fdbe6ecf3074b18c4dd1e8b71a474254ccc
1106
1107
1108 tests/unit/bitops.tcl | 2 +-
1109 1 file changed, 1 insertion(+), 1 deletion(-)
1110
1111+-------------------------------------------------------------------------------
1112| More BITFIELD fixes. Overflow conditional simplified.
1113| By antirez, 2016-03-02 15:13:45 +0100
1114+--------------------------------------------------------------------------------
1115https://github.com/antirez/redis/commit/5f3ef73ed41be6e051daad9fdb7efa91b4ca682d
1116
1117See issue #3114.
1118
1119 src/bitops.c | 17 ++++++++---------
1120 1 file changed, 8 insertions(+), 9 deletions(-)
1121
1122+-------------------------------------------------------------------------------
1123| bitops/bitfield: fix length, overflow condition and *sign
1124| By Sun He, 2016-03-02 18:11:30 +0800
1125+--------------------------------------------------------------------------------
1126https://github.com/antirez/redis/commit/5b9aa5026204fb6c8b0098d4e47c2e001cf06151
1127
1128
1129 src/bitops.c | 13 ++++++++-----
1130 1 file changed, 8 insertions(+), 5 deletions(-)
1131
1132+-------------------------------------------------------------------------------
1133| Fix INFO commandstats reporting when argv is rewritten.
1134| By antirez, 2016-03-02 08:51:27 +0100
1135+--------------------------------------------------------------------------------
1136https://github.com/antirez/redis/commit/ba9154d7e7bf959b002533384319a1e90545447b
1137
1138We want to report the original command in the stats, for example GEOADD,
1139even when what is actually executed is the ZADD implementation.
1140
1141 src/scripting.c | 2 +-
1142 src/server.c    | 4 ++--
1143 2 files changed, 3 insertions(+), 3 deletions(-)
1144
1145+-------------------------------------------------------------------------------
1146| BITFIELD: refactoring & fix of retval on FAIL.
1147| By antirez, 2016-02-29 09:08:46 +0100
1148+--------------------------------------------------------------------------------
1149https://github.com/antirez/redis/commit/76b22e3728e37fe11582b71802bf98a2be09623f
1150
1151
1152 src/bitops.c | 32 ++++++++++++++++++++++++--------
1153 1 file changed, 24 insertions(+), 8 deletions(-)
1154
1155+-------------------------------------------------------------------------------
1156| BITFIELD: Fix #<index> form parsing.
1157| By antirez, 2016-02-26 15:53:29 +0100
1158+--------------------------------------------------------------------------------
1159https://github.com/antirez/redis/commit/c333a9e2d7873190b22aaee8835a188bc55b60dc
1160
1161
1162 src/bitops.c | 10 ++++------
1163 1 file changed, 4 insertions(+), 6 deletions(-)
1164
1165+-------------------------------------------------------------------------------
1166| BITFIELD: Support #<index> offsets form.
1167| By antirez, 2016-02-26 15:16:24 +0100
1168+--------------------------------------------------------------------------------
1169https://github.com/antirez/redis/commit/f84871cb5dd3bb3c04bfd7ac53b6e06b246f511f
1170
1171
1172 src/bitops.c | 29 +++++++++++++++++++++++------
1173 1 file changed, 23 insertions(+), 6 deletions(-)
1174
1175+-------------------------------------------------------------------------------
1176| BITFIELD command initial implementation.
1177| By antirez, 2016-02-25 23:31:45 +0100
1178+--------------------------------------------------------------------------------
1179https://github.com/antirez/redis/commit/761a77287107ce53dbf4755f1435cc9660b6c86d
1180
1181The new bitfield command is an extension to the Redis bit operations,
1182where not just single bit operations are performed, but the array of
1183bits composing a string, can be addressed at random, not aligned
1184offsets, with any width unsigned and signed integers like u8, s5, u10
1185(up to 64 bit signed integers and 63 bit unsigned integers).
1186
1187The BITFIELD command supports subcommands that can SET, GET, or INCRBY
1188those arbitrary bit counters, with multiple overflow semantics.
1189
1190Trivial and credits:
1191
1192A similar command was imagined a few times in the past, but for
1193some reason looked a bit far fetched or not well specified.
1194Finally the command was proposed again in a clear form by
1195Yoav Steinberg from Redis Labs, that proposed a set of commands on
1196arbitrary sized integers stored at bit offsets.
1197
1198Starting from this proposal I wrote an initial specification of a single
1199command with sub-commands similar to what Yoav envisioned, using short
1200names for types definitions, and adding control on the overflow.
1201
1202This commit is the resulting implementation.
1203
1204Examples:
1205
1206    BITFIELD mykey OVERFLOW wrap INCRBY i2 10 -1 GET i2 10
1207
1208 src/bitops.c | 506 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----
1209 src/server.c |   1 +
1210 src/server.h |   1 +
1211 3 files changed, 476 insertions(+), 32 deletions(-)
1212
1213+-------------------------------------------------------------------------------
1214| Eliminates engineers near the equator & prime meridian
1215| By Itamar Haber, 2016-02-18 15:11:30 -0800
1216+--------------------------------------------------------------------------------
1217https://github.com/antirez/redis/commit/4b89ea3a95ef72353e14e0eb5cbf293bf2dc8b48
1218
1219
1220 src/geo.c | 8 ++++----
1221 1 file changed, 4 insertions(+), 4 deletions(-)
1222
1223+-------------------------------------------------------------------------------
1224| Fixes a typo in a comment
1225| By Itamar Haber, 2016-02-18 15:01:34 -0800
1226+--------------------------------------------------------------------------------
1227https://github.com/antirez/redis/commit/0f46f9bd423a146f96e1993aca6221e1305f9a28
1228
1229
1230 src/geo.c | 2 +-
1231 1 file changed, 1 insertion(+), 1 deletion(-)
1232
1233+-------------------------------------------------------------------------------
1234| Adjusts accuracy for GEODIST
1235| By Itamar Haber, 2016-02-18 15:00:39 -0800
1236+--------------------------------------------------------------------------------
1237https://github.com/antirez/redis/commit/9de844603c5203ae6ff6e7882a3dcb47a9f79a85
1238
1239
1240 src/geo.c | 2 +-
1241 1 file changed, 1 insertion(+), 1 deletion(-)
1242
1243+-------------------------------------------------------------------------------
1244| addReplyHumanLongDouble() API added.
1245| By antirez, 2016-02-18 22:08:47 +0100
1246+--------------------------------------------------------------------------------
1247https://github.com/antirez/redis/commit/79e553a58d7f814fd08482b118561fcf9854b1df
1248
1249Send a long double or double as a bulk reply, in a human friendly
1250format.
1251
1252 src/networking.c | 9 +++++++++
1253 src/server.h     | 1 +
1254 2 files changed, 10 insertions(+)
1255
1256+-------------------------------------------------------------------------------
1257| Fix GEORADIUS STORE/DIST refcount after backport to 3.2.
1258| By antirez, 2016-02-18 15:33:02 +0100
1259+--------------------------------------------------------------------------------
1260https://github.com/antirez/redis/commit/158d1e2fbf6badb881a4d78623fd1bffde34cc49
1261
1262
1263 src/geo.c | 2 ++
1264 1 file changed, 2 insertions(+)
1265
1266+-------------------------------------------------------------------------------
1267| GEOADD STORE/STOREDIST tests.
1268| By antirez, 2016-02-18 14:42:42 +0100
1269+--------------------------------------------------------------------------------
1270https://github.com/antirez/redis/commit/123cd88286127cc20684bf0457cb51107a67cfa2
1271
1272
1273 tests/unit/geo.tcl | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1274 1 file changed, 54 insertions(+)
1275
1276+-------------------------------------------------------------------------------
1277| New options for GEORADIUS: STORE and STOREDIST.
1278| By antirez, 2016-02-18 10:24:11 +0100
1279+--------------------------------------------------------------------------------
1280https://github.com/antirez/redis/commit/0b6daf5a6b27447f03c76387b8b707ce0ab7b08d
1281
1282Related to issue #3019.
1283
1284 src/geo.c    | 143 +++++++++++++++++++++++++++++++++++++++++------------------
1285 src/server.c |   4 +-
1286 src/server.h |   1 +
1287 src/t_zset.c |  18 +++++---
1288 4 files changed, 117 insertions(+), 49 deletions(-)
1289
1290+-------------------------------------------------------------------------------
1291| Include full paths on RDB/AOF files errors.
1292| By antirez, 2016-02-15 16:14:56 +0100
1293+--------------------------------------------------------------------------------
1294https://github.com/antirez/redis/commit/f7af1beaab938b7e319d1b91d7736f043b7ef682
1295
1296Close #3086.
1297
1298 src/aof.c | 17 +++++++++++++++--
1299 src/rdb.c | 19 +++++++++++++++++--
1300 2 files changed, 32 insertions(+), 4 deletions(-)
1301
1302+-------------------------------------------------------------------------------
1303| Remove Lua state reference from buffers in lua_cmsgpack.
1304| By antirez, 2016-02-10 09:12:17 +0100
1305+--------------------------------------------------------------------------------
1306https://github.com/antirez/redis/commit/0b4a628fc716ab6b88c9823b143de174601a790d
1307
1308
1309 deps/lua/src/lua_cmsgpack.c | 53 +++++++++++++++++++++------------------------
1310 1 file changed, 25 insertions(+), 28 deletions(-)
1311
1312+-------------------------------------------------------------------------------
1313| cmsgpack: pass correct osize values to lua allocator, update correct buf free space in cmsgpack
1314| By [email protected], 2016-02-07 20:24:28 +0200
1315+--------------------------------------------------------------------------------
1316https://github.com/antirez/redis/commit/43509f686452fba68966aa89b87d1be065b50e17
1317
1318
1319 deps/lua/src/lua_cmsgpack.c | 8 ++++----
1320 1 file changed, 4 insertions(+), 4 deletions(-)
1321
1322+-------------------------------------------------------------------------------
1323| Fixes a typo
1324| By Itamar Haber, 2016-02-03 11:04:09 -0800
1325+--------------------------------------------------------------------------------
1326https://github.com/antirez/redis/commit/cd9f7c6976f81c0e9ffae9e34b31eda19384a7dd
1327
1328
1329 src/server.c | 4 ++--
1330 1 file changed, 2 insertions(+), 2 deletions(-)
1331
1332+-------------------------------------------------------------------------------
1333| Adds keyspace notifications for lrem
1334| By Itamar Haber, 2016-02-02 09:58:19 -0800
1335+--------------------------------------------------------------------------------
1336https://github.com/antirez/redis/commit/bf30f5a73922e5111d6a39da7351e22357213134
1337
1338
1339 src/t_list.c | 7 ++++++-
1340 1 file changed, 6 insertions(+), 1 deletion(-)
1341
1342+-------------------------------------------------------------------------------
1343| Typo ASII -> ASCII fixed in comment.
1344| By antirez, 2016-01-29 12:08:10 +0100
1345+--------------------------------------------------------------------------------
1346https://github.com/antirez/redis/commit/0c7c7631d206964b8bf1dae3db286a3acda4edad
1347
1348
1349 src/server.h | 2 +-
1350 1 file changed, 1 insertion(+), 1 deletion(-)
1351
1352+-------------------------------------------------------------------------------
1353| Cluster: include node IDs in SLOTS output.
1354| By antirez, 2016-01-29 12:00:38 +0100
1355+--------------------------------------------------------------------------------
1356https://github.com/antirez/redis/commit/0f3fb0097ae70e36ee65468b79f0be4160934bb4
1357
1358CLUSTER SLOTS now includes IDs in the nodes description associated with
1359a given slot range. Certain client libraries implementations need a way
1360to reference a node in an unique way, so they were relying on CLUSTER
1361NODES, that is not a stable API and may change frequently depending on
1362Redis Cluster future requirements.
1363
1364 src/cluster.c | 8 ++++++--
1365 1 file changed, 6 insertions(+), 2 deletions(-)
1366
1367
1368~~~~~~~~~~~~~~~~~~~~~~~~~~ OLD STYLE CHANGELOG ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1369
1370--[ Redis 3.2.0 RC3 (version 3.1.103) ] Release date: 28 jan 2016
1371
1372Upgrade urgency MODERATE: this release fixes a non trivial Sentinel crash.
1373
1374* [FIX] avg_ttl reporting in INFO improved. (Salvatore Sanfilippo)
1375* [FIX] Sentinel: improve handling of known Sentinel instances.
1376        (Salvatore Sanfilippo, thanks to Paweł Kowalczykf or the original
1377         crash report).
1378* [FIX] Redis Cluster address update (via gossip section) processing improved
1379        to avoid initiating inwanted handshakes.
1380
1381--[ Redis 3.2.0 RC2 (version 3.1.102) ] Release date: 25 jan 2016
1382
1383Upgrade urgency MODERATE: this release fixes important Redis Cluster bugs.
1384
1385* [FIX] Many fixes to MIGRATE multiple keys implementation. The command
1386        could handle errors in a faulty way leading to crashes or other
1387        unexpected behaviors. MIGRATE command refactoring.
1388        (The analysis of the faulty conditions was conducted by
1389         Kevin McGehee. The fix was developed by Salvatore Sanfilippo)
1390* [FIX] A Redis Cluster node crash was fixed because of wrong handling of
1391        node->slaveof pointers.
1392        (Reported by JackyWoo, fixed by Salvatore Sanfilippo)
1393* [FIX] Fix redis-trib rebalance when nodes need to be left empty because
1394        the specified weight is zero.
1395        (Reported by Shahar Mor, fixed by Salvatore Sanfilippo)
1396* [FIX] MIGRATE: Never send -ASK redirections for MIGRATE when there are
1397        open slots. Redis-trib and other cluster management utility must
1398        always be free to move keys between nodes about open slots, in order
1399        to reshard, fix the cluster configuration, and so forth.
1400        (Salvatore Sanfilippo)
1401* [FIX] Lua debugger crash when printing too deeply nested objects.
1402        (Reported by Paul Kulchenko, fixed by Salvatore Sanfilippo)
1403* [FIX] Redis-cli implementation of Lua debugging now allows to use the
1404        SCRIPT DEBUG command directly, switching to debugging mode as needed.
1405        (Reported by Paul Kulchenko, fixed by Salvatore Sanfilippo)
1406* [FIX] Redis-trib is now able to fix more errors. A new CLUSTER subcommand
1407        called BUMPEPOCH was introduced in order to support new modes
1408        for the "fix" subcommand. (Salvatore Sanfilippo)
1409* [NEW] Redis proctected mode: this feature improves Redis security and makes
1410        harder to run Redis in a configuration that is unsecure because no
1411        firewalling was used in order to protect Redis from external accesses.
1412        See this Reddit post for more info: https://www.reddit.com/r/redis/comments/3zv85m/new_security_feature_redis_protected_mode/ (Salvatore Sanfilippo)
1413* [NEW] Cluster/Sentinel tests now use OSX leak to perform leak detection
1414        at the end of every unit. (Salvatore Sanfilippo)
1415* [NEW] Detect and show server crashes during Cluster/Sentinel tests.
1416        (Salvatore Sanfilippo)
1417* [NEW] More reliable Cluster/Sentinel test becuase of timing errors and
1418        -LOADING errors. (Salvatore Sanfilippo)
1419
1420--[ Redis 3.2.0 RC1 (version 3.1.101) ] Release date: 23 dec 2015
1421
1422This is the first release candidate of Redis 3.2. The changelog above shows
1423what's new in this release. In the next of the following weeks we'll test
1424in depth every feature and we'll release new RCs as bugs are discovered
1425and fixed. Note that while 3.2 looks solid already, it contains many changes
1426to its internals. It's still fresh code compared to 3.0.
1427
1428General changes:
1429
1430* [NEW] Lua scripts "effect replication". Makes possible to write scripts
1431        with side effects, use of random commands, and so forth.
1432        (Salvatore Sanfilippo)
1433* [NEW] Lua scripts selective replication. Makes possible to replicate to
1434        slaves and AOF only selected parts of a script. (Design by
1435        Yossi Gottlieb and Salvatore Sanfilippo, implemented by Salvatore)
1436* [NEW] Geo indexing support via GEOADD, GEORADIUS and other commands.
1437        See http://redis.io/commands/geoadd for more information.
1438        (Initially implemented in a fork of Redis called "Ardb".
1439         Matt Stancliff "imported back" the work to Redis and created the
1440         initial API and implementation. Salvatore Sanfilippo modified
1441         the API and the implementation, fixed bugs, improved performances
1442         and unified the duplicated code with t_zset.c)
1443* [NEW] Lua debugger. A complete stepping, remote debugger for Lua scripts.
1444        Video here: https://www.youtube.com/watch?v=IMvRfStaoyM
1445        (Salvatore Sanfilippo with many feedbacks and testing from
1446         Itamar Haber)
1447* [NEW] SDS improvements for speed and maximum string length.
1448        This makes Redis more memory efficient in different use cases.
1449        (Design and implementation by Oran Agra, some additional work
1450         by Salvatore Sanfilippo)
1451* [NEW] Modify Jemalloc size classes to make certain Redis objects fit
1452        better, improving memory efficiency. (Oran Agra)
1453* [NEW] Better consistency behavior between masters and slaves for expired
1454        keys. The slaves are only able to logically consider a key expired
1455        even before receiving the `DEL` command from the master. This avoids
1456        the delay there is sometimes between the natural expire of the key
1457        and the moment the slave is notified. (Salvatore Sanfilippo)
1458* [NEW] Support daemon supervision by upstart or systemd (Pierre-Yves Ritschard)
1459* [NEW] New encoding for the List type: Quicklists. Very important memory
1460        savings and storage space in RDB gains (up to 10x sometimes).
1461        (Design and implementation by Matt Stancliff. RDB storage reworked
1462         by Salvatore Sanfilippo)
1463* [NEW] SPOP with optional count argument. (Initial implementation by
1464        Alon Diamant, mostly reimplemented by Salvatore Sanfilippo for speed
1465        and in order to make the replication of a this class of commands,
1466        having as logical effect the execution of multiple commands, possible).
1467* [NEW] Support for RDB AUX fields. Now RDB files contain additional info
1468        like the creation date, version of Redis generating it and so forth.
1469        (Salvatore Sanfilippo)
1470* [NEW] Faster RDB loading via the RESIZEDB opcode to avoid useless hash tables
1471        rehashings. (Salvatore Sanfilippo)
1472* [NEW] HSTRLEN command. (@landmime and Salvatore Sanfilippo)
1473* [NEW] CONFIG SET/GET implementations refactored, partially rewritten,
1474        now exposing more config options. (Salvatore Sanfilippo)
1475* [NEW] CLUSTER NODES major speedup. (Salvatore Sanfilippo)
1476* [NEW] CLIENT KILL TYPE MASTER, to kill (disconnect) masters from slaves.
1477        (Salvatore Sanfilippo)
1478* [NEW] Jemalloc updated to 4.0.3 (Salvatore Sanfilippo)
1479* [NEW] DEBUG RESTART/CRASH-AND-RECOVER [delay] (Salvatore Sanfilippo)
1480* [NEW] CLIENT REPLY command implemented: ON, OFF and SKIP modes.
1481        (Salvatore Sanfilippo)
1482* [NEW] Crash report produced by Redis on crash improved. (Salvatore Sanfilippo)
1483* [NEW] Better memory test on crash. (Salvatore Sanfilippo)
1484
1485Redis Cluster changes:
1486
1487All the Redis Cluster changes in 3.2 were backported to 3.0, so there is
1488technically nothing new for now in this release. The most important things
1489are:
1490
1491* Cluster rebalancing.
1492* A pipelined MIGRATE command which is 10x faster and makes resharding
1493  and rebalancing faster.
1494* Improved replicas migration.
1495* As a side effect of quicklists encoding (see above items), moving big
1496  lists between nodes is now a lot faster.
1497
1498Redis Sentinel changes:
1499
1500* [NEW] Sentinel connection sharing. Makes Sentinels able to scale to
1501        monitor many masters. (Salvatore Sanfilippo)
1502* [NEW] New SENTINEL INFO-CACHE command. (Matt Stancliff)
1503* More things backported to Redis 3.0 in the past, so no longer news of 3.2.
1504
1505Migrating from 3.0 to 3.2
1506=========================
1507
1508Redis 3.0 is mostly a strict subset of 3.2, you should not have any problem
1509upgrading your application from 3.0 to 3.2. However this is a list of small
1510non-backward compatible changes introduced in the 3.2 release:
1511
1512* The default configuration file now binds to 127.0.0.1.
1513* Slaves try to no longer expose stale data about already expired keys.
1514* The RDB format changed. Redis 3.2 is still able to read 3.0 (and all the
1515  past versions) files, but not the other way around.
1516* Behavior on crash may be different. The crash log format changed and
1517  the memory test executed is now different.
1518
1519--------------------------------------------------------------------------------
1520
1521Credits: For each release, a list of changes with the relative author is
1522provided. Where not specified the implementation and design is done by
1523Salvatore Sanfilippo. Thanks to Redis Labs for making all this possible.
1524Also many thanks to all the other contributors and the amazing community
1525we have.
1526
1527Commit messages may contain additional credits.
1528
1529Cheers,
1530Salvatore
1531