lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <>
Subject [jira] Commented: (SOLR-561) Solr replication by Solr (for windows also)
Date Tue, 14 Oct 2008 16:01:47 GMT


Noble Paul commented on SOLR-561:

bq.Why are files downloaded to a temp directory first? 
If Solr crashes while downloading that will leave unnecessary/incomplete files in the index
directory. We did not want the index directory to be polluted. The files are 'moved' to index
directory after they are downloaded . 

The segments_n file is copied in the end. from temp directory to index directory. 
(OK , that patch is coming ;) )

> Solr replication by Solr (for windows also)
> -------------------------------------------
>                 Key: SOLR-561
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>          Components: replication
>    Affects Versions: 1.4
>         Environment: All
>            Reporter: Noble Paul
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.4
>         Attachments: deletion_policy.patch, SOLR-561-core.patch, SOLR-561-full.patch,
SOLR-561-full.patch, SOLR-561-full.patch, SOLR-561-full.patch, SOLR-561.patch, SOLR-561.patch,
SOLR-561.patch, SOLR-561.patch, SOLR-561.patch, SOLR-561.patch
> The current replication strategy in solr involves shell scripts . The following are the
drawbacks with the approach
> *  It does not work with windows
> * Replication works as a separate piece not integrated with solr.
> * Cannot control replication from solr admin/JMX
> * Each operation requires manual telnet to the host
> Doing the replication in java has the following advantages
> * Platform independence
> * Manual steps can be completely eliminated. Everything can be driven from solrconfig.xml
> ** Adding the url of the master in the slaves should be good enough to enable replication.
Other things like frequency of
> snapshoot/snappull can also be configured . All other information can be automatically
> * Start/stop can be triggered from solr/admin or JMX
> * Can get the status/progress while replication is going on. It can also abort an ongoing
> * No need to have a login into the machine 
> * From a development perspective, we can unit test it
> This issue can track the implementation of solr replication in java

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message