You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2013/10/09 16:30:43 UTC

[jira] [Created] (SOLR-5324) Make sub shard replica recovery and shard state switch asynchronous

Shalin Shekhar Mangar created SOLR-5324:
-------------------------------------------

             Summary: Make sub shard replica recovery and shard state switch asynchronous
                 Key: SOLR-5324
                 URL: https://issues.apache.org/jira/browse/SOLR-5324
             Project: Solr
          Issue Type: Improvement
          Components: SolrCloud
            Reporter: Shalin Shekhar Mangar
            Assignee: Shalin Shekhar Mangar
             Fix For: 5.0, 4.6


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.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org