[infinispan-issues] [JBoss JIRA] (ISPN-8453) Commit should fail if cache is in degraded mode

Dan Berindei (JIRA) issues at jboss.org
Mon Oct 30 12:33:00 EDT 2017


Dan Berindei created ISPN-8453:
----------------------------------

             Summary: Commit should fail if cache is in degraded mode
                 Key: ISPN-8453
                 URL: https://issues.jboss.org/browse/ISPN-8453
             Project: Infinispan
          Issue Type: Bug
          Components: Core
    Affects Versions: 9.2.0.Alpha2, 9.1.2.Final, 8.2.8.Final, 8.1.9.Final
            Reporter: Dan Berindei
            Assignee: Dan Berindei
             Fix For: 9.2.0.Beta1


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.




--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list