[infinispan-issues] [JBoss JIRA] (ISPN-3793) L1 tracks requestors for nodes that don't retrieve a value

William Burns (JIRA) jira-events at lists.jboss.org
Fri Dec 6 08:41:05 EST 2013


William Burns created ISPN-3793:
-----------------------------------

             Summary: L1 tracks requestors for nodes that don't retrieve a value
                 Key: ISPN-3793
                 URL: https://issues.jboss.org/browse/ISPN-3793
             Project: Infinispan
          Issue Type: Bug
          Components: Distributed Cache
    Affects Versions: 6.0.0.Final
            Reporter: William Burns
            Assignee: Mircea Markus


Currently we always register any non local requestor in the L1 requestors map.  This can be a performance issue with values that aren't present in the cache, since a new value put in for that value will require invalidating those nodes in addition to storing the key in memory while waiting for that.

The easiest fix would have been to check the command invocation to see if it returns a value, however ISPN-3737 moved the registering to before the command is ran to prevent a different issue.

Also thinking about it we could remove the requestor after the command returns, however this also has a race condition if you had data committed and the node retrieved the value concurrently.

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