Skip to content

Commit b486713

Browse files
committed
Redis 5.0.3
1 parent 2c6ee0f commit b486713

File tree

2 files changed

+209
-1
lines changed

2 files changed

+209
-1
lines changed

00-RELEASENOTES

Lines changed: 208 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,214 @@ CRITICAL: There is a critical bug affecting MOST USERS. Upgrade ASAP.
1111
SECURITY: There are security fixes in the release.
1212
--------------------------------------------------------------------------------
1313

14+
================================================================================
15+
Redis 5.0.3 Released Tue Dec 11 18:17:26 CET 2018
16+
================================================================================
17+
18+
Upgrade urgency HIGH: Redis 5 is consolidating, upgrading is a good idea.
19+
However there is nothing very critical here, but certain
20+
issues resolved could lead to very rare crashes.
21+
22+
Welcome to Redis 5.0.3, several interesting bug fixes here:
23+
24+
* Redis no longer panics when you send data to a replica-mode connection that
25+
is in MONITOR or SYNC mode.
26+
27+
* Fixes to certain sorted set edge cases. You are unlikely to ever notice those
28+
issues, but now it is more correct.
29+
30+
* Certain BSD variants now are better supported: build & register logging
31+
on crash.
32+
33+
* The networking core now recovers if an IPv6 address is listed in bind but
34+
is actually not able to work because there is no such protocol in the
35+
system.
36+
37+
* redis-cli cluster mode improved in many ways. Especially the fix subcommand
38+
work was enhanced to cover other edge cases that were still not covered
39+
after the work done for Redis 5.
40+
41+
* MEMORY USAGE is now more accurate.
42+
43+
* DEBUG DIGEST-VALUE added in case you want to make sure a given set of keys
44+
(and not the whole DB) are excatly the same between two instances.
45+
46+
* Fix a potential crash in the networking code related to recent changes
47+
to the way the reply is consumed.
48+
49+
* Reject EXEC containing write commands against an instance that changed role
50+
from master to replica during our transaction.
51+
52+
* Fix a crash in KEYS and other commands using pattern matching, in an edge
53+
case where the pattern contains a zero byte.
54+
55+
* Fix eviction during AOF loading due to maxmemory triggered by commands
56+
executed in loading state.
57+
58+
The following is the list of commmits if you want to check credits or dig
59+
further in the details.
60+
61+
commit 2c6ee0f9b3d9ca48c6da8bd18796186784216bff
62+
Author: antirez <antirez@gmail.com>
63+
Date: Wed Dec 12 11:37:15 2018 +0100
64+
65+
freeMemoryIfNeeded() small refactoring.
66+
67+
Related to issue #5686 and PR #5689.
68+
69+
commit 107e93e75acfd5def0252efb6870751940816395
70+
Author: zhaozhao.zz <zhaozhao.zz@alibaba-inc.com>
71+
Date: Wed Dec 12 00:25:24 2018 +0800
72+
73+
evict: don't care about mem if loading
74+
75+
When loading data, we call processEventsWhileBlocked
76+
to process events and execute commands.
77+
But if we are loading AOF it's dangerous, because
78+
processCommand would call freeMemoryIfNeeded to evict,
79+
and that will break data consistency, see issue #5686.
80+
81+
antirez in commit ee93dc0b:
82+
Crashing is too much in addReplyErrorLength().
83+
1 file changed, 6 deletions(-)
84+
85+
hdmg in commit c55254a5:
86+
fix comments fault discription
87+
1 file changed, 1 insertion(+), 1 deletion(-)
88+
89+
lsytj0413 in commit dfd25013:
90+
fix a typo: craeted -> created
91+
1 file changed, 1 insertion(+), 1 deletion(-)
92+
93+
antirez in commit 392a2566:
94+
stringmatchlen() fuzz test added.
95+
3 files changed, 22 insertions(+)
96+
97+
antirez in commit 7602f695:
98+
Fix stringmatchlen() read past buffer bug.
99+
1 file changed, 1 insertion(+), 1 deletion(-)
100+
101+
zhaozhao.zz in commit c4f3585e:
102+
multi: ignore multiState's cmd_flags when loading AOF
103+
1 file changed, 1 insertion(+), 1 deletion(-)
104+
105+
antirez in commit d037e987:
106+
Reject EXEC containing write commands against RO replica.
107+
2 files changed, 20 insertions(+)
108+
109+
artix in commit e00ab324:
110+
Cluster Manager: - Multiple owners checking in 'fix'/'check' commands is
111+
now optional (using --cluster-search-multiple-owners). - Updated help.
112+
1 file changed, 14 insertions(+), 5 deletions(-)
113+
114+
artix in commit 94f64de3:
115+
Cluster Manager: FixOpenSlot now correctly updates in-memory cluster
116+
configuration. Improved output messages.
117+
1 file changed, 17 insertions(+), 5 deletions(-)
118+
119+
artix in commit 752d636f:
120+
Cluster Manager: 'fix' command now handles open slots with migrating state
121+
in one node and importing state in multiple nodes.
122+
1 file changed, 74 insertions(+), 6 deletions(-)
123+
124+
artix in commit 552091f9:
125+
Cluster Manager: setting new slot owner is now handled atomically in
126+
'fix' command.
127+
1 file changed, 72 insertions(+), 31 deletions(-)
128+
129+
artix in commit 2280f4f7:
130+
Cluster Manager: code cleanup.
131+
1 file changed, 41 insertions(+), 87 deletions(-)
132+
133+
artix in commit e084b8cc:
134+
Cluster Manager: check/fix commands now handle multiple owners even
135+
if all slots are covered and not open.
136+
1 file changed, 129 insertions(+), 6 deletions(-)
137+
138+
zhaozhao.zz in commit fa726e2a:
139+
remove useless tryObjectEncoding in debug assert
140+
1 file changed, 1 deletion(-)
141+
142+
Oran Agra in commit 40244b10:
143+
fix #5580, display fragmentation and rss overhead bytes as signed
144+
2 files changed, 6 insertions(+), 6 deletions(-)
145+
146+
zhaozhao.zz in commit beab3151:
147+
networking: current_client should not be NULL when trim qb_pos
148+
1 file changed, 1 insertion(+), 1 deletion(-)
149+
150+
antirez in commit 07ccb642:
151+
Remove no longer relevant comment in processCommand().
152+
1 file changed, 2 insertions(+), 6 deletions(-)
153+
154+
antirez in commit 60fdaf07:
155+
DEBUG DIGEST-VALUE implemented.
156+
1 file changed, 17 insertions(+), 3 deletions(-)
157+
158+
antirez in commit 48b31b0d:
159+
DEBUG DIGEST refactoring: extract function to digest a value.
160+
1 file changed, 142 insertions(+), 131 deletions(-)
161+
162+
yura in commit ef3ff402:
163+
redis-cli reshard/rebalance: ability to force replacement on existing keys
164+
1 file changed, 6 insertions(+), 5 deletions(-)
165+
166+
Thomas Orozco in commit ee223fb8:
167+
cli: pass auth through REDISCLI_AUTH
168+
1 file changed, 14 insertions(+)
169+
170+
yongman in commit 41295e55:
171+
Fix cluster call reply format readable
172+
1 file changed, 1 insertion(+), 1 deletion(-)
173+
174+
Oran Agra in commit 0ed3970f:
175+
fix small test suite race conditions
176+
3 files changed, 11 insertions(+)
177+
178+
zhaozhao.zz in commit 605dddbb:
179+
MEMORY command: make USAGE more accurate
180+
1 file changed, 7 insertions(+), 6 deletions(-)
181+
182+
yongman in commit 1f43bf29:
183+
Fix choose a random master node for slot assignment
184+
1 file changed, 29 insertions(+), 5 deletions(-)
185+
186+
Weiliang Li in commit 69f0c678:
187+
fix comment typo in util.c
188+
1 file changed, 1 insertion(+), 1 deletion(-)
189+
190+
Chris Lamb in commit bc53a3ab:
191+
Clarify the "Creating Server TCP listening socket" error.
192+
1 file changed, 1 insertion(+), 1 deletion(-)
193+
194+
Chris Lamb in commit fefe5460:
195+
Don't treat unsupported protocols as fatal errors
196+
1 file changed, 4 insertions(+)
197+
198+
David Carlier in commit a8862972:
199+
OpenBSD support.
200+
3 files changed, 74 insertions(+), 1 deletion(-)
201+
202+
David Carlier in commit 5e86daf9:
203+
Backtrace/register dump on BSD.
204+
3 files changed, 97 insertions(+), 3 deletions(-)
205+
206+
Guy Benoish in commit 7c8cf5ac:
207+
Don't call sdscmp() with shared.maxstring or shared.minstring
208+
2 files changed, 23 insertions(+), 9 deletions(-)
209+
210+
Qu Chen in commit 39e9eda3:
211+
Add unit test for stream XCLAIM command.
212+
1 file changed, 48 insertions(+)
213+
214+
antirez in commit 62485232:
215+
Abort instead of crashing when loading bad stream master key.
216+
1 file changed, 3 insertions(+)
217+
218+
Madelyn Olson in commit a5487309:
219+
Fixed a serverPanic when sending an invalid command to a monitor client
220+
1 file changed, 1 insertion(+), 1 deletion(-)
221+
14222
================================================================================
15223
Redis 5.0.2 Released Thu Nov 22 11:22:37 CET 2018
16224
================================================================================

src/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#define REDIS_VERSION "5.0.2"
1+
#define REDIS_VERSION "5.0.3"

0 commit comments

Comments
 (0)