[infinispan-issues] [JBoss JIRA] (ISPN-7509) TotalOrderStateTransferInterceptor doesn't handle OutdatedTopologyException for read commands

Dan Berindei (JIRA) issues at jboss.org
Wed Feb 22 08:11:00 EST 2017


Dan Berindei created ISPN-7509:
----------------------------------

             Summary: TotalOrderStateTransferInterceptor doesn't handle OutdatedTopologyException for read commands
                 Key: ISPN-7509
                 URL: https://issues.jboss.org/browse/ISPN-7509
             Project: Infinispan
          Issue Type: Bug
          Components: Core
    Affects Versions: 9.0.0.CR1
            Reporter: Dan Berindei
            Priority: Critical
             Fix For: 9.0.0.CR2


Since ISPN-6859, read commands can also trigger {{OutdatedTopologyException}}, but these are only handled in the non-TO {{StateTransferInterceptor}}. When a read should be retried because of a topology change in a TO cache, the {{OutdatedTopologyException}} is instead thrown to the user:

{noformat}
16:50:40,595 DEBUG (jgroups-9,Test-NodeA-483:[]) [InvocationContextInterceptor] ISPN000311: Received a command from an outdated topology, returning the exception to caller
org.infinispan.statetransfer.OutdatedTopologyException: Did not get any successful response, got {Test-NodeC-46564=UnsuccessfulResponse}
16:50:40,595 ERROR (testng-Test:[]) [TestSuiteProgress] Test failed: org.infinispan.tx.totalorder.statetransfer.DistTotalOrderVersionedStateTransferTest.testStateTransfer
org.infinispan.statetransfer.OutdatedTopologyException: Did not get any successful response, got {Test-NodeC-46564=UnsuccessfulResponse}
{noformat}

This causes random failures in {{DistTotalOrderVersionedStateTransferTest}}.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list