[infinispan-issues] [JBoss JIRA] (ISPN-7841) Add stream operations that can operate upon data exclusively

William Burns (JIRA) issues at jboss.org
Mon May 15 13:26:00 EDT 2017


William Burns created ISPN-7841:
-----------------------------------

             Summary: Add stream operations that can operate upon data exclusively
                 Key: ISPN-7841
                 URL: https://issues.jboss.org/browse/ISPN-7841
             Project: Infinispan
          Issue Type: Enhancement
          Components: Core, Distributed Execution and Map/Reduce
            Reporter: William Burns
            Assignee: William Burns
             Fix For: 9.1.0.Final


It would be nice to have a way to perform a stream operation where the data performed upon is done in an exclusive way. That is that the data cannot change while it is being processed upon. This is only at the level of per key. For example non tx cache could temporarily lock the entry to prevent a write. The same could occur with pessimistic transactions. Optimistic transactions are a bit special and in this case we could just allow for some retry logic to allow for the stream to reread a given key and try the stream operation again if a WriteSkewException was thrown.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list