You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2014/08/20 16:36:26 UTC

[jira] [Comment Edited] (LUCENE-5895) Add per-segment and per-commit id to help replication

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

Uwe Schindler edited comment on LUCENE-5895 at 8/20/14 2:35 PM:
----------------------------------------------------------------

Why not use Java's UUID class? [http://docs.oracle.com/javase/7/docs/api/java/util/UUID.html] - especially: [http://docs.oracle.com/javase/7/docs/api/java/util/UUID.html#randomUUID()]


was (Author: thetaphi):
Why not use Java's UUID class? http://docs.oracle.com/javase/7/docs/api/java/util/UUID.html - especially: http://docs.oracle.com/javase/7/docs/api/java/util/UUID.html#randomUUID()

> Add per-segment and per-commit id to help replication
> -----------------------------------------------------
>
>                 Key: LUCENE-5895
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5895
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 5.0, 4.10
>
>         Attachments: LUCENE-5895.patch
>
>
> It would be useful if Lucene recorded a unique id for each segment written and each commit point.  This way, file-based replicators can use this to "know" whether the segment/commit they are looking at on a source machine and dest machine are in fact that same.
> I know this would have been very useful when I was playing with NRT replication (LUCENE-5438).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org