You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
… returns NotFound on flat namespace and Azurite (#44302)
### Rationale for this change
Fix a bug where `GetFileInfo` incorrectly returns `FileType::NotFound` on flat namespace and Azurite.
### What changes are included in this PR?
Fix by detecting the exact edgecase and doing an extra listing operation to disambiguate.
### Are these changes tested?
Yes, updated automated test
### Are there any user-facing changes?
Only a bug fix.
* GitHub Issue: #44256
Authored-by: Thomas Newton <thomas.w.newton@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Describe the bug, including details regarding any error messages, version, and platform.
The problem
Imagine in the following directory structure:
fs->GetFileInfo("container-name/a/")
returnsFileType::NotFound
.Why it happens
fs->GetFileInfo("container-name/a/")
returns causes a list with prefixa
and limit 1.a.txt
because.
comes before/
lexographically.FileType::NotFound
.Component(s)
C++
The text was updated successfully, but these errors were encountered: