[
https://issues.apache.org/jira/browse/SOLR-3755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shalin Shekhar Mangar updated SOLR-3755:
----------------------------------------
Attachment: SOLR-3755.patch
Changes:
# Make splitshard retryable by unloading cores part of a sub-shard and starting
from scratch again. If a sub-shard is already in active state, splitshard will
fail.
# Use PRERECOVERY core admin command to make the parent shard leader wait for
sub shard cores to be active
# Similar to point 2 above, use the PRERECOVERY command to wait for sub shard
replicas to be available before switching the shard states
# The mismatch between the expected and actual number of documents was because
the SolrIndexSplitter does not take the type of the unique key field into
account while calculating the hash. I changed it to use indexedToReadable to
make it compute the correct hash. This needs to be reviewed for performance
implications.
# ShardSplitTest passes.
I'll be working to add more tests in the coming days.
> shard splitting
> ---------------
>
> Key: SOLR-3755
> URL: https://issues.apache.org/jira/browse/SOLR-3755
> Project: Solr
> Issue Type: New Feature
> Components: SolrCloud
> Reporter: Yonik Seeley
> Attachments: SOLR-3755-combined.patch,
> SOLR-3755-combinedWithReplication.patch, SOLR-3755-CoreAdmin.patch,
> SOLR-3755.patch, SOLR-3755.patch, SOLR-3755.patch, SOLR-3755.patch,
> SOLR-3755.patch, SOLR-3755.patch, SOLR-3755.patch, SOLR-3755.patch,
> SOLR-3755-testSplitter.patch, SOLR-3755-testSplitter.patch
>
>
> We can currently easily add replicas to handle increases in query volume, but
> we should also add a way to add additional shards dynamically by splitting
> existing shards.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]