Solr
  1. Solr
  2. SOLR-5324

Make sub shard replica recovery and shard state switch asynchronous

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.6, Trunk
    • Component/s: SolrCloud
    • Labels:
      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.

      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

        No work has yet been logged on this issue.

          People

          • Assignee:
            Shalin Shekhar Mangar
            Reporter:
            Shalin Shekhar Mangar
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development