]
Tristan Tarrant updated ISPN-7509:
----------------------------------
Fix Version/s: 9.1.0.Final
(was: 9.0.0.Final)
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
Assignee: Pedro Ruivo
Priority: Critical
Labels: testsuite_stability
Fix For: 9.1.0.Final
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}}.