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!
antirez in commit c801283f:
Fix cluster-replica-no-failover option name.
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 4c4f50e1:
MEMORY command: make strcasecmp() conditional like the following.
1 file changed, 1 insertion(+), 2 deletions(-)
Itamar Haber in commit a7b46e0e:
Uppercases subcommands in MEMORY HELP
1 file changed, 5 insertions(+), 5 deletions(-)
Itamar Haber in commit 80e129d9:
Standardizes `MEMORY HELP` subcommand
1 file changed, 13 insertions(+), 14 deletions(-)
valentino in commit 88805cbb:
fix short period of server.hz being uninitialized
1 file changed, 1 insertion(+), 1 deletion(-)
Itamar Haber in commit 6b402733:
Adds HELP to LATENCY
1 file changed, 14 insertions(+), 2 deletions(-)
yongman in commit 1c637de9:
fix malloc in clusterManagerComputeReshardTable
1 file changed, 1 insertion(+), 1 deletion(-)
artix in commit 90b52fde:
Cluster Manager: removed unused var.
1 file changed, 1 insertion(+), 2 deletions(-)
artix in commit 89cbb5df:
Cluster Manager: further improvements to "fix": - clusterManagerFixOpenSlot: ensure that the slot is unassigned before ADDSLOTS - clusterManagerFixSlotsCoverage: after cold migration, the slot configuration is now updated on all the nodes.
1 file changed, 49 insertions(+), 10 deletions(-)
artix in commit 175515c9:
Cluster Manager: fixed string parsing issue in clusterManagerGetConfigSignature
1 file changed, 3 insertions(+), 3 deletions(-)
artix in commit 3997dd6e:
Cluster Manager: better fix subcommand.
1 file changed, 78 insertions(+), 20 deletions(-)
artix in commit bd80291c:
Cluster Manager: fixed typos in comments.
1 file changed, 3 insertions(+), 3 deletions(-)
artix in commit 4369cbce:
Cluster Manager: fixed 'DELSLOT' subcommand typo.
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 1ed821e2:
Fix XCLAIM missing entry bug.
1 file changed, 3 insertions(+), 2 deletions(-)
michael-grunder in commit b49bcd01:
Use typedef'd mstime_t instead of time_t
1 file changed, 1 insertion(+), 1 deletion(-)
antirez in commit 09d1849e:
Improve streamReplyWithRange() top comment.
1 file changed, 9 insertions(+), 5 deletions(-)
antirez in commit bdf6306f:
Add support for Sentinel authentication.
1 file changed, 17 insertions(+), 3 deletions(-)
antirez in commit 50222af5:
Disable protected mode in Sentinel mode.
1 file changed, 1 insertion(+)
antirez in commit 643ee6e3:
When replica kills a pending RDB save during SYNC, log it.
1 file changed, 6 insertions(+)
Andrey Bugaevskiy in commit 8b609c99:
Move child termination to readSyncBulkPayload
1 file changed, 6 insertions(+), 7 deletions(-)
Andrey Bugaevskiy in commit 27102605:
Prevent RDB autosave from overwriting full resync results