[
https://issues.jboss.org/browse/ISPN-8429?page=com.atlassian.jira.plugin....
]
Vojtech Juranek commented on ISPN-8429:
---------------------------------------
[~pruivo] could you please elaborate more? If I understand the test correctly, it starts
transaction, stores entry ({{<String, String>}}) into the cache, prepares commit and
checks if the entry is locked. From user perspective it should behave in the same way, no
matter if underlying container stores entries as object or byte arrays. The fact that
off-heap stores entties as byte arrays is an implementation detail and shouldn't
affect existing API, IMHO.
TX manager fails to lock off-heap entries
-----------------------------------------
Key: ISPN-8429
URL:
https://issues.jboss.org/browse/ISPN-8429
Project: Infinispan
Issue Type: Bug
Components: Off Heap, Transactions
Affects Versions: 9.0.1.Final, 9.1.1.Final
Reporter: Vojtech Juranek
TX manager seems to fail lock off-heap entries properly. E.g. running
{{LocalOptimisticTxTest}} with off-heap container fails with
{noformat}
java.lang.AssertionError: expected [true] but found [false]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertTrue(Assert.java:42)
at org.testng.Assert.assertTrue(Assert.java:52)
at
org.infinispan.tx.locking.LocalOptimisticTxTest.assertLocking(LocalOptimisticTxTest.java:63)
at
org.infinispan.tx.locking.AbstractLocalTest.testPut(AbstractLocalTest.java:29)
{noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)