[
https://issues.apache.org/jira/browse/LUCENE-7797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15979843#comment-15979843
]
Michael McCandless commented on LUCENE-7797:
--------------------------------------------
Indeed, the logic is backwards now. I was wondering how Lucene could possible
be working, since {{listAll}} is used when opening a non-near-real-time
{{DirectoryReader}}, but then I realized it's only the static
{{FSDirectory.listAll(Path)}} that tickles this bug since the non-static
version always passes {{pendingDeletes}}.
Thank you for the patch w/ test case [~atkinschang] ... I'll push soon.
> FSDirectory.listAll will always return empty array
> --------------------------------------------------
>
> Key: LUCENE-7797
> URL: https://issues.apache.org/jira/browse/LUCENE-7797
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/store
> Reporter: Atkins Chang
> Priority: Minor
> Attachments: LUCENE-7797.patch
>
>
> {code}FSDirector#listAll(Path){code} which invoke private method
> {code}FSDirector#listAll(Path, Set<String>){code} will always return empty
> array.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]