You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2019/06/06 10:43:00 UTC
[jira] [Created] (LUCENE-8835) Respect file extension when listing
files form FileSwitchDirectory
Simon Willnauer created LUCENE-8835:
---------------------------------------
Summary: Respect file extension when listing files form FileSwitchDirectory
Key: LUCENE-8835
URL: https://issues.apache.org/jira/browse/LUCENE-8835
Project: Lucene - Core
Issue Type: Bug
Reporter: Simon Willnauer
FileSwitchDirectory splits file actions between 2 directories based on file extensions. The extensions are respected on write operations like delete or create but ignored when we list the content of the directories. Until now we only deduplicated the contents on Directory#listAll which can cause inconsistencies and hard to debug errors due to double deletions in IndexWriter is a file is pending delete in one of the directories but still shows up in the directory listing form the other directory. This case can happen if both directories point to the same underlying FS directory which is a common usecase to split between mmap and noifs.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org