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

Fix DOWNNODE -> queue-work explosion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.6.1, 7.0, 8.0
    • SolrCloud
    • None

    Description

      Every DOWNNODE command enqueues N copies of itself into queue-work, where N is number of collections affected by the DOWNNODE.

      This rarely matters in practice, because queue-work gets immediately dumped-- however, if anything throws an exception (such as ZK bad version), we don't clear queue-work. Then the next time through the loop we run the expensive DOWNNODE command potentially hundreds of times.

      Attachments

        1. SOLR-10983.patch
          3 kB
          Scott Blum

        Activity

          People

            dragonsinth Scott Blum
            dragonsinth Scott Blum
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: