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

Mark Miller commented on SOLR-6426:
-----------------------------------

Also, keep in mind, this change does nothing about the risk of another client 
constantly adding nodes. That could race with this before and after. This is 
about trying to remove a node that has children - it looks like the node has no 
children, we try to remove it, boom it has a child. It doesn't affect a race 
off adding and removing children nodes. It just makes the method consistent in 
working how it was intended rather than this odd race fail you can get.

That doesn't mean the clean method itself could not be re implemented or 
something, but that's another issue.

> SolrZkClient clean can fail due to a race with children nodes.
> --------------------------------------------------------------
>
>                 Key: SOLR-6426
>                 URL: https://issues.apache.org/jira/browse/SOLR-6426
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 5.0, Trunk
>
>




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to