[JBoss JIRA] (ISPN-7509) TotalOrderStateTransferInterceptor doesn't handle OutdatedTopologyException for read commands
by Pedro Ruivo (JIRA)
[ https://issues.jboss.org/browse/ISPN-7509?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo updated ISPN-7509:
------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/5073
> 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.0.1.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}}.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 9 months
[JBoss JIRA] (ISPN-7509) TotalOrderStateTransferInterceptor doesn't handle OutdatedTopologyException for read commands
by Pedro Ruivo (JIRA)
[ https://issues.jboss.org/browse/ISPN-7509?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo updated ISPN-7509:
------------------------------
Fix Version/s: 9.0.1.Final
(was: 9.1.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.0.1.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}}.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 9 months
[JBoss JIRA] (ISPN-7144) Cross-Site Replication: inconsistent data with multiple site masters
by Pedro Ruivo (JIRA)
[ https://issues.jboss.org/browse/ISPN-7144?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo commented on ISPN-7144:
-----------------------------------
[~zeguan], the fix would be setting {{RELAY2.max_site_master=1}} (that is the default value anyway) in JGroups configuration.
> Cross-Site Replication: inconsistent data with multiple site masters
> --------------------------------------------------------------------
>
> Key: ISPN-7144
> URL: https://issues.jboss.org/browse/ISPN-7144
> Project: Infinispan
> Issue Type: Bug
> Components: Cross-Site Replication
> Affects Versions: 9.0.0.Alpha4
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
>
> Cross-Site replication with multiple site masters may not work properly when configured asynchronously.
> It relies on the deliver order of the updates to the remote site but, with multiple site masters, it is possible an update to go through one of the possible routes. Having commands going through different routes violates the FIFO order needed leading to inconsistent data between sites.
> Note: it doesn't happen in synchronous mode.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 9 months
[JBoss JIRA] (ISPN-7631) Cache.entrySet() entries don't implement Map.Entry.equals() correctly
by Pedro Ruivo (JIRA)
[ https://issues.jboss.org/browse/ISPN-7631?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo updated ISPN-7631:
------------------------------
Fix Version/s: 9.0.1.Final
> Cache.entrySet() entries don't implement Map.Entry.equals() correctly
> ---------------------------------------------------------------------
>
> Key: ISPN-7631
> URL: https://issues.jboss.org/browse/ISPN-7631
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.0.0.CR2
> Reporter: Dan Berindei
> Assignee: Pedro Ruivo
> Fix For: 9.0.1.Final
>
>
> The {{Map.Entry.equals()}} javadoc says "Returns true if the given object is also a map entry and the two entries represent the same mapping.", meaning any other metadata stored in cache entries (e.g. lifespan) must be ignored for the purpose of checking equality. In other words, this code should work regardless of what entries are stored in the cache or in the invocation context:
> {code:java}
> cache.entrySet().contains(new AbstractMap.SimpleEntry("k", "v"))
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 9 months
[JBoss JIRA] (ISPN-7144) Cross-Site Replication: inconsistent data with multiple site masters
by Zefa Guan (JIRA)
[ https://issues.jboss.org/browse/ISPN-7144?page=com.atlassian.jira.plugin.... ]
Zefa Guan commented on ISPN-7144:
---------------------------------
Hi Pedro,
do we have the target time to fix it?
> Cross-Site Replication: inconsistent data with multiple site masters
> --------------------------------------------------------------------
>
> Key: ISPN-7144
> URL: https://issues.jboss.org/browse/ISPN-7144
> Project: Infinispan
> Issue Type: Bug
> Components: Cross-Site Replication
> Affects Versions: 9.0.0.Alpha4
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
>
> Cross-Site replication with multiple site masters may not work properly when configured asynchronously.
> It relies on the deliver order of the updates to the remote site but, with multiple site masters, it is possible an update to go through one of the possible routes. Having commands going through different routes violates the FIFO order needed leading to inconsistent data between sites.
> Note: it doesn't happen in synchronous mode.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 9 months