-
Notifications
You must be signed in to change notification settings - Fork 0
/
00-RELEASENOTES
3311 lines (2529 loc) · 112 KB
/
00-RELEASENOTES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Redis 5.0 release notes
=======================
--------------------------------------------------------------------------------
Upgrade urgency levels:
LOW: No need to upgrade unless there are new features you want to use.
MODERATE: Program an upgrade of the server, but it's not urgent.
HIGH: There is a critical bug that may affect a subset of users. Upgrade!
CRITICAL: There is a critical bug affecting MOST USERS. Upgrade ASAP.
SECURITY: There are security fixes in the release.
--------------------------------------------------------------------------------
================================================================================
Redis 5.0.7 Released Tue Nov 19 17:52:44 CET 2019
================================================================================
Upgrade urgency HIGH: many issues fixed, some may have an impact.
Hi all, Redis 5.0.7 fixes a number of bugs, none is very critical, however
there are a few that may have an impact. It's a good idea to upgrade.
There are fixes in the area of replication from modules commands and
callbacks, AOF fsync (non critical issue), memory leaks (very rare and small),
streams beahvior (non critical), and a potential crash in commands
processing multiple keys at the same time that is there for years, and happens
very rarely, but is not impossible to trigger.
The following is the list of commits in this release.
antirez in commit 4d2a31ae:
Test: fix implementation-dependent test after code change.
1 file changed, 2 insertions(+), 2 deletions(-)
Oran Agra in commit 9f63fc98:
RED-31295 - redis: avoid race between dlopen and thread creation
2 files changed, 17 insertions(+)
antirez in commit 1a9e70c1:
Cluster: fix memory leak of cached master.
2 files changed, 9 insertions(+), 4 deletions(-)
Guy Benoish in commit 69b1b5be:
Fix usage of server.stream_node_max_*
1 file changed, 3 insertions(+), 3 deletions(-)
喜欢兰花山丘 in commit 1fd97ee7:
Update mkreleasehdr.sh
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 1a9855d7:
Remove additional space from comment.
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 32a6e3e4:
Fix stream test after addition of 0-0 ID test.
1 file changed, 3 insertions(+), 3 deletions(-)
Yuan Zhou in commit c9e6cda9:
aof: fix assignment for aof_fsync_offset
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit d3eeacf9:
Merge branch '5.0' of github.com:/antirez/redis into 5.0
antirez in commit da5dc458:
Rename var to fixed_time_expire now that is more general.
4 files changed, 7 insertions(+), 8 deletions(-)
antirez in commit 0fefed25:
Fix patch provided in #6554.
1 file changed, 8 insertions(+), 1 deletion(-)
zhaozhao.zz in commit e9fbc960:
expires & blocking: handle ready keys as call()
1 file changed, 5 insertions(+)
Guy Benoish in commit 08ec8f71:
XADD with ID 0-0 stores an empty key
2 files changed, 14 insertions(+)
Loris Cro in commit 09e1fe27:
fix unreported overflow in autogerenared stream IDs
2 files changed, 19 insertions(+), 10 deletions(-)
Salvatore Sanfilippo in commit 09f9e4b0:
Merge pull request #6600 from oranagra/5_module_flags
Oran Agra in commit 8d8d68dd:
module documentation mismatches: loading and fork child for 5.0 branch
3 files changed, 11 insertions(+)
antirez in commit 7a7fbe70:
Modules: RM_GetContextFlags(): remove non Redis 5 features.
1 file changed, 3 deletions(-)
antirez in commit b5830486:
Modules: fix moduleCreateArgvFromUserFormat() casting bug.
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit b7a2a53a:
module: fix propagation API bug.
1 file changed, 2 insertions(+), 2 deletions(-)
antirez in commit 278bd6e3:
Modules: add new flags to context, replica state + more.
2 files changed, 48 insertions(+), 1 deletion(-)
antirez in commit 61d9a154:
Modules: RM_Call(): give pointer to documentation.
1 file changed, 4 insertions(+), 1 deletion(-)
antirez in commit 0e7ea0aa:
Modules: RM_Call/Replicate() ability to exclude AOF/replicas.
1 file changed, 28 insertions(+), 9 deletions(-)
antirez in commit 3b38164e:
Modules: RM_Replicate() in thread safe contexts.
1 file changed, 26 insertions(+), 4 deletions(-)
antirez in commit ef9fe9b0:
Modules: implement RM_Replicate() from async callbacks.
2 files changed, 33 insertions(+), 2 deletions(-)
antirez in commit 8066d2a1:
Modules: handle propagation when ctx is freed. Flag modules commands ctx.
1 file changed, 23 insertions(+), 19 deletions(-)
antirez in commit d3f4dec4:
Update PR #6537: use a fresh time outside call().
3 files changed, 27 insertions(+), 7 deletions(-)
antirez in commit 33f42665:
Update PR #6537 patch to for generality.
4 files changed, 40 insertions(+), 23 deletions(-)
zhaozhao.zz in commit 68d71d83:
expires: refactoring judgment about whether a key is expired
3 files changed, 3 insertions(+), 1 deletion(-)
antirez in commit 62588dbf:
Modules: fix thread safe context creation crash.
1 file changed, 1 insertion(+), 1 deletion(-)
================================================================================
Redis 5.0.6 Released Wed Sep 25 12:33:56 CEST 2019
================================================================================
Upgrade urgency CRITICAL: Only in case of exposed instances to untrusted users.
This Redis release, 5.0.6, is a bugfix and enhancement release. The most
important bugfix is a corruption related to the HyperLogLog. A malformed
HyperLogLog string could cause an invalid access to the memory. At a first
glance the vulnerability appears to be not exploitable but just a DoS. The
way to trigger the issue is complex, we'll not provide any information about
how to do that for the users safety.
Other significant changes in this release:
* New modules APIs merged from Redis unstable to Redis 5.
* Some memory optimization related to objects creation.
* Fixes to flushSlaveOutputBuffer() that make sure that SHUTDOWN will
transfer pending buffers to replicas.
This is the full list of commits:
antirez in commit 7a41047a:
RDB: fix MODULE_AUX loading by continuing to next opcode.
1 file changed, 1 insertion(+)
Oran Agra in commit 4eb3028b:
missing per-skiplist overheads in MEMORY USAGE
1 file changed, 3 insertions(+), 1 deletion(-)
Oran Agra in commit 5d09f9bc:
RM_Log - add support for logging without a context or context without module
1 file changed, 6 insertions(+), 4 deletions(-)
antirez in commit 2810de9f:
Cluster: abort loading nodes data if vars arguments are unbalanced.
1 file changed, 1 insertion(+)
antirez in commit f5c63ce0:
More strict checks and better comments in flushSlaveOutputBuffers().
1 file changed, 18 insertions(+), 7 deletions(-)
antirez in commit 7f289c3b:
Improve comment in flushSlavesOutputBuffers().
1 file changed, 2 insertions(+), 1 deletion(-)
antirez in commit 7ab62d4b:
Replication: clarify why repl_put_online_on_ack exists at all.
2 files changed, 34 insertions(+), 10 deletions(-)
zhaozhao.zz in commit 495dd0da:
networking: flushSlavesOutputBuffers bugfix
1 file changed, 2 insertions(+), 4 deletions(-)
Salvatore Sanfilippo in commit c1ccf0f1:
Merge pull request #6366 from oranagra/5.0_rm_reply_cstring
Salvatore Sanfilippo in commit a50dad73:
Merge pull request #6365 from oranagra/5.0_module_aux
Oran Agra in commit d6294d05:
RM_ReplyWithCString was missing registration
1 file changed, 1 insertion(+)
Oran Agra in commit 8c56fc86:
Fix to module aux data rdb format for backwards compatibility with old check-rdb
1 file changed, 9 insertions(+), 1 deletion(-)
Oran Agra in commit 98b1314f:
Implement module api for aux data in rdb
9 files changed, 431 insertions(+), 18 deletions(-)
antirez in commit 08b03e23:
redis-cli: always report server errors on read errors.
1 file changed, 8 insertions(+), 1 deletion(-)
wubostc in commit 239069de:
Reduce the calling stack
1 file changed, 2 insertions(+), 3 deletions(-)
antirez in commit 90bf6313:
Make EMBSTR case of #6261 more obvious.
1 file changed, 1 insertion(+), 1 deletion(-)
chendianqiang in commit 2f8a0749:
make memory usage consistent of robj with OBJ_ENCODING_INT
1 file changed, 9 insertions(+), 4 deletions(-)
antirez in commit 436ed56d:
HyperLogLog: fix the fix of a corruption bug.
1 file changed, 1 insertion(+), 2 deletions(-)
John Sully in commit 680f89fb:
Fix HLL corruption bug
1 file changed, 1 insertion(+)
swilly22 in commit 388efbf8:
Extend REDISMODULE_CTX_FLAGS to indicate if redis is currently loading from either RDB or AOF
2 files changed, 5 insertions(+)
Itamar Haber in commit 0ccbdcee:
Uses addReplyBulkCString
1 file changed, 1 insertion(+), 1 deletion(-)
Itamar Haber in commit 707a59c6:
Adds RedisModule_ReplyWithCString
2 files changed, 13 insertions(+)
================================================================================
Redis 5.0.5 Released Wed May 15 17:57:41 CEST 2019
================================================================================
Upgrade urgency CRITICAL: This release fixes an important AOF fysnc bug
and other less critical issues.
Dear user,
Redis 5.0.5 fixes an important issue with AOF and adds multiple very useful
modules APIs. Moreover smaller bugs in other parts of Redis are fixed in
this release.
The AOF bug
-----------
The AOF bug happens when the fsync policy is set to "everysec", which is the
default: if the write load in the server drops immediately, the commands
executed in the latest second may not be fsync-ed to disk as it should.
This may lead to data loss in case the write load drops immediately and
successively a server crash happens.
Other things in this release
----------------------------
* Streams: a bug in the iterator could prevent certain items to be returned in
range queries under specific conditions.
* Memleak in bitfieldCommand fixed.
* Modules API: Preserve client->id for blocked clients.
* Fix memory leak when rewriting config file in case of write errors.
* New modules API: RedisModule_GetKeyNameFromIO().
* Fix non critical bugs in diskless replication.
* New mdouels API: command filtering. See RedisModule_RegisterCommandFilter();
* Tests improved to be more deterministic.
* Fix a Redis Cluster bug, manual failover may abort because of the master
sending PINGs to the replicas.
The following is the full list of commmits.
Regards,
Salvatore
Christian Zeller in commit 1cac9b4b:
Typo fixes in CONTRIBUTING
1 file changed, 2 insertions(+), 2 deletions(-)
antirez in commit f63c5c7b:
Update CONTRIBUTING with present info.
1 file changed, 15 insertions(+), 5 deletions(-)
antirez in commit 668661da:
Narrow the effects of PR #6029 to the exact state.
1 file changed, 17 insertions(+), 5 deletions(-)
chendianqiang in commit 3c2800e3:
stop ping when client pause
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 7ac7ffd5:
Test: fix slowlog test false positive.
1 file changed, 3 insertions(+), 1 deletion(-)
antirez in commit cc101721:
Make comment in getClientOutputBufferMemoryUsage() describing the present.
1 file changed, 1 insertion(+), 8 deletions(-)
WuYunlong in commit 72420b0d:
Do not active expire keys in the background when the switch is off.
1 file changed, 6 insertions(+), 4 deletions(-)
liaotonglang in commit 33a50d24:
delete sdsTest() from REDIS_TEST
1 file changed, 2 deletions(-)
zhaozhao.zz in commit 6a92836f:
test cases: skiptill -> skip-till
1 file changed, 1 insertion(+), 1 deletion(-)
Oran Agra in commit f179f71e:
make replication tests more stable on slow machines
3 files changed, 34 insertions(+), 4 deletions(-)
Yossi Gottlieb in commit 1825a4ec:
Add runtest-moduleapi with commandfilter coverage.
5 files changed, 63 insertions(+), 28 deletions(-)
Yossi Gottlieb in commit 9d20fdb4:
fix: missing initialization.
3 files changed, 1 insertion(+)
antirez in commit ded1980e:
Test: disable module testing for now.
1 file changed, 1 deletion(-)
Yossi Gottlieb in commit c3df78c2:
CommandFilter API: REDISMODULE_CMDFILTER_NOSELF.
4 files changed, 62 insertions(+), 15 deletions(-)
Yossi Gottlieb in commit 8d38ef20:
CommandFilter API: fix UnregisterCommandFilter.
1 file changed, 2 insertions(+), 3 deletions(-)
Yossi Gottlieb in commit 9b7009b1:
CommandFilter API: Add unregister option.
4 files changed, 126 insertions(+), 32 deletions(-)
Yossi Gottlieb in commit 05802442:
CommandFilter API: Extend documentation.
1 file changed, 43 insertions(+), 5 deletions(-)
Yossi Gottlieb in commit d5194daf:
CommandFilter API: hellofilter and tests.
2 files changed, 47 insertions(+), 5 deletions(-)
Yossi Gottlieb in commit 8897c154:
CommandFilter API: Support Lua and RM_call() flows.
2 files changed, 18 insertions(+), 7 deletions(-)
Yossi Gottlieb in commit 6dd5bad4:
CommandFilter API: More cleanup.
2 files changed, 10 insertions(+), 29 deletions(-)
Yossi Gottlieb in commit 83026101:
Add command filter Module API tests.
2 files changed, 28 insertions(+)
Yossi Gottlieb in commit dc5edc7b:
Add command filtering argument handling API.
3 files changed, 132 insertions(+), 13 deletions(-)
Yossi Gottlieb in commit 5f29e2e2:
Initial command filter experiment.
6 files changed, 161 insertions(+), 2 deletions(-)
Oran Agra in commit e1839ab3:
diskless fork kept streaming RDB to a disconnected slave
1 file changed, 10 insertions(+)
Oran Agra in commit 3b207b89:
diskless replication - notify slave when rdb transfer failed
1 file changed, 1 insertion(+)
antirez in commit 7e350b09:
More sensible name for function: restartAOFAfterSYNC().
1 file changed, 7 insertions(+), 3 deletions(-)
antirez in commit 91238a60:
Mostly aesthetic changes to restartAOF().
1 file changed, 7 insertions(+), 3 deletions(-)
oranagra in commit ee2da67c:
bugfix to restartAOF, exit will never happen since retry will get negative.
1 file changed, 5 insertions(+), 4 deletions(-)
Oran Agra in commit 78022492:
Add log when server dies of SIGTERM during loading
1 file changed, 1 insertion(+)
Yossi Gottlieb in commit 232dca7f:
Add RedisModule_GetKeyNameFromIO().
8 files changed, 30 insertions(+), 17 deletions(-)
antirez in commit 7f98129a:
MANIFESTO: simplicity and lock-in.
1 file changed, 5 insertions(+), 1 deletion(-)
antirez in commit 71265fe3:
MANIFESTO v2.
1 file changed, 41 insertions(+), 6 deletions(-)
yongman in commit 8115be6e:
Fix uint64_t hash value in active defrag
1 file changed, 3 insertions(+), 3 deletions(-)
Angus Pearson in commit 90e7b5a9:
Enlarge error buffer in redis-check-aof.c to remove compiler warning of output truncation through snprintf format string
1 file changed, 1 insertion(+), 1 deletion(-)
zhaozhao.zz in commit 43151baf:
fix memory leak when rewrite config file
1 file changed, 3 insertions(+), 4 deletions(-)
唐权 in commit d3c17c9d:
Update ziplist.c
1 file changed, 1 insertion(+), 1 deletion(-)
stan011 in commit 296bd097:
change the comments there may have a mis type
1 file changed, 1 insertion(+), 1 deletion(-)
Yossi Gottlieb in commit e08c9c15:
Preserve client->id for blocked clients.
1 file changed, 4 insertions(+), 1 deletion(-)
zhaozhao.zz in commit c6b1252f:
aof: enhance AOF_FSYNC_EVERYSEC, more details in #5985
2 files changed, 32 insertions(+), 3 deletions(-)
David Carlier in commit ce54e299:
build fix
1 file changed, 1 insertion(+)
yongman in commit c9274498:
Fix memleak in bitfieldCommand
1 file changed, 8 insertions(+), 2 deletions(-)
James Rouzier in commit 635d8d83:
Fix start and end key initialize
1 file changed, 2 insertions(+), 2 deletions(-)
Salvatore Sanfilippo in commit 7c23e534:
Merge pull request #6047 from abhaynahar/removed-obsolete-warning-5.0
abhay in commit 9ea8ec42:
removed obsolete warning as per - https://github.com/antirez/redis/issues/5291
1 file changed, 1 insertion(+), 7 deletions(-)
antirez in commit 1b7407fa:
Aesthetic change to #5962 to conform to Redis style.
1 file changed, 1 insertion(+), 3 deletions(-)
Oran Agra in commit 3bbf9747:
slave corrupts replication stream when module blocked client uses large reply (or POSTPONED_ARRAY)
3 files changed, 15 insertions(+), 6 deletions(-)
================================================================================
Redis 5.0.4 Released Mon Mar 18 17:12:53 CET 2019
================================================================================
Upgrade urgency HIGH: This release fixes several Redis stability issues.
Dear Redis users, this release includes a number of fixes for bugs that may
result in Redis crashing in special conditions (not normal usage, but specific
artificial conditions), fixes to certain Redis behaviors especially around
Redis streams, and finally a set of new APIs for Redis Modules.
Specifically:
* Hyperloglog different coding errors leading to potential crashes were fixed.
* A replication bug leading to a potential crash in case of plain misuse of handshake commands was fixed.
* XCLAIM command incrementing of number of deliveries was fixed.
* LFU field management in objects was improved.
* A potential overflow in the redis-check-aof was fixed.
* A memory leak in case of API misuse was fixed.
* ZPOP* behavior when count is 0 is fixed.
* A few redis-cli --cluster bugs were fixed, plus a few improvements.
* Many other smaller bugs.
We suggest to upgrade Redis, especially in case your instance is facing
untrusted users (for instance Cloud providers) because several of these
bugs could result in unwanted crashes.
This is the list of commits:
antirez in commit 84bdd440:
HyperLogLog: fix comment in hllCount().
1 file changed, 2 insertions(+), 2 deletions(-)
antirez in commit ef1833b3:
HyperLogLog: handle wrong offset in the base case.
1 file changed, 2 insertions(+), 6 deletions(-)
antirez in commit 623afd5e:
HyperLogLog: speedup fuzz test.
1 file changed, 1 insertion(+), 2 deletions(-)
antirez in commit 12b5ff10:
HyperLogLog: enlarge reghisto variable for safety.
1 file changed, 6 insertions(+), 1 deletion(-)
antirez in commit 254d897e:
HyperLogLog: dense/sparse repr parsing fuzz test.
1 file changed, 29 insertions(+)
John Sully in commit 7f79849c:
Fix hyperloglog corruption
1 file changed, 6 insertions(+)
Brad Solomon in commit 3ef2c831:
Provide an uninstall target in Makefile
1 file changed, 3 insertions(+)
antirez in commit 57aea463:
redis-check-aof: fix potential overflow.
1 file changed, 2 insertions(+), 2 deletions(-)
antirez in commit ba5145b8:
Fix objectSetLRUOrLFU() when LFU underflows.
1 file changed, 11 insertions(+), 7 deletions(-)
antirez in commit 76c59f0e:
Fix ZPOP return type when COUNT=0. Related to #5799.
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 1c636714:
Improve comments after merging #5834.
2 files changed, 14 insertions(+), 8 deletions(-)
Guy Benoish in commit 6a3fca4c:
Trim SDS free space of retained module strings
4 files changed, 28 insertions(+), 5 deletions(-)
Guy Benoish in commit 9ec144ea:
Fix mismatching keyspace notification classes
2 files changed, 2 insertions(+), 2 deletions(-)
Guy Benoish in commit d04b5211:
Fix zlexrangespec mem-leak in genericZrangebylexCommand
1 file changed, 4 insertions(+), 1 deletion(-)
Guy Benoish in commit 516f1c77:
Use memtoll() in 'CONFIG SET client-output-buffer-limit'
1 file changed, 2 insertions(+), 2 deletions(-)
Guy Benoish in commit 8db67a55:
Increase string2ld's buffer size (and fix HINCRBYFLOAT)
2 files changed, 5 insertions(+), 1 deletion(-)
Guy Benoish in commit db3d626b:
Check server.verbosity in RM_LogRaw
1 file changed, 2 insertions(+)
Guy Benoish in commit 71439a07:
ZPOP should return an empty array if COUNT=0
1 file changed, 4 insertions(+), 1 deletion(-)
antirez in commit c8a26834:
Modules shared API: export new core APIs.
2 files changed, 6 insertions(+)
antirez in commit a13ba750:
Modules shared API: also unregister the module as user.
1 file changed, 23 insertions(+)
antirez in commit 500e5117:
Modules shared API: prevent unloading of used modules.
1 file changed, 10 insertions(+), 4 deletions(-)
antirez in commit 7854daa1:
Modules shared API: unregister APIs function.
1 file changed, 25 insertions(+)
antirez in commit d38d82af:
Modules shared API: initial core functions.
2 files changed, 89 insertions(+), 1 deletion(-)
antirez in commit 4d747bb8:
Revert shared APIs to modify the design.
3 files changed, 120 deletions(-)
MeirShpilraien in commit 8824b509:
added module ability to register api to be used by other modules
3 files changed, 120 insertions(+)
zhaozhao.zz in commit 000b055b:
Streams: checkType before XGROUP CREATE
1 file changed, 7 insertions(+), 5 deletions(-)
antirez in commit 9b2a0d54:
Fix BZPOP arity, backport from fix in cd2743c.
1 file changed, 2 insertions(+), 2 deletions(-)
chendianqiang in commit 134b2582:
optimize cluster failover
1 file changed, 1 insertion(+)
Steve Webster in commit 1293e2a5:
Only increment delivery count if JUSTID option is omitted
2 files changed, 18 insertions(+), 3 deletions(-)
Steve Webster in commit 3cc4f469:
Increment delivery counter on XCLAIM unless RETRYCOUNT specified
2 files changed, 35 insertions(+), 2 deletions(-)
antirez in commit f4edd2b9:
Merge branch '5.0' of github.com:/antirez/redis into 5.0
swilly22 in commit cedcc54e:
document additional flag of RM_GetContextFlags
1 file changed, 3 insertions(+)
swilly22 in commit 26e98da2:
Extend REDISMODULE_CTX_FLAGS to indicate if command was sent by master
2 files changed, 6 insertions(+)
Salvatore Sanfilippo in commit 0e910939:
Merge pull request #5879 from meierfra-ergon/redis-cli-assume-yes
antirez in commit 67452e91:
Make comment in #5911 stay inside 80 cols.
1 file changed, 2 insertions(+), 1 deletion(-)
John Sully in commit 30f666ef:
Replicas aren't allowed to run the replicaof command
1 file changed, 8 insertions(+)
Frank Meier in commit bc6c1c40:
extend use of cluster-yes option to other confimation questions
1 file changed, 9 insertions(+)
antirez in commit 76419d8d:
Merge branch '5.0' of github.com:/antirez/redis into 5.0
Oran Agra in commit 72ba6069:
redis-cli add support for --memkeys, fix --bigkeys for module types
1 file changed, 132 insertions(+), 81 deletions(-)
chendianqiang in commit 2ca21753:
fix replicationid will not change for server.masterhost==NULL in cluster mode when restart slave
1 file changed, 1 insertion(+), 1 deletion(-)
Salvatore Sanfilippo in commit bd7ddd79:
Merge pull request #5870 from fengweiyuan/5.0
varianfeng in commit d13bc143:
fix corrupt_rdb.c bug.Let the name of input rdb file name be valid.
1 file changed, 2 insertions(+), 1 deletion(-)
artix in commit 44c5bce0:
Cluster Manager: fix replica assigment anti-affinity (create)
1 file changed, 6 insertions(+)
artix in commit f066e526:
Cluster Manager: remove unused code elements
1 file changed, 8 insertions(+), 13 deletions(-)
Zhicheng Wei in commit 23214966:
fix clusterManagerGetAntiAffinityScore double free otypes
1 file changed, 2 insertions(+), 1 deletion(-)
antirez in commit 80bccd71:
Remove debugging printf from replication.tcl test.
1 file changed, 1 deletion(-)
================================================================================
Redis 5.0.3 Released Tue Dec 11 18:17:26 CET 2018
================================================================================
Upgrade urgency HIGH: Redis 5 is consolidating, upgrading is a good idea.
However there is nothing very critical here, but certain
issues resolved could lead to very rare crashes.
Welcome to Redis 5.0.3, several interesting bug fixes here:
* Redis no longer panics when you send data to a replica-mode connection that
is in MONITOR or SYNC mode.
* Fixes to certain sorted set edge cases. You are unlikely to ever notice those
issues, but now it is more correct.
* Certain BSD variants now are better supported: build & register logging
on crash.
* The networking core now recovers if an IPv6 address is listed in bind but
is actually not able to work because there is no such protocol in the
system.
* redis-cli cluster mode improved in many ways. Especially the fix subcommand
work was enhanced to cover other edge cases that were still not covered
after the work done for Redis 5.
* MEMORY USAGE is now more accurate.
* DEBUG DIGEST-VALUE added in case you want to make sure a given set of keys
(and not the whole DB) are excatly the same between two instances.
* Fix a potential crash in the networking code related to recent changes
to the way the reply is consumed.
* Reject EXEC containing write commands against an instance that changed role
from master to replica during our transaction.
* Fix a crash in KEYS and other commands using pattern matching, in an edge
case where the pattern contains a zero byte.
* Fix eviction during AOF loading due to maxmemory triggered by commands
executed in loading state.
The following is the list of commmits if you want to check credits or dig
further in the details.
commit 2c6ee0f9b3d9ca48c6da8bd18796186784216bff
Author: antirez <[email protected]>
Date: Wed Dec 12 11:37:15 2018 +0100
freeMemoryIfNeeded() small refactoring.
Related to issue #5686 and PR #5689.
commit 107e93e75acfd5def0252efb6870751940816395
Author: zhaozhao.zz <[email protected]>
Date: Wed Dec 12 00:25:24 2018 +0800
evict: don't care about mem if loading
When loading data, we call processEventsWhileBlocked
to process events and execute commands.
But if we are loading AOF it's dangerous, because
processCommand would call freeMemoryIfNeeded to evict,
and that will break data consistency, see issue #5686.
antirez in commit ee93dc0b:
Crashing is too much in addReplyErrorLength().
1 file changed, 6 deletions(-)
hdmg in commit c55254a5:
fix comments fault discription
1 file changed, 1 insertion(+), 1 deletion(-)
lsytj0413 in commit dfd25013:
fix a typo: craeted -> created
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 392a2566:
stringmatchlen() fuzz test added.
3 files changed, 22 insertions(+)
antirez in commit 7602f695:
Fix stringmatchlen() read past buffer bug.
1 file changed, 1 insertion(+), 1 deletion(-)
zhaozhao.zz in commit c4f3585e:
multi: ignore multiState's cmd_flags when loading AOF
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit d037e987:
Reject EXEC containing write commands against RO replica.
2 files changed, 20 insertions(+)
artix in commit e00ab324:
Cluster Manager: - Multiple owners checking in 'fix'/'check' commands is
now optional (using --cluster-search-multiple-owners). - Updated help.
1 file changed, 14 insertions(+), 5 deletions(-)
artix in commit 94f64de3:
Cluster Manager: FixOpenSlot now correctly updates in-memory cluster
configuration. Improved output messages.
1 file changed, 17 insertions(+), 5 deletions(-)
artix in commit 752d636f:
Cluster Manager: 'fix' command now handles open slots with migrating state
in one node and importing state in multiple nodes.
1 file changed, 74 insertions(+), 6 deletions(-)
artix in commit 552091f9:
Cluster Manager: setting new slot owner is now handled atomically in
'fix' command.
1 file changed, 72 insertions(+), 31 deletions(-)
artix in commit 2280f4f7:
Cluster Manager: code cleanup.
1 file changed, 41 insertions(+), 87 deletions(-)
artix in commit e084b8cc:
Cluster Manager: check/fix commands now handle multiple owners even
if all slots are covered and not open.
1 file changed, 129 insertions(+), 6 deletions(-)
zhaozhao.zz in commit fa726e2a:
remove useless tryObjectEncoding in debug assert
1 file changed, 1 deletion(-)
Oran Agra in commit 40244b10:
fix #5580, display fragmentation and rss overhead bytes as signed
2 files changed, 6 insertions(+), 6 deletions(-)
zhaozhao.zz in commit beab3151:
networking: current_client should not be NULL when trim qb_pos
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 07ccb642:
Remove no longer relevant comment in processCommand().
1 file changed, 2 insertions(+), 6 deletions(-)
antirez in commit 60fdaf07:
DEBUG DIGEST-VALUE implemented.
1 file changed, 17 insertions(+), 3 deletions(-)
antirez in commit 48b31b0d:
DEBUG DIGEST refactoring: extract function to digest a value.
1 file changed, 142 insertions(+), 131 deletions(-)
yura in commit ef3ff402:
redis-cli reshard/rebalance: ability to force replacement on existing keys
1 file changed, 6 insertions(+), 5 deletions(-)
Thomas Orozco in commit ee223fb8:
cli: pass auth through REDISCLI_AUTH
1 file changed, 14 insertions(+)
yongman in commit 41295e55:
Fix cluster call reply format readable
1 file changed, 1 insertion(+), 1 deletion(-)
Oran Agra in commit 0ed3970f:
fix small test suite race conditions
3 files changed, 11 insertions(+)
zhaozhao.zz in commit 605dddbb:
MEMORY command: make USAGE more accurate
1 file changed, 7 insertions(+), 6 deletions(-)
yongman in commit 1f43bf29:
Fix choose a random master node for slot assignment
1 file changed, 29 insertions(+), 5 deletions(-)
Weiliang Li in commit 69f0c678:
fix comment typo in util.c
1 file changed, 1 insertion(+), 1 deletion(-)
Chris Lamb in commit bc53a3ab:
Clarify the "Creating Server TCP listening socket" error.
1 file changed, 1 insertion(+), 1 deletion(-)
Chris Lamb in commit fefe5460:
Don't treat unsupported protocols as fatal errors
1 file changed, 4 insertions(+)
David Carlier in commit a8862972:
OpenBSD support.
3 files changed, 74 insertions(+), 1 deletion(-)
David Carlier in commit 5e86daf9:
Backtrace/register dump on BSD.
3 files changed, 97 insertions(+), 3 deletions(-)
Guy Benoish in commit 7c8cf5ac:
Don't call sdscmp() with shared.maxstring or shared.minstring
2 files changed, 23 insertions(+), 9 deletions(-)
Qu Chen in commit 39e9eda3:
Add unit test for stream XCLAIM command.
1 file changed, 48 insertions(+)
antirez in commit 62485232:
Abort instead of crashing when loading bad stream master key.
1 file changed, 3 insertions(+)
Madelyn Olson in commit a5487309:
Fixed a serverPanic when sending an invalid command to a monitor client
1 file changed, 1 insertion(+), 1 deletion(-)
================================================================================
Redis 5.0.2 Released Thu Nov 22 11:22:37 CET 2018
================================================================================
Upgrade urgency: CRITICAL if you use streams and consumer groups.
HIGH if you use redis-cli with Redis Cluster.
LOW otherwise.
Welcome to Redis 5.0.2. This release fixes two issues with Streams consumer
groups, where items could be returned duplicated by XREADGROUP when accessing
the history, and another bug where XREADGROUP can report some history even
if the comsumer pending list is empty. Both problems were addressed and unit
tests to avoid regressions implemented. Moreover this release fixes some
issue with redis-cli when in cluster mode. Finally some FreeBSD and DragonFly
build problems are now resolved. The list of the commits is below.
Enjoy,
Salvatore
David Carlier in commit e8b4291a:
DragonFlyBSD little build fix
2 files changed, 6 insertions(+), 1 deletion(-)
yongman in commit 8fcfd374:
skip slave nodes when sending cluster setslot command
1 file changed, 1 insertion(+)
yongman in commit d7089ddd:
Fix pointer access and memory leak in redis-cli.
1 file changed, 6 insertions(+), 3 deletions(-)
antirez in commit 17b4cd83:
Test: regression test for #5570.
1 file changed, 15 insertions(+)
antirez in commit 45123169:
Stream: fix XREADGROUP history reading of deleted messages.
1 file changed, 1 insertion(+), 1 deletion(-)
David Carlier in commit 5ad588f0:
only FreeBSD change/little warning addressing
2 files changed, 7 insertions(+), 4 deletions(-)
David Carlier in commit 11801e1a:
tweak form feedback
1 file changed, 1 insertion(+), 1 deletion(-)
David Carlier in commit c1f13575:
allow flavors
1 file changed, 1 insertion(+), 1 deletion(-)
David Carlier in commit 275a2d49:
Fix clang build.
1 file changed, 5 insertions(+), 1 deletion(-)
antirez in commit 44ad5141:
Test: regression test for #5577.
1 file changed, 24 insertions(+)
antirez in commit c7951f43:
Streams: fix XREADGROUP history reading when CG last_id is low.
1 file changed, 12 insertions(+), 9 deletions(-)
antirez in commit a69bc5be:
t_stream.c comment resized to 80 cols.
1 file changed, 2 insertions(+), 1 deletion(-)
antirez in commit 5314099d:
Redis 5 changelog: don't expect Lua replies to be ordered.
1 file changed, 14 insertions(+), 5 deletions(-)
================================================================================
Redis 5.0.1 Released Wed Nov 07 13:09:30 CET 2018
================================================================================
Upgrade urgency: URGENT if you use Redis Streams. MODERATE otherwise.
Hi all, this is the first patch level release of Redis 5. It contains
both fixes and improvements. Here there is a list of the major ones, however
read the commit messages at the end of the changelog if you want to know
more about the smaller things. Let's start with the new features:
* Sentinel now supports authentication! Check the Sentinel official doc
for more info.
* Redis-cli cluster "fix" is now able to fix a big number of clusters put
in a bad condition. Previously many corner cases were not covered.
Now the critical fixes:
1. Fix RESTORE mismatch reply when certain keys already expired.
2. Fix an XCLAIM non trivial issue: sometimes the command returned a wrong
entry or desynchronized the protocol.
And now the other fixes:
3. Stack trace generation on the Raspberry PI (and 32bit ARM) fixed.
4. Don't evict expired keys when the KEYS command is called, in order to
avoid a mass deletion event. However expired keys are not displayed
by KEYS as usually.
5. Improvements in the computation of the memory used, when estimating
the AOF buffers.
6. XRANGE COUNT of 0 fixed.
7. "key misses" stats accounting fixed. Many cache misses were not counted.
8. When in MULTI state, return OOM while accumulating commands and there
is no longer memory available.
9. Fix build on FreeBSD and possibly others.
10. Fix a crash in Redis modules, thread safe context reply accumulation.
11. Fix a race condition when producing the RDB file for full SYNC.
12. Disable protected mode in Sentinel.
13. More commands now have the HELP subcommand.
14. Fixed an issue about adaptive server HZ timer.
15. Fix cluster-replica-no-failover option name.
Finally, this is the list of commits. Enjoy Redis 5.0.1!