forked from tporadowski/redis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
00-RELEASENOTES
3544 lines (2704 loc) · 120 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.10 Released Mon Oct 26 09:21:49 IST 2020
================================================================================
Upgrade urgency: SECURITY if you use an affected platform (see below).
Otherwise the upgrade urgency is MODERATE.
This release fixes a potential heap overflow when using a heap allocator other
than jemalloc or glibc's malloc. See:
https://github.com/redis/redis/pull/7963
Other fixes in this release:
* Avoid case of Lua scripts being consistently aborted due to OOM
* XPENDING will not update consumer's seen-time
* A blocked XREADGROUP didn't propagated the XSETID to replicas / AOF
* UNLINK support for streams
* RESTORE ABSTTL won't store expired keys into the DB
* Hide AUTH from MONITOR
* Cluster: reduce spurious PFAIL/FAIL states upon delayed PONG receival
* Cluster: Fix case of clusters mixing accidentally by gossip
* Cluster: Allow blocked XREAD on a cluster replica
* Cluster: Optimize memory usage CLUSTER SLOTS command
* RedisModule_ValueLength support for stream data type
* Minor fixes in redis-check-rdb and redis-cli
* Fix redis-check-rdb support for modules aux data
* Add fsync in replica when full RDB payload was received
Full list of commits:
Yossi Gottlieb in commit ce0d74d8f:
Fix wrong zmalloc_size() assumption. (#7963)
1 file changed, 3 deletions(-)
Yossi Gottlieb in commit 066699240:
Backport Lua 5.2.2 stack overflow fix. (#7733)
1 file changed, 1 insertion(+), 1 deletion(-)
WuYunlong in commit 8a90c7ef3:
Add fsync to readSyncBulkPayload(). (#7839)
1 file changed, 11 insertions(+)
Ariel Shtul in commit f0df2bb3c:
Fix redis-check-rdb support for modules aux data (#7826)
3 files changed, 21 insertions(+), 1 deletion(-)
hwware in commit 7add2a412:
fix memory leak in sentinel connection sharing
1 file changed, 1 insertion(+)
Oran Agra in commit 315e648f8:
Allow blocked XREAD on a cluster replica (#7881)
3 files changed, 100 insertions(+), 2 deletions(-)
guybe7 in commit 4967ee94e:
Modules: Invalidate saved_oparray after use (#7688)
1 file changed, 2 insertions(+)
antirez in commit 065003e8f:
Modules: remove spurious call from moduleHandleBlockedClients().
1 file changed, 1 deletion(-)
Angus Pearson in commit 6cdf62928:
Fix broken interval and repeat bahaviour in redis-cli (incluing cluster mode)
1 file changed, 11 insertions(+), 6 deletions(-)
antirez in commit cb6a4971c:
Cluster: introduce data_received field.
2 files changed, 27 insertions(+), 10 deletions(-)
Madelyn Olson in commit 83f4de865:
Hide AUTH from monitor
1 file changed, 1 insertion(+), 1 deletion(-)
Guy Benoish in commit 3ba08d185:
Support streams in general module API functions
3 files changed, 11 insertions(+), 1 deletion(-)
Itamar Haber in commit 109c0635c:
Expands lazyfree's effort estimate to include Streams (#5794)
1 file changed, 24 insertions(+)
huangzhw in commit 235210d5b:
defrag.c activeDefragSdsListAndDict when defrag sdsele, We can't use (#7492)
1 file changed, 1 insertion(+), 1 deletion(-)
Oran Agra in commit fdd3162fe:
RESTORE ABSTTL skip expired keys - leak (#7511)
1 file changed, 1 insertion(+)
Oran Agra in commit 6139d6d18:
RESTORE ABSTTL won't store expired keys into the db (#7472)
4 files changed, 45 insertions(+), 15 deletions(-)
Liu Zhen in commit 0f502c58d:
fix clusters mixing accidentally by gossip
1 file changed, 10 insertions(+), 2 deletions(-)
Guy Benoish in commit 37fd50718:
XPENDING should not update consumer's seen-time
4 files changed, 30 insertions(+), 18 deletions(-)
antirez in commit a3ca53e4a:
Also use propagate() in streamPropagateGroupID().
1 file changed, 11 insertions(+), 1 deletion(-)
yanhui13 in commit 7a62eb96e:
optimize the output of cluster slots
1 file changed, 7 insertions(+), 4 deletions(-)
srzhao in commit 0efb93d0c:
Check OOM at script start to get stable lua OOM state.
3 files changed, 11 insertions(+), 4 deletions(-)
================================================================================
Redis 5.0.9 Released Thu Apr 17 12:41:00 CET 2020
================================================================================
Upgrade urgency:CRITICAL if you use Streams with AOF ore replicas.
Otherwise the upgrade urgency is LOW.
This release has a speed improvement and a critical fix:
* FIX: XREADGROUP when fetching data in a blocking way, would not
emit the XCLAIM in the AOF file and to replicas. This means
that the last ID is not updated, and that restarting the server
will have the effect of reprocessing some entries.
* NEW: Clients blocked on the same key are now unblocked on
O(1) time. Backported from Redis 6.
Commits:
1fc8ef81a Fix XCLAIM propagation in AOF/replicas for blocking XREADGROUP.
a5e24eabc Speedup: unblock clients on keys in O(1).
================================================================================
Redis 5.0.8 Released Thu Mar 12 16:05:41 CET 2020
================================================================================
Upgrade urgency HIGH: This release fixes security issues.
This is a list of fixes in this release:
Salvatore Sanfilippo in commit 2bea502d:
Merge pull request #6975 from dustinmm80/add-arm-latomic-linking
Dustin Collins in commit b5931405:
Fix Pi building needing -latomic, backport
1 file changed, 9 insertions(+)
srzhao in commit fd441300:
fix impl of aof-child whitelist SIGUSR1 feature.
1 file changed, 5 insertions(+), 4 deletions(-)
Ariel in commit 77ff332b:
fix ThreadSafeContext lock/unlock function names
1 file changed, 2 insertions(+), 2 deletions(-)
Guy Benoish in commit 4f0f799c:
XREADGROUP should propagate XCALIM/SETID in MULTI/EXEC
1 file changed, 2 insertions(+), 2 deletions(-)
Oran Agra in commit 0c1273c3:
Fix client flags to be int64 in module.c
1 file changed, 3 insertions(+), 3 deletions(-)
Guy Benoish in commit 708a4e8a:
Fix small bugs related to replica and monitor ambiguity
2 files changed, 8 insertions(+), 6 deletions(-)
WuYunlong in commit eac4115d:
Fix lua related memory leak.
1 file changed, 1 insertion(+)
antirez in commit d075df17:
Simplify #6379 changes.
2 files changed, 4 insertions(+), 9 deletions(-)
WuYunlong in commit 80a49c37:
Free allocated sds in pfdebugCommand() to avoid memory leak.
1 file changed, 1 insertion(+)
antirez in commit 60870d3a:
Jump to right label on AOF parsing error.
1 file changed, 6 insertions(+), 4 deletions(-)
antirez in commit d90f599b:
Free fakeclient argv on AOF error.
1 file changed, 11 insertions(+), 3 deletions(-)
WuYunlong in commit 8ee3bddf:
Fix potential memory leak of rioWriteBulkStreamID().
1 file changed, 4 insertions(+), 1 deletion(-)
WuYunlong in commit 4780fe78:
Fix potential memory leak of clusterLoadConfig().
1 file changed, 20 insertions(+), 5 deletions(-)
Leo Murillo in commit f3b77510:
Fix bug on KEYS command where pattern starts with * followed by \x00 (null char).
1 file changed, 1 insertion(+), 1 deletion(-)
Guy Benoish in commit 7f3fcedb:
Blocking XREAD[GROUP] should always reply with valid data (or timeout)
3 files changed, 44 insertions(+), 10 deletions(-)
antirez in commit f93b2fa5:
XCLAIM: Create the consumer only on successful claims.
1 file changed, 4 insertions(+), 2 deletions(-)
Guy Benoish in commit 89682d96:
Stream: Handle streamID-related edge cases
4 files changed, 54 insertions(+), 4 deletions(-)
antirez in commit 920e108f:
Fix ip and missing mode in RM_GetClusterNodeInfo().
1 file changed, 5 insertions(+), 2 deletions(-)
antirez in commit 7569b210:
Inline protocol: handle empty strings well.
1 file changed, 2 insertions(+), 6 deletions(-)
Khem Raj in commit 3c610b4e:
Mark extern definition of SDS_NOINIT in sds.h
1 file changed, 1 insertion(+), 1 deletion(-)
Seunghoon Woo in commit 16b2d07f:
[FIX] revisit CVE-2015-8080 vulnerability
1 file changed, 6 insertions(+), 4 deletions(-)
yz1509 in commit 19f33585:
avoid sentinel changes promoted_slave to be its own replica.
1 file changed, 1 insertion(+), 1 deletion(-)
================================================================================
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(-)