[ https://issues.apache.org/jira/browse/LUCENE-6843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrien Grand updated LUCENE-6843: --------------------------------- Attachment: LUCENE-6843.patch Here is a patch that reverts RAMDirectory.listAll() to how it was before LUCENE-6829. > RAMDirectory.listAll() sometimes returns null files > --------------------------------------------------- > > Key: LUCENE-6843 > URL: https://issues.apache.org/jira/browse/LUCENE-6843 > Project: Lucene - Core > Issue Type: Bug > Reporter: Adrien Grand > Attachments: LUCENE-6843.patch > > > RAMDirectory was changed in LUCENE-6829 in a way that looks harmless but > actually it can lead to RAMDirectory returning null files when > Directory.listAll() is called if some files are deleted concurrently with > file listing. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org