You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ramkumar Aiyengar (JIRA)" <ji...@apache.org> on 2014/08/07 15:54:11 UTC

[jira] [Created] (SOLR-6336) DistributedQueue (and it's use in OCP) leaks ZK Watches

Ramkumar Aiyengar created SOLR-6336:
---------------------------------------

             Summary: 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


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