[
https://issues.apache.org/jira/browse/LUCENE-4775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless updated LUCENE-4775:
---------------------------------------
Attachment: LUCENE-4775.patch
I started from Rob's patch, and then added simple fix for the thread safety,
which is for IW to pre-compute the size in mergeInit and then the method just
returns that.
> OneMerge.totalBytesSize is trappy
> ---------------------------------
>
> Key: LUCENE-4775
> URL: https://issues.apache.org/jira/browse/LUCENE-4775
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Michael McCandless
> Fix For: 4.2, 5.0
>
> Attachments: LUCENE-4775.patch, nuke.patch
>
>
> Spinoff from LUCENE-3051. This method is not thread-safe unless you hold
> IndexWriter's lock.
--
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]