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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1
    • Fix Version/s: 5.2, 6.0
    • Component/s: SolrCloud
    • Labels:

      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 Jessica Cheng Mallet for catching this.

        Attachments

        1. SOLR-7503.patch
          4 kB
          Timothy Potter

          Activity

            People

            • Assignee:
              thelabdude Timothy Potter
              Reporter:
              shalinmangar Shalin Shekhar Mangar
            • Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: