Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.4
-
None
-
All
Description
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 obtained.
- Adding the url of the master in the slaves should be good enough to enable replication. Other things like frequency of
- 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 replication
- 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
Attachments
Attachments
Issue Links
- depends upon
-
SOLR-647 Do SolrCore.close() in a refcounted way
- Closed
-
SOLR-617 Allow configurable deletion policy
- Closed
-
SOLR-605 Programatically register SolrEventListeners
- Closed
-
SOLR-638 Enable access to MultiCore from SolrCore
- Closed
- incorporates
-
SOLR-551 Solr replication should include the schema also
- Closed
- is blocked by
-
SOLR-658 Allow Solr to load index from arbitrary directory in dataDir
- Closed
- is related to
-
SOLR-727 appcontext, host and port of the Solr application must be available through API
- Resolved
-
SOLR-1439 Enhance PollInterval for Java Replication
- Closed
-
SOLR-820 replicate After startup for new replication
- Closed
- relates to
-
SOLR-327 shell scripts failed to run on Solaris 8 (and probably other non recent UNIX)
- Resolved
-
SOLR-829 replication Compression
- Closed
-
SOLR-821 replication must allow copying conf file in a different name to slave
- Closed
-
SOLR-847 Enhance the snappull command in ReplicationHandler to take in masterUrl
- Closed