Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-6336

DistributedQueue (and it's use in OCP) leaks ZK Watches

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.10, 6.0
    • SolrCloud
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              markrmiller@gmail.com Mark Miller
              andyetitmoves Ramkumar Aiyengar
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: