You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/04/21 22:40:13 UTC

[jira] [Commented] (SOLR-8837) Duplicate leader elector node detection is broken

    [ https://issues.apache.org/jira/browse/SOLR-8837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15252651#comment-15252651 ] 

ASF subversion and git services commented on SOLR-8837:
-------------------------------------------------------

Commit 0b7b28a04157f4a74020ea79a29ad74c280f137f in lucene-solr's branch refs/heads/branch_5x from [~romseygeek]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=0b7b28a ]

SOLR-8837: Fix duplicate election node detection


> Duplicate leader elector node detection is broken
> -------------------------------------------------
>
>                 Key: SOLR-8837
>                 URL: https://issues.apache.org/jira/browse/SOLR-8837
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: master, 6.0
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>             Fix For: 6.0, 5.5.1
>
>         Attachments: SOLR-8837.patch
>
>
> LeaderElector.checkIfIAmLeader checks to see if it has duplicate registrations in under its election node, but it does this by prefix checking, which means that if core_node1 registers itself after core_node11, it will think it's a duplicate, and delete the core_node11 node.
> This is causing regular failures in UnloadDistributedZkTest.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org