[infinispan-issues] [JBoss JIRA] (ISPN-3639) Local PutForExternalRead failing to apply locally in invalidated caches

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Thu Oct 17 08:51:01 EDT 2013


     [ https://issues.jboss.org/browse/ISPN-3639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño updated ISPN-3639:
-----------------------------------

              Status: Pull Request Sent  (was: Coding In Progress)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/2170

    
> Local PutForExternalRead failing to apply locally in invalidated caches
> -----------------------------------------------------------------------
>
>                 Key: ISPN-3639
>                 URL: https://issues.jboss.org/browse/ISPN-3639
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 6.0.0.CR1
>            Reporter: Galder Zamarreño
>            Assignee: Galder Zamarreño
>            Priority: Critical
>             Fix For: 6.0.0.CR2, 6.0.0.Final
>
>
> Some tests in Hibernate 2LC are failing as a result of local putFromLoad calls (putForExternalRead) failing to apply on the node that invoked them, in invalidated caches. Here's a reduced failing test case:
> {code}
> @Test(groups="functional", testName = "api.mvcc.PutForExternalReadInvTest")
> public class PutForExternalReadInvTest extends MultipleCacheManagersTest {
>    @Override
>    protected void createCacheManagers() throws Throwable {
>       ConfigurationBuilder builder = new ConfigurationBuilder();
>       builder
>             .clustering().cacheMode(CacheMode.INVALIDATION_SYNC)
>             .transaction().transactionMode(TransactionMode.TRANSACTIONAL);
>       createClusteredCaches(2, builder);
>    }
>    public void test000() {
>       Cache<Integer, String> c0 = cache(0);
>       Cache<Integer, String> c1 = cache(1);
>       c0.putForExternalRead(1, "v1");
>       assertEquals("v1", c0.get(1));
>       c1.putForExternalRead(1, "v1");
>       assertEquals("v1", c1.get(1));
>    }
> }{code}
> This seems to be related to changes in ISPN-3289

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the infinispan-issues mailing list