[jira] [Commented] (SOLR-5324) Make sub shard replica recovery and shard state switch asynchronous
[ https://issues.apache.org/jira/browse/SOLR-5324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13791463#comment-13791463 ] Anshum Gupta commented on SOLR-5324: This is good. Just had a quick look and it looks fine to me. > 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: 4.6, 5.0 > > Attachments: SOLR-5324.patch, SOLR-5324.patch > > > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-5324) Make sub shard replica recovery and shard state switch asynchronous
[ https://issues.apache.org/jira/browse/SOLR-5324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13791503#comment-13791503 ] Shalin Shekhar Mangar commented on SOLR-5324: - Thanks Anshum! I think this is ready to go into trunk. I'll let it bake for a while and then merge into branch_4x. > 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: 4.6, 5.0 > > Attachments: SOLR-5324.patch, SOLR-5324.patch, SOLR-5324.patch > > > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-5324) Make sub shard replica recovery and shard state switch asynchronous
[ https://issues.apache.org/jira/browse/SOLR-5324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13791538#comment-13791538 ] ASF subversion and git services commented on SOLR-5324: --- Commit 1530994 from sha...@apache.org in branch 'dev/trunk' [ https://svn.apache.org/r1530994 ] SOLR-5324: Make sub shard replica recovery and shard state switch asynchronous > 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: 4.6, 5.0 > > Attachments: SOLR-5324.patch, SOLR-5324.patch, SOLR-5324.patch, > SOLR-5324.patch > > > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-5324) Make sub shard replica recovery and shard state switch asynchronous
[ https://issues.apache.org/jira/browse/SOLR-5324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13793453#comment-13793453 ] ASF subversion and git services commented on SOLR-5324: --- Commit 1531580 from sha...@apache.org in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1531580 ] SOLR-5324: Make sub shard replica recovery and shard state switch asynchronous > 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: 4.6, 5.0 > > Attachments: SOLR-5324.patch, SOLR-5324.patch, SOLR-5324.patch, > SOLR-5324.patch > > > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org