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

Shai Erera edited comment on LUCENE-4975 at 5/8/13 12:37 PM:
-------------------------------------------------------------

bq. The bug is that IndexWriter.close() waits for merges and commits. Lets quit 
kidding ourselves ok?

Not sure I agree .. the bug is real, and if somebody did new 
IW().commit().close() without making any change, he might be surprised about 
that commit too, and also IW would overwrite an existing file. The only thing 
"close-not-committing" would solve in this case is that I won't need to call 
rollback(), but close(). The bug won't disappear.
                
      was (Author: shaie):
    bq. The bug is that IndexWriter.close() waits for merges and commits. Lets 
quit kidding ourselves ok?

Not sure I agree .. the bug is real, and if somebody did new 
IW().commit().close() without making any change, he might be surprised about 
that commit too, and also IW would overwrite any existing file. The only thing 
"close-not-committing" would solve in this case is that I won't need to call 
rollback(), but close(). The bug won't disappear.
                  
> 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
>
>
> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to