-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
RHDG 8.5.2 GA
-
None
-
False
-
None
-
False
-
-
-
-
-
-
-
It seems that Infinispan isn't able to use a key as a different type in a single transaction after DEL. Expected result would be that it properly sets the list key to a foo value.
127.0.0.1:11222> multi OK 127.0.0.1:11222(TX)> lpush list a QUEUED 127.0.0.1:11222(TX)> del list a QUEUED 127.0.0.1:11222(TX)> set list foo QUEUED 127.0.0.1:11222(TX)> exec 1) (integer) 1 2) (integer) 1 3) (error) ERR ISPN000299: Unable to acquire lock after 15 seconds for key WrappedByteArray[\l\i\s\t (4 bytes)] and requestor GlobalTransaction{id=15, addr=pdrobek-thinkpadp1gen4i-63669, remote=false, xid=null, internalId=-1}. Lock is held by GlobalTransaction{id=14, addr=pdrobek-thinkpadp1gen4i-63669, remote=false, xid=null, internalId=-1} (15.01s)
Cache:
<distributed-cache name="respCache" key-partitioner="org.infinispan.distribution.ch.impl.RESPHashFunctionPartitioner" mode="SYNC" statistics="true" aliases="1"> <encoding> <key media-type="application/octet-stream"/> <value media-type="application/octet-stream"/> </encoding> <transaction mode="BATCH" locking="PESSIMISTIC" /> </distributed-cache>
- depends on
-
ISPN-16840 [RESP] LPUSH + DEL + SET fails with unable to aquire a lock
- Code Review