Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8588

TxBatchUpdater omits Cache Store when calling Cache#computeIfAbsent

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • 9.1.3.Final
    • Core, Transactions
    • None

      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() 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.

              remerson@redhat.com Ryan Emerson
              slaskawi@redhat.com Sebastian Ɓaskawiec (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: