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

Commit should fail if cache is in degraded mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • 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

            People

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

              Dates

                Created:
                Updated:
                Resolved: