Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
5314099d
Commit
5314099d
authored
Nov 07, 2018
by
antirez
Browse files
Redis 5 changelog: don't expect Lua replies to be ordered.
Related to #5538.
parent
c5950500
Changes
1
Hide whitespace changes
Inline
Side-by-side
00-RELEASENOTES
View file @
5314099d
...
@@ -2339,11 +2339,20 @@ non-backward compatible changes introduced in the 5.0 release:
...
@@ -2339,11 +2339,20 @@ non-backward compatible changes introduced in the 5.0 release:
* Scripts are only replicated by their *effects* and not by sending EVAL/EVALSHA
* Scripts are only replicated by their *effects* and not by sending EVAL/EVALSHA
to slaves or the AOF log itself. This is much better in the general case
to slaves or the AOF log itself. This is much better in the general case
and in the future we want to totally remove the other possiblity of propagating
and in the future we want to totally remove the other possiblity of
scripts the old way (as EVAL). However you can still turn this back to the
propagating scripts the old way (as EVAL). However you can still turn this
default via the non-documented (if not here) Redis configuration directive
back to the default via the non-documented (if not here) Redis configuration
"lua-replicate-commands yes" or "DEBUG lua-always-replicate-commands 0".
directive "lua-replicate-commands yes" or
However note that Redis 6 may completely remove such feature.
"DEBUG lua-always-replicate-commands 0". However note that Redis 6 may
completely remove such feature.
* Because of the above change related to scripts replication, certain Redis
commands that in Redis 4 had their result ordered lexicographically before
being passed to Lua via the return value of redis.call(), now have a behavior
more similar to calling the commands directly from a normal client. For
instance the ordering of elements returned by SMEMBERS or SDIFF is now
undetermined in Lua, exactly as it is by default when calling the commands
from a non-scripting context.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment