[
https://issues.apache.org/jira/browse/SOLR-5750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15270796#comment-15270796
]
Shalin Shekhar Mangar commented on SOLR-5750:
---------------------------------------------
I am seeing a reproducible failure in TestCloudBackupRestore
{code}
2> NOTE: reproduce with: ant test -Dtestcase=TestCloudBackupRestore
-Dtests.method=test -Dtests.seed=4AD582D4894F28CF -Dtests.slow=true
-Dtests.locale=fr-BE -Dtests.timezone=Europe/Simferopol -Dtests.asserts=true
-Dtests.file.encoding=ISO-8859-1
[19:07:22.801] ERROR 28.2s J0 | TestCloudBackupRestore.test <<<
> Throwable #1: org.apache.solr.client.solrj.SolrServerException: No
collection param specified on request and no default collection has been set.
> at
__randomizedtesting.SeedInfo.seed([4AD582D4894F28CF:C281BD0E27B34537]:0)
> at
org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:590)
> at
org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1073)
> at
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:962)
> at
org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:898)
> at
org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:149)
> at org.apache.solr.client.solrj.SolrClient.commit(SolrClient.java:484)
> at org.apache.solr.client.solrj.SolrClient.commit(SolrClient.java:463)
> at
org.apache.solr.cloud.TestCloudBackupRestore.test(TestCloudBackupRestore.java:105)
{code}
> Backup/Restore API for SolrCloud
> --------------------------------
>
> Key: SOLR-5750
> URL: https://issues.apache.org/jira/browse/SOLR-5750
> Project: Solr
> Issue Type: Sub-task
> Components: SolrCloud
> Reporter: Shalin Shekhar Mangar
> Assignee: Varun Thacker
> Fix For: 6.1
>
> Attachments: SOLR-5750.patch, SOLR-5750.patch, SOLR-5750.patch,
> SOLR-5750.patch, SOLR-5750.patch, SOLR-5750.patch, SOLR-5750.patch
>
>
> We should have an easy way to do backups and restores in SolrCloud. The
> ReplicationHandler supports a backup command which can create snapshots of
> the index but that is too little.
> The command should be able to backup:
> # Snapshots of all indexes or indexes from the leader or the shards
> # Config set
> # Cluster state
> # Cluster properties
> # Aliases
> # Overseer work queue?
> A restore should be able to completely restore the cloud i.e. no manual steps
> required other than bringing nodes back up or setting up a new cloud cluster.
> SOLR-5340 will be a part of this issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]