Skip to content

Filter local storage objects before reading metadata - #2241

Open
ishu7w wants to merge 1 commit into
apache:trunkfrom
ishu7w:filter-local-storage-prefix-before-stat
Open

ishu7w wants to merge 1 commit into
apache:trunkfrom
ishu7w:filter-local-storage-prefix-before-stat

Conversation

@ishu7w

@ishu7w ishu7w commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Fixes #1583.

Prefix listings now filter relative object names before reading file metadata. Matching still uses the full relative object name, including partial directory names. The local storage suite passed (35 tests and 20 subtests). In a sample with 2,000 files and 10 matches, object construction dropped from 2,000 to 10.

AI assistance: OpenAI Codex assisted with the implementation, tests, and description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

container.list_objects with prefix and the local driver is very slow when a lot of files are stored

1 participant