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

Recovery after ZK session expiration happens in a single thread for all cores in a node

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.1
    • 5.2, 6.0
    • SolrCloud

    Description

      Currently cores are registered in parallel in an executor. However, when there's a ZK expiration, the recovery, which also happens in the register call, happens in a single thread:

      https://github.com/apache/lucene-solr/blob/trunk/solr/core/src/java/org/apache/solr/cloud/ZkController.java#L300

      We should make these happen in parallel as well so that recovery after ZK expiration doesn't take forever.

      Thanks to mewmewball for catching this.

      Attachments

        1. SOLR-7503.patch
          4 kB
          Timothy Potter

        Activity

          People

            thelabdude Timothy Potter
            shalin Shalin Shekhar Mangar
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: