[
https://issues.apache.org/jira/browse/LUCENE-9115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand resolved LUCENE-9115.
----------------------------------
Fix Version/s: 8.5
Resolution: Fixed
> NRTCachingDirectory may put large files in the cache
> ----------------------------------------------------
>
> Key: LUCENE-9115
> URL: https://issues.apache.org/jira/browse/LUCENE-9115
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Adrien Grand
> Priority: Minor
> Fix For: 8.5
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> NRTCachingDirectory assumes that the length of a file to write is 0 if there
> is no merge info or flush info. This is not correct as there are situations
> when Lucene might write very large files that have neither of them, for
> instance:
> - Stored fields are written on the fly with IOContext.DEFAULT (which doesn't
> have flush or merge info) and without taking any of the IndexWriter buffer,
> so gigabytes could be written before a flush happens.
> - BKD trees are merged with IOContext.DEFAULT.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]