-
Bug
-
Resolution: Done
-
Major
-
RHDG 8.5.x CD
-
None
-
False
-
None
-
False
-
-
-
-
-
-
-
While Redis does not allow WATCH within the TX but still proceeds with it's execution (JDG-7273), it's expected that the command resulting in error will halt the transaction:
Infinispan:
127.0.0.1:11222> multi OK 127.0.0.1:11222(TX)> set foo fooer QUEUED 127.0.0.1:11222(TX)> non-exising-command (error) ERR unknown command 127.0.0.1:11222(TX)> set bar baer QUEUED 127.0.0.1:11222(TX)> exec 1) OK 2) OK 127.0.0.1:11222> exists foo (integer) 1
Redis:
127.0.0.1:6379> multi
OK
127.0.0.1:6379(TX)> set foo fooer
QUEUED
127.0.0.1:6379(TX)> non-existing-command
(error) ERR unknown command 'non-existing-command', with args beginning with:
127.0.0.1:6379(TX)> set bar baer
QUEUED
127.0.0.1:6379(TX)> exec
(error) EXECABORT Transaction discarded because of previous errors.
127.0.0.1:6379> exists foo
(integer) 0
- depends on
-
ISPN-16747 [RESP] MULTI does not discard for unknown command
- Resolved