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

Commit should fail if cache is in degraded mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 8.1.9.Final, 8.2.8.Final, 9.1.2.Final, 9.2.0.Alpha2
    • Core
    • None

    Description

      When the originator receives a CacheNotFoundResponse and the cache is in degraded mode, the transaction is marked as partially completed, but the commit completes successfully.

      I believe that is not correct, because the originator could crash after the commit but before the merge, and in that case the transaction will not be applied on all the owners. The transaction manager will ignore any commit exception in NON_XA/useSynchronization mode, but at least in FULL_XA/NON_DURABLE_XA mode we can signal to the user that the transaction may be lost.

      Attachments

        Issue Links

          Activity

            Public project attachment banner

              context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
              current Project key: ISPN

              People

                Unassigned Unassigned
                dberinde@redhat.com Dan Berindei
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated: