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

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

Commit 1616772 from [~markrmil...@gmail.com] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1616772 ]

SOLR-6336: Cache children as well so that they can be returned when the watcher 
is reused.

> DistributedQueue (and it's use in OCP) leaks ZK Watches
> -------------------------------------------------------
>
>                 Key: SOLR-6336
>                 URL: https://issues.apache.org/jira/browse/SOLR-6336
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: Ramkumar Aiyengar
>            Assignee: Mark Miller
>
> The current {{DistributedQueue}} implementation leaks ZK watches whenever it 
> finds children or times out on finding one. OCP uses this in its event loop 
> and can loop tight in some conditions (when exclusivity checks fail), leading 
> to lots of watches which get triggered together on the next event (could be a 
> while for some activities like shard splitting).
> This gets exposed by SOLR-6261 which spawns a new thread for every parallel 
> watch event.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to