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

Make sub shard replica recovery and shard state switch asynchronous

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.6, 6.0
    • SolrCloud
    • None

    Description

      Currently the shard split command waits for all replicas of all sub shards to recover and then switches the state of parent to inactive and sub-shards to active.

      The problem is that shard split (ab)uses the CoreAdmin WaitForState action to ask the sub shard leader to wait until the replica states are active. This action is prone to timeout.

      We should make the shard state switching asynchronous. Once all replicas of all sub-shards are 'active', the shard states should be switched automatically.

      Attachments

        1. SOLR-5324.patch
          25 kB
          Shalin Shekhar Mangar
        2. SOLR-5324.patch
          25 kB
          Shalin Shekhar Mangar
        3. SOLR-5324.patch
          23 kB
          Shalin Shekhar Mangar
        4. SOLR-5324.patch
          23 kB
          Shalin Shekhar Mangar

        Activity

          People

            shalin Shalin Shekhar Mangar
            shalin Shalin Shekhar Mangar
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: