]
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/sp...]
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.