[
https://issues.apache.org/jira/browse/IGNITE-6519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16203367#comment-16203367
]
ASF GitHub Bot commented on IGNITE-6519:
----------------------------------------
GitHub user akuramshingg opened a pull request:
https://github.com/apache/ignite/pull/2845
IGNITE-6519 Race in SplitAwareTopologyValidator on activator and server
node join
TestRecordingCommunicationSpi fix
references IGNITE-6507 Commit can be lost in network split scenario
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-6519
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/2845.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2845
----
commit 25fefabd3a61df7de2bac48a49fe384107d02aa4
Author: Alexandr Kuramshin <[email protected]>
Date: 2017-10-13T10:27:12Z
IGNITE-6519 Race in SplitAwareTopologyValidator on activator and server
node join
TestRecordingCommunicationSpi fix
----
> Race in SplitAwareTopologyValidator on activator and server node join
> ---------------------------------------------------------------------
>
> Key: IGNITE-6519
> URL: https://issues.apache.org/jira/browse/IGNITE-6519
> Project: Ignite
> Issue Type: Bug
> Components: cache
> Affects Versions: 2.1
> Reporter: Alexandr Kuramshin
> Assignee: Alexandr Kuramshin
>
> The following sequence may occur:
> 1. {{SplitAwareTopologyValidator}} detects split, gets {{NOTVALID}} and
> returns false from {{validate()}}
> 2. Activator node joins and {{SplitAwareTopologyValidator}} gets {{REPAIRED}}
> 3. Server node joins from other DC and it makes
> {{SplitAwareTopologyValidator}} gets {{VALID}}
> 4. Then the server node left the cluster and {{SplitAwareTopologyValidator}}
> should return false from {{validate()}} in cause of next split
> But current implementation makes {{SplitAwareTopologyValidator}}
> auto-{{REPAIRED}}. Actually if the activator node will being forgotten to
> leave the cluster it may automatically repair a split many times. But it
> supposed to be manual operation.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)