[infinispan-issues] [JBoss JIRA] (ISPN-8484) Retried prepare times out while partition is in degraded mode

Pedro Zapata (JIRA) issues at jboss.org
Fri Nov 3 08:12:00 EDT 2017


Pedro Zapata created ISPN-8484:
----------------------------------

             Summary: Retried prepare times out while partition is in degraded mode
                 Key: ISPN-8484
                 URL: https://issues.jboss.org/browse/ISPN-8484
             Project: Infinispan
          Issue Type: Bug
          Components: Core
    Affects Versions: 8.1.9.Final, 9.0.3.Final, 8.2.8.Final, 9.1.2.Final, 9.2.0.Alpha2
            Reporter: Pedro Zapata
            Assignee: Dan Berindei
             Fix For: 8.1.10.Final, 8.2.9.Final, 9.2.0.Beta1, 9.1.3.Final


Since ISPN-5046, prepare commands are retried if one of the prepare targets has left the cluster. However, when the cache enters degraded mode, the prepare targets still include the owners in other partitions, and the prepare command is retried again.

Each retry automatically waits for cache topology {{<command topology> + 1}}. But the second retry is not really triggered by a topology change, so the retry blocks for {{remoteTimeout}} milliseconds before failing with a {{TimeoutException}}. 

This situation actually happens in {{OptimisticTxPartitionAndMergeDuringPrepareTest}}, but the tests do not fail because it doesn't wait for an {{AvailabilityException}} specifically: they just take 15+ seconds each.





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


More information about the infinispan-issues mailing list