[infinispan-issues] [JBoss JIRA] (ISPN-2964) putForExternalRead to L1 not invalidated

Sebastian Tusk (JIRA) jira-events at lists.jboss.org
Tue Mar 26 06:01:44 EDT 2013


Sebastian Tusk created ISPN-2964:
------------------------------------

             Summary: putForExternalRead to L1 not invalidated
                 Key: ISPN-2964
                 URL: https://issues.jboss.org/browse/ISPN-2964
             Project: Infinispan
          Issue Type: Bug
          Components: Distributed Cache
    Affects Versions: 5.2.1.Final
            Reporter: Sebastian Tusk
            Assignee: Mircea Markus


With transactional distributed caches it happens that Cache.putForExternalRead(k,v) places an entry into L1 that never gets invalidated. It seems to happen when the the owner of k doesn't have the entry. In this case the non owner puts k into his cache without having the owner registering this. Usually the owner stores all requesters in L1ManagerImpl.addRequester and sends out invalidations to the requesters. What should happen is that the entry is replicated to the owner.

Cache config:
    <namedCache name="entity">
        <jmxStatistics enabled="true" />
        <clustering mode="dist">
            <stateTransfer fetchInMemoryState="false" timeout="20000" />
            <async />
            <l1 enabled="true" />
            <hash numOwners="1"/>
        </clustering>
        <locking isolationLevel="READ_COMMITTED"
            lockAcquisitionTimeout="15000" useLockStriping="false" />
        <eviction maxEntries="10000" strategy="LRU" />
        <expiration maxIdle="100000" wakeUpInterval="5000"/>
        <storeAsBinary storeKeysAsBinary="true" storeValuesAsBinary="false" enabled="false" />
        <transaction transactionMode="TRANSACTIONAL" autoCommit="false" lockingMode="OPTIMISTIC"/>
    </namedCache>

--
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