[infinispan-issues] [JBoss JIRA] (ISPN-8588) TxBatchUpdater omits Cache Store when calling Cache#computeIfAbsent

Ryan Emerson (Jira) issues at jboss.org
Tue Jun 9 10:32:30 EDT 2020


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

Ryan Emerson closed ISPN-8588.
------------------------------
    Resolution: Out of Date


TxBatchUpdater no longer used. ISPN-11982

> TxBatchUpdater omits Cache Store when calling Cache#computeIfAbsent
> -------------------------------------------------------------------
>
>                 Key: ISPN-8588
>                 URL: https://issues.redhat.com/browse/ISPN-8588
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core, Transactions
>    Affects Versions: 9.1.3.Final
>            Reporter: Sebastian Laskawiec
>            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.13.8#713008)



More information about the infinispan-issues mailing list