You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2016/03/08 07:16:41 UTC

[jira] [Commented] (SOLR-5750) Backup/Restore API for SolrCloud

    [ https://issues.apache.org/jira/browse/SOLR-5750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15184501#comment-15184501 ] 

David Smiley commented on SOLR-5750:
------------------------------------

Hello Varun.  I've been kicking the tires on this.  When I run it explicitly, it seems to work fine -- no errors.  I also tested changing my IP address between backup & restore, simply by switching my network connection, and I'm glad to see the restored collection with the correct IPs.

Unfortunately, the test has never succeeded for me.  Half the time I get an NPE from Overseer, the other half the time the test fails its asserts at the end but before then I connection failure problems that I have yet to look closer at.  The Overseer NPE is curious... clusterState.json is null causing an NPE when a log message is printed around ~line 214, log.info("processMessage: .....  I started to debug that a bit but moved on.  I plan to look further into these things but I wanted to report this progress.

BTW I see no RestoreStatus in the patch.

I was thinking maybe I'll throw up an updated patch in ReviewBoard, but I'm waiting on INFRA-11152

> 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: 5.2, master
>
>         Attachments: 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org