[infinispan-issues] [JBoss JIRA] (ISPN-8588) TxBatchUpdater omits Cache Store when calling Cache#computeIfAbsent
Sebastian Łaskawiec (JIRA)
issues at jboss.org
Wed Dec 6 06:03:00 EST 2017
Sebastian Łaskawiec created ISPN-8588:
-----------------------------------------
Summary: TxBatchUpdater omits Cache Store when calling Cache#computeIfAbsent
Key: ISPN-8588
URL: https://issues.jboss.org/browse/ISPN-8588
Project: Infinispan
Issue Type: Bug
Components: Core, Transactions
Affects Versions: 9.1.3.Final
Reporter: Sebastian Łaskawiec
Assignee: Ryan Emerson
Priority: Minor
One of our users reported problems when calling Spring's integration in sync mode with transactions and a Cache Store (see the forum reference).
Spring's sync mode invokes [computeIfAbsent()|https://github.com/infinispan/infinispan/blob/master/spring/spring4/spring4-common/src/main/java/org/infinispan/spring/provider/CacheDelegate.java#L74-L80] method, which in consequence invokes PersistenceManagerImpl. The PersistenceManagerImpl class calls {{TxBatchUpdater#visitComputeIfAbsentCommand}} which is not overridden from the {{AbstractVisitor}} class. I believe {{TxBatchUpdater}} should provide similar {{#visitComputeIfAbsentCommand}} implementation to {{#visitPutKeyValueCommand}} method.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list