[
https://issues.apache.org/jira/browse/LUCENE-753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624642#action_12624642
]
Michael McCandless commented on LUCENE-753:
-------------------------------------------
bq. The error with NIOFSDirectory is determinate and repeatable (same error
every time, same location, same query during warmup).
Did you see a prior exception, before hitting the AIOOBE? If so, I think this
is just LUCENE-1262 all over again. That issue was fixed in
BufferedIndexInput, but the NIOFSIndexInput has copied a bunch of code from
BufferedIndexInput (something I think we must fix before committing it -- I
think it should inherit from BufferedIndexInput instead) and so it still has
that bug. I'll post a patch with the bug re-fixed so you can at least test it
to see if it resolves your exception.
> Use NIO positional read to avoid synchronization in FSIndexInput
> ----------------------------------------------------------------
>
> Key: LUCENE-753
> URL: https://issues.apache.org/jira/browse/LUCENE-753
> Project: Lucene - Java
> Issue Type: New Feature
> Components: Store
> Reporter: Yonik Seeley
> Attachments: FileReadTest.java, FileReadTest.java, FileReadTest.java,
> FileReadTest.java, FileReadTest.java, FileReadTest.java, FileReadTest.java,
> FSDirectoryPool.patch, FSIndexInput.patch, FSIndexInput.patch,
> lucene-753.patch, lucene-753.patch
>
>
> As suggested by Doug, we could use NIO pread to avoid synchronization on the
> underlying file.
> This could mitigate any MT performance drop caused by reducing the number of
> files in the index format.
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]