forked from redis/redis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path00-RELEASENOTES
1938 lines (1490 loc) · 65.5 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-rc6 Released Wed Oct 10 11:03:54 CEST 2018
================================================================================
Upgrade urgency HIGH: Many bugs fixed especially in the context of streams.
This is probably the last release candidate of Redis 5. The Redis 5 GA version
will be released 17th of October. The main highlights of this release are:
* Critical AOF bug, as old as AOF itself: if an open MULTI/EXEC block is at
the end of the AOF file, Redis would still read the half-transaction when
reloading back the AOF.
* The slave name was removed from logs and documentation, now replica is used
instead.
* LOLWUT command added.
* New modules APIs: Disable Redis Cluster redirection.
* New modules APIs: Sorted dictionaries data type.
* Modules APIs fixes: timer / cluster messages callback now can call RM_Call().
* Fix for #5024 - commandstats for multi-exec were logged as EXEC.
* A number of optimizations and fixes for the stream data type.
* Many other stability improvements.
This is the list of comments and contributors:
antirez in commit 9a6fa7d0:
changelog.tcl: get optional argument for number of commits.
1 file changed, 8 insertions(+), 3 deletions(-)
antirez in commit 101e419f:
Free protected clients asynchronously.
1 file changed, 7 insertions(+)
antirez in commit 726debb8:
Actually use the protectClient() API where needed.
2 files changed, 8 insertions(+), 9 deletions(-)
antirez in commit 0b87f78a:
Introduce protectClient() + some refactoring.
2 files changed, 60 insertions(+), 18 deletions(-)
zhaozhao.zz in commit 6aa8ac70:
debug: avoid free client unexpectedly when reload & loadaof
1 file changed, 8 insertions(+), 2 deletions(-)
antirez in commit 48040b02:
aof.c: improve indentation and change warning message.
1 file changed, 11 insertions(+), 4 deletions(-)
zhaozhao.zz in commit 7cc20569:
AOF: discard if we lost EXEC when loading aof
2 files changed, 14 insertions(+), 3 deletions(-)
antirez in commit 2007d30c:
Refactoring of XADD / XTRIM MAXLEN rewriting.
1 file changed, 15 insertions(+), 22 deletions(-)
zhaozhao.zz in commit 6a298110:
Streams: add test cases for XADD/XTRIM maxlen
1 file changed, 46 insertions(+)
zhaozhao.zz in commit 041161b7:
Streams: propagate specified MAXLEN instead of approximated
1 file changed, 35 insertions(+), 6 deletions(-)
zhaozhao.zz in commit f04d799b:
Streams: reset approx_maxlen in every maxlen loop
1 file changed, 2 insertions(+)
zhaozhao.zz in commit affd9365:
Streams: XTRIM will return an error if MAXLEN with a count < 0
1 file changed, 6 insertions(+), 1 deletion(-)
zhaozhao.zz in commit 4c405ad0:
Streams: propagate original MAXLEN argument in XADD context
1 file changed, 3 insertions(+), 12 deletions(-)
antirez in commit 5c6d4b4a:
Fix typo in replicationCron() comment.
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit a67a8dbf:
Fix typo in design comment of bio.c.
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit c4ab5a05:
xclaimCommand(): fix comment typos.
1 file changed, 2 insertions(+), 2 deletions(-)
antirez in commit dc0b628a:
streamAppendItem(): Update the radix tree pointer only if changed.
1 file changed, 2 insertions(+), 1 deletion(-)
antirez in commit 4566fbc7:
Listpack: optionally force reallocation on inserts.
1 file changed, 20 insertions(+)
antirez in commit 5eca170c:
Fix printf type mismatch in genRedisInfoString().
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 260b53a2:
streamIteratorRemoveEntry(): set back lp only if pointer changed.
1 file changed, 2 insertions(+), 1 deletion(-)
zhaozhao.zz in commit 5d12f9d9:
Streams: update listpack with new pointer in XDEL
1 file changed, 3 insertions(+)
zhaozhao.zz in commit 6b7ad838:
bugfix: replace lastcmd with cmd when rewrite BRPOPLPUSH as RPOPLPUSH
1 file changed, 1 insertion(+), 1 deletion(-)
Oran Agra in commit 3454a043:
script cache memory in INFO and MEMORY includes both script code and overheads
2 files changed, 3 insertions(+), 3 deletions(-)
Oran Agra in commit d6aeca86:
fix #5024 - commandstats for multi-exec were logged as EXEC.
2 files changed, 63 insertions(+), 2 deletions(-)
antirez in commit a996b2a2:
Fix XINFO comment for consistency.
1 file changed, 1 insertion(+), 1 deletion(-)
Bruce Merry in commit 1a8447b6:
Fix invalid use of sdsZmallocSize on an embedded string
1 file changed, 1 insertion(+), 1 deletion(-)
Bruce Merry in commit 8dde46ad:
Fix incorrect memory usage accounting in zrealloc
3 files changed, 24 insertions(+), 2 deletions(-)
Hamid Alaei in commit b362a1b7:
fix dict get on not found
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 55e9df8a:
Try to avoid issues with GCC pragmas and older compilers.
1 file changed, 7 insertions(+), 4 deletions(-)
antirez in commit b0d22702:
Modules: hellodict example WIP #3: KEYRANGE.
1 file changed, 40 insertions(+)
antirez in commit af2f6682:
Modules: Modules: dictionary API WIP #13: Compare API exported.
2 files changed, 6 insertions(+)
antirez in commit f9a3e6ef:
Modules: Modules: dictionary API WIP #12: DictCompare API.
1 file changed, 8 insertions(+)
antirez in commit 01e0341a:
Modules: Modules: dictionary API WIP #11: DictCompareC API.
1 file changed, 18 insertions(+)
antirez in commit f9b3ce9a:
Modules: hellodict example WIP #1: GET command.
1 file changed, 18 insertions(+)
antirez in commit 36e66d86:
Modules: hellodict example WIP #1: SET command.
1 file changed, 74 insertions(+)
antirez in commit e33fdbe8:
Modules: remove useless defines in hellotimer.c
2 files changed, 6 insertions(+), 4 deletions(-)
antirez in commit 1c8b2248:
Modules: fix top comment of hellotimer.c
1 file changed, 1 insertion(+), 1 deletion(-)
Guy Korland in commit 7ded552d:
add missing argument to function doc
1 file changed, 1 insertion(+), 1 deletion(-)
Pavel Skuratovich in commit f92b3273:
Fix typo in comment
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 57b6c343:
Modules: dictionary API WIP #10: export API to modules.
2 files changed, 60 insertions(+)
antirez in commit 3f82e59c:
Modules: dictionary API WIP #9: iterator returning string object.
1 file changed, 23 insertions(+), 6 deletions(-)
antirez in commit 6a73aca3:
Modules: dictionary API WIP #8: Iterator next/prev.
1 file changed, 42 insertions(+)
antirez in commit ef8413db:
Modules: dictionary API WIP #7: don't store the context.
1 file changed, 7 insertions(+), 8 deletions(-)
antirez in commit 05579e38:
Modules: dictionary API WIP #6: implement automatic memory management.
1 file changed, 21 insertions(+), 7 deletions(-)
antirez in commit 11c53f8c:
Modules: dictionary API work in progress #5: rename API for consistency.
1 file changed, 25 insertions(+), 25 deletions(-)
antirez in commit 0bd7091b:
Modules: change RedisModuleString API to allow NULL context.
1 file changed, 33 insertions(+), 12 deletions(-)
antirez in commit 5fc16f17:
Modules: dictionary API work in progress #4: reseek API.
1 file changed, 25 insertions(+), 6 deletions(-)
antirez in commit 45b7f779:
Modules: dictionary API work in progress #3: Iterator creation.
1 file changed, 41 insertions(+), 1 deletion(-)
antirez in commit 8576b0ae:
Modules: dictionary API work in progress #2: Del API.
1 file changed, 17 insertions(+), 2 deletions(-)
antirez in commit 4b0fa7a7:
Modules: dictionary API work in progress #1.
2 files changed, 95 insertions(+), 1 deletion(-)
antirez in commit 28210760:
Module cluster flags: use RM_SetClusterFlags() in the example.
2 files changed, 11 insertions(+)
antirez in commit 18c5ab93:
Module cluster flags: add RM_SetClusterFlags() API.
3 files changed, 33 insertions(+)
antirez in commit 4ce6bff2:
Module cluster flags: add hooks for NO_FAILOVER flag.
1 file changed, 4 insertions(+), 2 deletions(-)
antirez in commit 2ba52889:
Module cluster flags: add hooks for NO_REDIRECTION flag.
3 files changed, 14 insertions(+), 4 deletions(-)
antirez in commit 6a39ece6:
Module cluster flags: initial vars / defines added.
5 files changed, 20 insertions(+)
antirez in commit 0ff35370:
Modules: rename the reused static client to something more general.
1 file changed, 10 insertions(+), 8 deletions(-)
antirez in commit 2d11ee95:
Modules: associate a fake client to timer context callback.
1 file changed, 2 insertions(+)
antirez in commit 851b2ed3:
Modules: associate a fake client to cluster message context callback.
1 file changed, 2 insertions(+)
artix in commit 148e4911:
Cluster Manager: clusterManagerFixOpenSlot now counts node's keys in slot if node is neither migrating nor importing.
1 file changed, 20 insertions(+), 1 deletion(-)
Guy Korland in commit 8afca145:
No need to return "OK"
1 file changed, 1 insertion(+), 1 deletion(-)
Guy Korland in commit 9a278db2:
typo fix
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 26479036:
Revert "fix repeat argument issue and reduce unnessary loop times for redis-cli."
1 file changed, 7 insertions(+), 12 deletions(-)
Guy Korland in commit 27b7fb5a:
Fix few typos
1 file changed, 10 insertions(+), 10 deletions(-)
Guy Korland in commit 233aa2d3:
RedisModule_HashSet call must end with NULL
1 file changed, 3 insertions(+), 1 deletion(-)
antirez in commit a8494072:
Sentinel: document how to undo a renamed command.
1 file changed, 6 insertions(+), 1 deletion(-)
antirez in commit 6c8a8f2e:
LOLWUT: split the command from version-specific implementations.
3 files changed, 297 insertions(+), 241 deletions(-)
antirez in commit 5c758406:
Slave removal: add a few forgotten aliases for CONFIG SET.
1 file changed, 10 insertions(+)
antirez in commit 2da823c4:
LOLWUT: add Redis version in the output.
1 file changed, 3 insertions(+), 1 deletion(-)
antirez in commit bfcba420:
LOLWUT: Ness -> Nees.
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit efed898a:
LOLWUT: Limit maximum CPU effort.
1 file changed, 5 insertions(+)
antirez in commit eb0fbd71:
LOLWUT: change padding conditional to a more direct one.
1 file changed, 1 insertion(+), 1 deletion(-)
Slobodan Mišković in commit ed08feb7:
Fix spelling descrive -> describe
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 2ffb4413:
LOLWUT: fix crash when col < 2.
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 55dae693:
LOLWUT: fix structure typo in comment.
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 9b3098b9:
LOLWUT: Fix license copyright year.
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 263dbadc:
LOLWUT: increase the translation factor.
1 file changed, 2 insertions(+), 2 deletions(-)
antirez in commit a622f6c0:
LOLWUT: change default size to fit a normal terminal better.
1 file changed, 6 insertions(+), 6 deletions(-)
antirez in commit 38b0d25a:
LOLWUT: wrap it into a proper command.
4 files changed, 40 insertions(+), 15 deletions(-)
antirez in commit 34ebd898:
LOLWUT: draw Schotter by Georg Nees.
1 file changed, 47 insertions(+), 3 deletions(-)
antirez in commit 46286e64:
LOLWUT: draw rotated squares using trivial trigonometry.
1 file changed, 44 insertions(+)
antirez in commit 2d4143fd:
LOLWUT: draw lines using Bresenham algorithm.
1 file changed, 26 insertions(+), 2 deletions(-)
antirez in commit 3546d9ce:
LOLWUT: Rendering of the virtual canvas to a string.
1 file changed, 78 insertions(+), 7 deletions(-)
antirez in commit b404a6ce:
LOLWUT: show the output verbatim in redis-cli.
1 file changed, 1 insertion(+)
antirez in commit e30ba94f:
LOLWUT: canvas structure and BSD license on top.
1 file changed, 46 insertions(+)
antirez in commit 9c771145:
LOLWUT: Emit Braille unicode according to pixel pattern.
1 file changed, 23 insertions(+)
Jakub Vrana in commit 4a1d6c7d:
Slave removal: capitalize Replica
2 files changed, 5 insertions(+), 5 deletions(-)
antirez in commit 72e0368a:
Slave removal: remove slave from integration tests descriptions.
8 files changed, 36 insertions(+), 36 deletions(-)
antirez in commit c7841c2b:
Slave removal: remove slave from top-level tests descriptions.
3 files changed, 12 insertions(+), 12 deletions(-)
antirez in commit 1b9b19ba:
Slave removal: remove slave from object.c.
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 7da266e6:
Slave removal: remove slave from the README.
1 file changed, 7 insertions(+), 7 deletions(-)
antirez in commit 93d803c9:
Slave removal: server.c logs fixed.
1 file changed, 5 insertions(+), 5 deletions(-)
antirez in commit 89434032:
Slave removal: remove slave from sentinel.conf when possible.
1 file changed, 18 insertions(+), 18 deletions(-)
antirez in commit 7673d88d:
Slave removal: replace very few things in Sentinel.
1 file changed, 12 insertions(+), 8 deletions(-)
antirez in commit f1de29b3:
Slave removal: scripting.c logs and other stuff fixed.
1 file changed, 6 insertions(+), 2 deletions(-)
antirez in commit 53fe558e:
Slave removal: replication.c logs fixed.
1 file changed, 35 insertions(+), 35 deletions(-)
antirez in commit c92b02dd:
Slave removal: networking.c logs fixed.
1 file changed, 5 insertions(+), 5 deletions(-)
antirez in commit be76ed0c:
Slave removal: blocked.c logs fixed.
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 3fd73151:
Slave removal: Make obvious in redis.conf what a replica is.
1 file changed, 5 insertions(+)
antirez in commit a22168e4:
Slave removal: slave mode -> replica mode text in redis-cli.
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 0e222fbe:
Slave removal: fix typo of replicaof.
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 34a5615e:
Slave removal: slave -> replica in redis.conf and output buffer option.
3 files changed, 132 insertions(+), 129 deletions(-)
antirez in commit 1d2fcf6f:
Slave removal: Convert cluster.c log messages and command names.
1 file changed, 12 insertions(+), 11 deletions(-)
antirez in commit 2546158d:
Slave removal: config.c converted + config rewriting hacks.
1 file changed, 117 insertions(+), 38 deletions(-)
antirez in commit c0952c0d:
Slave removal: redis-cli --slave -> --replica.
1 file changed, 3 insertions(+), 1 deletion(-)
antirez in commit 1f37f1dd:
Slave removal: SLAVEOF -> REPLICAOF. SLAVEOF is now an alias.
3 files changed, 4 insertions(+), 3 deletions(-)
Amin Mesbah in commit 7928f578:
Use geohash limit defines in constraint check
1 file changed, 2 insertions(+), 2 deletions(-)
Jeffrey Lovitz in commit bb2bed78:
CLI Help text loop verifies arg count
1 file changed, 1 insertion(+), 1 deletion(-)
youjiali1995 in commit 246980d0:
sentinel: fix randomized sentinelTimer.
1 file changed, 1 insertion(+), 3 deletions(-)
youjiali1995 in commit fa7de8c4:
bio: fix bioWaitStepOfType.
1 file changed, 3 insertions(+), 3 deletions(-)
Weiliang Li in commit 7642f9d5:
fix usage typo in redis-cli
1 file changed, 1 insertion(+), 1 deletion(-)
================================================================================
Redis 5.0 RC5 Released Thu Sep 06 12:54:29 CEST 2018
================================================================================
Upgrade urgency HIGH: Several imporant bugs fixed.
Hi all,
This is the release candidate number five, and has a lot of bug fixes inside,
together with a few big changes to the Redis behavior from the point of view
of replication of scripts and handling of the maxmemory directive in slaves.
Make sure to read the whole list!
* BREAKING BEHAVIOR: Slaves now ignore maxmemory by default.
* BREAKING BEHAVIOR: Now scripts are always replicated for their effects, and
never sending the script itself to slaves/AOF.
* Improvement: Big pipelining performances improved significantly.
* Fix: Rewrite BRPOPLPUSH as RPOPLPUSH to propagate.
* Fix: False positives in tests.
* Fix: Certain command flags were modified because not correct.
* Fix: Fix blocking XREAD for streams that are empty.
* Improvement: Allow scripts to timeout on slaves as well.
* Fix: Different corner cases due to CLIENT PAUSE are now fixed.
* Improvement: Optimize parsing large bulk greater than 32k.
* Fix: Propagate read-only scripts as SCRIPT LOAD, not as EVAL.
The following is the list of commits, so that you can read the details and
check the credits of the commits.
antirez in commit 1d1bf7f0:
Document that effects replication is Redis 5 default.
1 file changed, 8 insertions(+)
antirez in commit cfd969c7:
Fix scripting tests now that we default to commands repl.
1 file changed, 8 insertions(+), 1 deletion(-)
antirez in commit 3e1fb5ff:
Use commands (effects) replication by default in scripts.
3 files changed, 8 insertions(+), 1 deletion(-)
antirez in commit c6c71abe:
Safer script stop condition on OOM.
1 file changed, 5 insertions(+), 2 deletions(-)
antirez in commit dfbce91a:
Propagate read-only scripts as SCRIPT LOAD.
1 file changed, 16 insertions(+), 3 deletions(-)
antirez in commit 1705e42e:
Don't perform eviction when re-entering the event loop.
1 file changed, 7 insertions(+), 2 deletions(-)
antirez in commit a0dd6f82:
Clarify why remaining may be zero in readQueryFromClient().
1 file changed, 2 insertions(+)
zhaozhao.zz in commit 2eed31a5:
networking: fix unexpected negative or zero readlen
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 37fb606c:
Merge branch '5.0' of github.com:/antirez/redis into 5.0
zhaozhao.zz in commit 1898e6ce:
networking: optimize parsing large bulk greater than 32k
1 file changed, 13 insertions(+), 10 deletions(-)
antirez in commit 82fc63d1:
Unblocked clients API refactoring. See #4418.
4 files changed, 33 insertions(+), 15 deletions(-)
zhaozhao.zz in commit 839bb52c:
if master is already unblocked, do not unblock it twice
1 file changed, 1 insertion(+), 1 deletion(-)
zhaozhao.zz in commit 2e1cd82d:
fix multiple unblock for clientsArePaused()
1 file changed, 3 insertions(+), 3 deletions(-)
antirez in commit 17233080:
Make pending buffer processing safe for CLIENT_MASTER client.
3 files changed, 22 insertions(+), 13 deletions(-)
antirez in commit 42bce87a:
Test: processing of master stream in slave -BUSY state.
1 file changed, 44 insertions(+)
antirez in commit 8bf42f60:
After slave Lua script leaves busy state, re-process the master buffer.
2 files changed, 5 insertions(+), 2 deletions(-)
antirez in commit c2b104c7:
While the slave is busy, just accumulate master input.
2 files changed, 6 insertions(+), 1 deletion(-)
antirez in commit 7b75f4ae:
Allow scripts to timeout even if from the master instance.
1 file changed, 6 insertions(+), 11 deletions(-)
antirez in commit adc4e031:
Allow scripts to timeout on slaves as well.
2 files changed, 10 insertions(+), 3 deletions(-)
dejun.xdj in commit 20ec1f0c:
Revise the comments of latency command.
1 file changed, 2 insertions(+), 1 deletion(-)
Chris Lamb in commit 8e5423eb:
Correct "did not received" -> "did not receive" typos/grammar.
6 files changed, 10 insertions(+), 10 deletions(-)
zhaozhao.zz in commit 395063d7:
remove duplicate bind in sentinel.conf
1 file changed, 10 deletions(-)
Salvatore Sanfilippo in commit b221ca41:
Merge pull request #5300 from SaschaRoland/xread-block-5299
Sascha Roland in commit eea0d3c5:
#5299 Fix blocking XREAD for streams that ran dry
1 file changed, 2 insertions(+), 2 deletions(-)
antirez in commit 4cb9ee11:
Add maxmemory slave behavior change in the change log.
1 file changed, 8 insertions(+)
zhaozhao.zz in commit 5ad888ba:
Supplement to PR #4835, just take info/memory/command as random commands
1 file changed, 3 insertions(+), 3 deletions(-)
zhaozhao.zz in commit d928487f:
some commands' flags should be set correctly, issue #4834
1 file changed, 14 insertions(+), 14 deletions(-)
Oran Agra in commit af675f0a:
Fix unstable tests on slow machines.
3 files changed, 23 insertions(+), 17 deletions(-)
antirez in commit f2cd16be:
Document slave-ignore-maxmemory in redis.conf.
1 file changed, 20 insertions(+)
antirez in commit 02d729b4:
Make slave-ignore-maxmemory configurable.
1 file changed, 9 insertions(+)
antirez in commit 447da44d:
Introduce repl_slave_ignore_maxmemory flag internally.
3 files changed, 7 insertions(+)
antirez in commit 868b2925:
Better variable meaning in processCommand().
1 file changed, 2 insertions(+), 2 deletions(-)
antirez in commit 319f2ee6:
Re-apply rebased #2358.
1 file changed, 1 insertion(+), 1 deletion(-)
zhaozhao.zz in commit 22c166da:
block: format code
1 file changed, 2 insertions(+), 2 deletions(-)
zhaozhao.zz in commit c03c5913:
block: rewrite BRPOPLPUSH as RPOPLPUSH to propagate
3 files changed, 5 insertions(+), 1 deletion(-)
zhaozhao.zz in commit fcd5ef16:
networking: make setProtocolError simple and clear
1 file changed, 11 insertions(+), 13 deletions(-)
zhaozhao.zz in commit 656e4b2f:
networking: just move qb_pos instead of sdsrange in processInlineBuffer
1 file changed, 2 insertions(+), 3 deletions(-)
zhaozhao.zz in commit 2c7972ce:
networking: just return C_OK if multibulk processing saw a <= 0 length.
1 file changed, 2 insertions(+), 5 deletions(-)
zhaozhao.zz in commit 1203a04f:
adjust qbuf to 26 in test case for client list
1 file changed, 1 insertion(+), 1 deletion(-)
zhaozhao.zz in commit aff86fa1:
pipeline: do not sdsrange querybuf unless all commands processed
2 files changed, 48 insertions(+), 40 deletions(-)
Chris Lamb in commit 45a6c5be:
Use SOURCE_DATE_EPOCH over unreproducible uname + date calls.
1 file changed, 3 insertions(+)
Chris Lamb in commit 186df148:
Make some defaults explicit in the sentinel.conf for package maintainers
1 file changed, 25 insertions(+)
dejun.xdj in commit b59f04a0:
Streams: ID of xclaim command starts from the sixth argument.
1 file changed, 1 insertion(+), 1 deletion(-)
shenlongxing in commit a3f2437b:
Fix stream command paras
2 files changed, 7 insertions(+), 7 deletions(-)
antirez in commit df911235:
Fix AOF comment to report the current behavior.
1 file changed, 3 insertions(+), 1 deletion(-)
================================================================================
Redis 5.0 RC4 Released Fri Aug 03 13:51:02 CEST 2018
================================================================================
Upgrade urgency
HIGH: Many non critical but important issues fixed.
CRITICAL for Stream users: Many important bugs fixed.
Hi all, welcome to Redis 5.0 RC4.
This release is a huge step forward in Redis 5 maturity and fixes a number
of issues. It also provides interesting improvements. Here I'll summarize
the biggest one, but laster you can find the full list of commits:
Fixes:
* A number of fixes related to Streams: stability and correctnes.
* Fix dbRandomKey() potential infinite loop.
* Improve eviction LFU/LRU when keys are created by INCR commands family.
* Active defragmentation is now working on Redis 5.
* Fix corner case in Redis CLuster / Sentinel failover, by resetting the
disconnection time with master in a more appropriate place.
* Use a private version of localtime() to avoid potential deadlocks.
* Different redis-cli non critical fixes.
* Fix rare replication stream corruption with disk-based replication.
Improvements:
* Sentinel: add an option to deny online script reconfiguration.
* Improved RESTORE command.
* Sentinel command renaming: allows to use Sentinel with Redis instances
that have non standard command names.
* CLIENT ID and CLIENT UNBLOCK.
* CLIENT LIST now supports a TYPE option.
* redis-cli --cluster now supports authentication.
* redis-trib is now deprecated (use redis-cli --cluster).
* Better slaves output buffers efficiency.
* Faster INFO when there are many clients connected.
* Dynamic HZ feature.
* Improvements in what the MEMORY command is able to report.
* Add year in log. (WARNING: may be incompatible with log scraping tools)
* Lazy freeing now works even when values are overwritten (for instance SET).
* Faster ZADD when elements scores are updated.
* Improvements to the test suite, including many new options.
antirez in commit a4d1201e:
Test suite: add --loop option.
1 file changed, 12 insertions(+), 5 deletions(-)
antirez in commit 273d8191:
Test suite: new --stop option.
1 file changed, 13 insertions(+), 4 deletions(-)
antirez in commit fbbcc6a6:
Streams IDs parsing refactoring.
1 file changed, 32 insertions(+), 17 deletions(-)
antirez in commit 70c4bcb7:
Test: new sorted set skiplist order consistency.
1 file changed, 26 insertions(+)
antirez in commit 63addc5c:
Fix zslUpdateScore() edge case.
1 file changed, 2 insertions(+), 2 deletions(-)
antirez in commit 724740cc:
More commenting of zslUpdateScore().
1 file changed, 2 insertions(+)
antirez in commit ddc87eef:
Explain what's the point of zslUpdateScore() in top comment.
1 file changed, 5 insertions(+)
antirez in commit 741f29ea:
Remove old commented zslUpdateScore() from source.
1 file changed, 13 deletions(-)
antirez in commit 20116836:
Optimize zslUpdateScore() as asked in #5179.
1 file changed, 44 insertions(+)
antirez in commit 8c297e8b:
zsetAdd() refactored adding zslUpdateScore().
1 file changed, 18 insertions(+), 7 deletions(-)
dejun.xdj in commit bd2f3f6b:
Streams: rearrange the usage of '-' and '+' IDs in stream commands.
1 file changed, 13 insertions(+), 13 deletions(-)
dejun.xdj in commit c0c06b84:
Streams: add mmid_supp argument in streamParseIDOrReply().
1 file changed, 6 insertions(+), 2 deletions(-)
antirez in commit ab237a8e:
Minor improvements to PR #5187.
2 files changed, 13 insertions(+), 6 deletions(-)
Oran Agra in commit 1ce3cf7a:
test suite conveniency improvements
3 files changed, 79 insertions(+), 3 deletions(-)
Oran Agra in commit 36622899:
add DEBUG LOG, to to assist test suite debugging
1 file changed, 4 insertions(+)
antirez in commit 83d4311a:
Cluster cron announce IP minor refactoring.
1 file changed, 6 insertions(+), 3 deletions(-)
shenlongxing in commit a633f8e1:
Fix cluster-announce-ip memory leak
1 file changed, 3 insertions(+), 2 deletions(-)
antirez in commit 24c45538:
Tranfer -> transfer typo fixed.
1 file changed, 1 insertion(+), 1 deletion(-)
zhaozhao.zz in commit c609f240:
refactor dbOverwrite to make lazyfree work
4 files changed, 27 insertions(+), 12 deletions(-)
antirez in commit 9e971739:
Refactoring: replace low-level checks with writeCommandsDeniedByDiskError().
2 files changed, 6 insertions(+), 13 deletions(-)
antirez in commit 0e77cef0:
Fix writeCommandsDeniedByDiskError() inverted return value.
1 file changed, 2 insertions(+), 2 deletions(-)
antirez in commit acfe9d13:
Better top comment for writeCommandsDeniedByDiskError().
1 file changed, 8 insertions(+), 1 deletion(-)
antirez in commit 4e933e00:
Introduce writeCommandsDeniedByDiskError().
2 files changed, 24 insertions(+)
WuYunlong in commit 41607dfd:
Consider aof write error as well as rdb in lua script.
1 file changed, 14 insertions(+), 4 deletions(-)
Salvatore Sanfilippo in commit 1d073a64:
Merge pull request #5168 from rpv-tomsk/issue-5033
Guy Korland in commit 2db31fd4:
Few typo fixes
1 file changed, 13 insertions(+), 13 deletions(-)
antirez in commit 64242757:
Add year in log.
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 50be4a1f:
Document dynamic-hz in the example redis.conf.
1 file changed, 16 insertions(+)
antirez in commit 9a76472d:
Make dynamic hz actually configurable.
1 file changed, 9 insertions(+)
antirez in commit a330d06c:
Control dynamic HZ via server configuration.
2 files changed, 13 insertions(+), 6 deletions(-)
antirez in commit d42602ff:
Dynamic HZ: adapt cron frequency to number of clients.
2 files changed, 17 insertions(+), 5 deletions(-)
antirez in commit 7b5f0223:
Dynamic HZ: separate hz from the configured hz.
3 files changed, 15 insertions(+), 9 deletions(-)
antirez in commit 037b00de:
Remove useless conditional from emptyDb().
1 file changed, 1 deletion(-)
antirez in commit 0e97ae79:
Make emptyDb() change introduced in #4852 simpler to read.
1 file changed, 8 insertions(+), 3 deletions(-)
zhaozhao.zz in commit f7740faf:
optimize flushdb, avoid useless loops
1 file changed, 5 insertions(+), 2 deletions(-)
zhaozhao.zz in commit 0c008376:
Streams: fix xdel memory leak
1 file changed, 1 insertion(+)
antirez in commit dc600a25:
Example the magic +1 in migrateCommand().
1 file changed, 4 insertions(+)
antirez in commit d6827ab6:
Make changes of PR #5154 hopefully simpler.
1 file changed, 10 insertions(+), 5 deletions(-)
WuYunlong in commit 89ec1453:
Do not migrate already expired keys.
1 file changed, 6 insertions(+), 2 deletions(-)
Pavel Rochnyack in commit cd25ed17:
INFO CPU: higher precision of reported values
1 file changed, 8 insertions(+), 8 deletions(-)
antirez in commit 6bfb4745:
Streams: refactoring of next entry seek in the iterator.
1 file changed, 11 insertions(+), 7 deletions(-)
zhaozhao.zz in commit 4724548e:
Streams: skip master fileds only when we are going forward in streamIteratorGetID
1 file changed, 8 insertions(+), 5 deletions(-)
Oran Agra in commit 4b79fdf1:
fix slave buffer test suite false positives
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit a1e081f7:
string2ll(): better commenting.
1 file changed, 6 insertions(+)
dsomeshwar in commit 8b4fe752:
removing redundant check
1 file changed, 3 deletions(-)
antirez in commit 9e5bf047:
Restore string2ll() to original version.
1 file changed, 7 insertions(+), 2 deletions(-)
Oran Agra in commit c2ecdcde:
fix recursion typo in zmalloc_usable
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 4f742bd6:
string2ll(): remove duplicated check for special case.
1 file changed, 1 insertion(+), 6 deletions(-)
antirez in commit a4efac00:
string2ll(): test for NULL pointer in all the cases.
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 2c07c107:
Change 42 to 1000 as warning level for cached scripts.
1 file changed, 3 insertions(+), 3 deletions(-)
Itamar Haber in commit 270903d6:
Adds Lua overheads to MEMORY STATS, smartens the MEMORY DOCTOR
3 files changed, 30 insertions(+), 4 deletions(-)
Itamar Haber in commit faf3dbfc:
Adds memory information about the script's cache to INFO
3 files changed, 12 insertions(+)
antirez in commit 49841a54:
Fix merge errors.
2 files changed, 7 deletions(-)
antirez in commit 77a7ec72:
Merge branch 'unstable' into 5.0 branch
antirez in commit 4ff47a0b:
Top comment clientsCron().
1 file changed, 19 insertions(+), 4 deletions(-)
antirez in commit aba68552:
Clarify that clientsCronTrackExpansiveClients() indexes may jump ahead.
1 file changed, 9 insertions(+), 1 deletion(-)
antirez in commit be88c0b1:
Rename INFO CLIENT max buffers field names for correctness.
1 file changed, 2 insertions(+), 2 deletions(-)
antirez in commit 0cf3794e:
Fix wrong array index variable in getExpansiveClientsInfo().
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit ea3a20c5:
Change INFO CLIENTS sections to report pre-computed max/min client buffers.
1 file changed, 5 insertions(+), 5 deletions(-)
antirez in commit 8f7e496b:
Rename var in clientsCronTrackExpansiveClients() for clarity.
1 file changed, 3 insertions(+), 3 deletions(-)
antirez in commit 8d617596:
Implement a function to retrieve the expansive clients mem usage.
1 file changed, 12 insertions(+)
antirez in commit 85a1b4f8:
clientsCronTrackExpansiveClients() actual implementation.
1 file changed, 14 insertions(+), 1 deletion(-)
antirez in commit d4c5fc57:
clientsCronTrackExpansiveClients() skeleton and ideas.
1 file changed, 23 insertions(+)
antirez in commit 1c95c075:
Make vars used only by INFO CLIENTS local to the block.
1 file changed, 1 insertion(+), 1 deletion(-)
Salvatore Sanfilippo in commit 16b8d364:
Merge pull request #4727 from kingpeterpaule/redis-fix-info-cli
antirez in commit 0aca977c:
Merge branch 'unstable' of github.com:/antirez/redis into unstable
antirez in commit 313b2240:
In addReplyErrorLength() only panic when replying to slave.
1 file changed, 4 insertions(+), 3 deletions(-)
antirez in commit 6183f059:
Refine comment in addReplyErrorLength() about replying to masters/slaves.
1 file changed, 11 insertions(+)
Salvatore Sanfilippo in commit 22e9321c:
Merge pull request #5138 from oranagra/improve_defrag_test
Oran Agra in commit f89c93c8:
make active defrag test more stable
2 files changed, 6 insertions(+), 5 deletions(-)