-
Bug
-
Resolution: Done
-
Major
-
RHDG 8.5.x CD
-
None
Setting up a non-existing key using MSETNX twice using a single command should result in using the later value. From some reason when the key is *xx
{t}* the later is used but with key being *x1{t}* the former is used.
Infinispan:
127.0.0.1:11222> MSETNX x1{t} xxx x1{t} yyy (integer) 1 127.0.0.1:11222> GET x1{t} "xxx" 127.0.0.1:11222> MSETNX xx{t} xxx xx{t} yyy (integer) 1 127.0.0.1:11222> GET xx{t} "yyy"
Redis:
127.0.0.1:6379> MSETNX x1{t} xxx x1{t} yyy (integer) 1 127.0.0.1:6379> GET x1{t} "yyy" 127.0.0.1:6379> MSETNX xx{t} xxx xx{t} yyy (integer) 1 127.0.0.1:6379> GET xx{t} "yyy"