zhaozhao.zz 097c4a6536 scripting: flag lua_client as CLIENT_MULTI after redis.replicate_commands() immediately
To avoid nested MULTI/EXEC, we check the lua_caller's flag,
if we are in the MULTI context we flag the lua_client as
CLIENT_MULTI, but it's not enough we shoud flag lua_client
as CLIENT_MULTI after redis.replicate_commands() immediately
or the first write command after redis.replicate_commands()
cannot know it's in an transaction, I know the missing CLIENT_MULTI
doesn't have any effect now, but it's a real bug and we should fix
it, in case someday we allow some dangerous command like BLPOP.
2019-11-22 11:51:18 +08:00
..
2012-04-13 17:52:33 -07:00
2019-11-13 10:14:45 +08:00
2016-06-07 16:46:00 -04:00
2018-10-05 18:29:23 +02:00
2015-10-01 13:02:25 +02:00
2019-04-09 09:24:22 +08:00
2019-07-17 16:40:24 +03:00
2018-11-25 08:10:26 +00:00
2018-07-03 18:19:46 +02:00
2019-10-07 09:09:32 +03:00
2019-10-08 17:09:37 +02:00
2016-07-27 11:34:25 +02:00
2019-02-24 21:38:15 +01:00
2018-10-17 12:57:21 +02:00
2019-09-17 06:18:01 +09:00
2019-10-24 14:24:55 +03:00
2019-10-24 14:24:55 +03:00
2018-07-13 09:46:30 -06:00
2019-10-16 17:31:02 +03:00
2019-11-19 17:23:47 +08:00
2018-07-03 18:19:46 +02:00
2014-08-08 10:05:32 +02:00
2019-11-14 12:48:54 +01:00
2019-10-25 22:31:55 +09:00
2018-07-03 18:19:46 +02:00
2019-10-02 11:30:20 +02:00
2019-11-19 11:56:02 +01:00
2018-11-11 18:49:55 +00:00
2015-04-27 12:07:49 +02:00
2015-04-27 12:07:49 +02:00
2014-07-02 16:31:22 +02:00
2019-01-09 17:00:29 +01:00
2011-07-06 15:22:00 +02:00
2019-05-08 12:53:56 +08:00