Merge pull request #6933 from guybe7/multi_exec_allow_stale

Stale replica should allow MULTI/EXEC
This commit is contained in:
Salvatore Sanfilippo 2020-04-03 11:12:58 +02:00 committed by GitHub
commit 4158664d2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,