Skip to content

Conversation

Ochita
Copy link
Owner

@Ochita Ochita commented May 11, 2025

What problem are we solving?

Mongodb filer not supported ListDirectoryPrefixedEntries method on database level, which will work faster on folders with hight files count.

How are we solving the problem?

Implemented ListDirectoryPrefixedEntries using mongodb regex search. Regex search by prefix uses index while executed, so searching time is ok.

How is the PR tested?

Run local aio deployment with mongodb filer store setted up. Confirm same beheviour with prefixFilterEntries version (when err ErrUnsupportedListDirectoryPrefixed raised)

@Ochita Ochita merged commit 2a25042 into master May 11, 2025
6 of 7 checks passed
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.

1 participant