[ https://issues.apache.org/jira/browse/LUCENE-2471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12967210#action_12967210 ]
Shai Erera commented on LUCENE-2471: ------------------------------------ bq. I think the problem actually wasn't interrupting but some sort of race condition? Could be, I don't remember the exact details. I totally agree with you, though it's like a "hen and egg" situation - we cannot develop anything safe until we have good threaded unit tests, and we can never know we have those until we have any implementation that might break. So I personally don't mind if we pursue implementation of FileChannel copying, in NIOFSDirectory only, and then investigate the current threaded indexing/search tests and add some if we think something's missing. But currently we're in sort of a limbo :). Anyway, I don't think it's related to that issue and can be handled in a separate issue. If you agree, and assuming nothing more should be done here, we can close this one. > Supporting bulk copies in Directory > ----------------------------------- > > Key: LUCENE-2471 > URL: https://issues.apache.org/jira/browse/LUCENE-2471 > Project: Lucene - Java > Issue Type: Improvement > Components: Store > Reporter: Earwin Burrfoot > Fix For: 3.1, 4.0 > > > A method can be added to IndexOutput that accepts IndexInput, and writes > bytes using it as a source. > This should be used for bulk-merge cases (offhand - norms, docstores?). Some > Directories can then override default impl and skip intermediate buffers > (NIO, MMap, RAM?). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org