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

TxBatchUpdater omits Cache Store when calling Cache#computeIfAbsent

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

            remerson@redhat.com Ryan Emerson
            slaskawi@redhat.com Sebastian Ɓaskawiec (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: