diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2020-04-03 11:12:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-03 11:12:58 +0200 |
commit | 4158664d2bad1dbc7008db4cb4bf1c4e1944cfc4 (patch) | |
tree | 241d652a585f205cf47fd0437e66eef5341cc583 | |
parent | 4e8e7fb0679e9e7d0a5f61b95cb3c0f9de49c59d (diff) | |
parent | 85a0d29d04ac280151e3fed28ab4767fbcc7463b (diff) | |
download | redis-4158664d2bad1dbc7008db4cb4bf1c4e1944cfc4.tar.gz |
Merge pull request #6933 from guybe7/multi_exec_allow_stale
Stale replica should allow MULTI/EXEC
-rw-r--r-- | src/server.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server.c b/src/server.c index c89e9c075..ff7a39df5 100644 --- a/src/server.c +++ b/src/server.c @@ -672,15 +672,15 @@ struct redisCommand redisCommandTable[] = { 0,NULL,1,1,1,0,0,0}, {"multi",multiCommand,1, - "no-script fast @transaction", + "no-script fast ok-loading ok-stale @transaction", 0,NULL,0,0,0,0,0,0}, {"exec",execCommand,1, - "no-script no-monitor no-slowlog @transaction", + "no-script no-monitor no-slowlog ok-loading ok-stale @transaction", 0,NULL,0,0,0,0,0,0}, {"discard",discardCommand,1, - "no-script fast @transaction", + "no-script fast ok-loading ok-stale @transaction", 0,NULL,0,0,0,0,0,0}, {"sync",syncCommand,1, |