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
c73d70fb
Commit
c73d70fb
authored
Nov 22, 2019
by
zhaozhao.zz
Browse files
Propagation: propagate EXEC directly in lua script
parent
37a10cef
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scripting.c
View file @
c73d70fb
...
@@ -1591,8 +1591,7 @@ void evalGenericCommand(client *c, int evalsha) {
...
@@ -1591,8 +1591,7 @@ void evalGenericCommand(client *c, int evalsha) {
if
(
server
.
lua_replicate_commands
)
{
if
(
server
.
lua_replicate_commands
)
{
preventCommandPropagation
(
c
);
preventCommandPropagation
(
c
);
if
(
server
.
lua_multi_emitted
)
{
if
(
server
.
lua_multi_emitted
)
{
alsoPropagate
(
server
.
execCommand
,
c
->
db
->
id
,
&
shared
.
exec
,
1
,
execCommandPropagateExec
(
c
);
PROPAGATE_AOF
|
PROPAGATE_REPL
);
}
}
}
}
...
...
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