You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Bruce Schuchardt (JIRA)" <ji...@apache.org> on 2017/06/09 00:14:18 UTC

[jira] [Resolved] (GEODE-2165) testMultipleLocatorsRestartingAtSameTime failed

     [ https://issues.apache.org/jira/browse/GEODE-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruce Schuchardt resolved GEODE-2165.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0

Commit 88825071fad314819358e8feb2f34481dd3c1d64 in geode's branch refs/heads/develop from Bruce Schuchardt
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=8882507 ]
GEODE-3052 Restarting locators causes potential locator split brain
When restarting from a locatorView.dat file we should ignore any locator
entries in the view. Recovery tries to get this state from other locators
before resorting to using the persisted view so there we know all of the
locator entries in the view are invalid. This allows the locators to
quickly move into the concurrent-startup algorithm and find each other.

> testMultipleLocatorsRestartingAtSameTime failed
> -----------------------------------------------
>
>                 Key: GEODE-2165
>                 URL: https://issues.apache.org/jira/browse/GEODE-2165
>             Project: Geode
>          Issue Type: Bug
>          Components: membership
>            Reporter: Hitesh Khamesra
>             Fix For: 1.2.0
>
>
> org.apache.geode.distributed.LocatorDUnitTest > testMultipleLocatorsRestartingAtSameTime FAILED
>     java.lang.AssertionError: expected:<27> but was:<38>
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.failNotEquals(Assert.java:834)
>         at org.junit.Assert.assertEquals(Assert.java:645)
>         at org.junit.Assert.assertEquals(Assert.java:631)
>         at org.apache.geode.distributed.LocatorDUnitTest.testMultipleLocatorsRestartingAtSameTime(LocatorDUnitTest.java:1822)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)