[
https://issues.apache.org/jira/browse/LUCENE-4975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shai Erera updated LUCENE-4975:
-------------------------------
Attachment: LUCENE-4975.patch
Patch resolves all remaining noocmmits. I made both IndexReplicationHandler and
IndexAndTaxonomyReplicationHandler more resilient to errors but carefully
reverting any changes made to the target indexes on errors. Also ensure that
segments_N files are written last.
I also added code to write segments.gen. To do that I factored out
SegmentInfos.writeSegmentsGen which takes a Directory and generation. It is now
used by SIS.finishCommit and the handlers.
Would appreciate if someone can review the handlers, and whether they can be
written in a more resilient ways.
I want to beast IndexReplicationClientTest and
IndexAndTaxonomyReplictionClientTest checkConsistencyOnExceptions before
committing. If anyone's interested to help, just fire {{ant test
-Dtestcase=IndexReplicationHandlerTest
-Dtestsm.method=testConsistencyOnExceptions -Dtests.iters=1000}} (and same for
IndexAndTaxonomyReplicationClientTest) and let me know the seeds that failed.
> Add Replication module to Lucene
> --------------------------------
>
> Key: LUCENE-4975
> URL: https://issues.apache.org/jira/browse/LUCENE-4975
> Project: Lucene - Core
> Issue Type: New Feature
> Reporter: Shai Erera
> Assignee: Shai Erera
> Attachments: LUCENE-4975.patch, LUCENE-4975.patch, LUCENE-4975.patch,
> LUCENE-4975.patch, LUCENE-4975.patch, LUCENE-4975.patch, LUCENE-4975.patch
>
>
> I wrote a replication module which I think will be useful to Lucene users who
> want to replicate their indexes for e.g high-availability, taking hot backups
> etc.
> I will upload a patch soon where I'll describe in general how it works.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]