[infinispan-issues] [JBoss JIRA] (ISPN-8429) TX manager fails to lock off-heap entries
Vojtech Juranek (JIRA)
issues at jboss.org
Thu Oct 19 15:57:00 EDT 2017
[ https://issues.jboss.org/browse/ISPN-8429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13479607#comment-13479607 ]
Vojtech Juranek commented on ISPN-8429:
---------------------------------------
I'm not sure I agree that {{LockManager}} is internal component - as a user I can very easily access it via {{cache.getAdvancedCache().getLockManager().isLocked(key)}}. I'm not sure I can come up with any useful usecase for calling it, but anyway, I'd be quite careful just closing it. [~mgencur] what do you think?
> 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)
More information about the infinispan-issues
mailing list