[ 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to