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

2016-04-21 Thread Anshum Gupta (JIRA)

 [ 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



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

2016-03-21 Thread Alan Woodward (JIRA)

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

Alan Woodward resolved SOLR-8837.
-
   Resolution: Fixed
 Assignee: Alan Woodward
Fix Version/s: 6.0

> 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
>
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org