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

Fix DOWNNODE -> queue-work explosion

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.6.1, 7.0, master (8.0)
    • Component/s: SolrCloud
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: