You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Anshum Gupta (JIRA)" <ji...@apache.org> on 2016/04/21 23:13:12 UTC

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

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

Anshum Gupta resolved SOLR-8837.
--------------------------------
    Resolution: Fixed

> 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