-
Bug
-
Resolution: Done
-
Major
-
RHDG 8.5.x CD
-
None
-
False
-
None
-
False
-
-
-
-
-
-
-
Infinispan correctly throws out that WATCH within MULTI isn't allowed but upon running an EXEC it throws an EXECABORT abort ignoring whole transaction whilst Redis just disregards the WATCH command.
Infinispan:
127.0.0.1:11222(TX)> set u p QUEUED 127.0.0.1:11222(TX)> watch x (error) ERR WATCH inside MULTI is not allowed 127.0.0.1:11222(TX)> set y z QUEUED 127.0.0.1:11222(TX)> exec (error) EXECABORT Transaction discarded because of previous errors.
Redis:
127.0.0.1:6379> multi OK 127.0.0.1:6379(TX)> set u s QUEUED 127.0.0.1:6379(TX)> watch x (error) ERR WATCH inside MULTI is not allowed 127.0.0.1:6379(TX)> set y z QUEUED 127.0.0.1:6379(TX)> exec 1) OK 2) OK
- depends on
-
ISPN-16748 [RESP] WATCH within a MULTI should not fail
- Resolved