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

TotalOrderStateTransferInterceptor doesn't handle OutdatedTopologyException for read commands

    Details

      Description

      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:

      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}
      

      This causes random failures in DistTotalOrderVersionedStateTransferTest.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pruivo Pedro Ruivo
                Reporter:
                dan.berindei Dan Berindei
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: