Implement quota fetch all mode and use actual ranged query - #76
Open
rustybee42 wants to merge 1 commit into
Open
Implement quota fetch all mode and use actual ranged query#76rustybee42 wants to merge 1 commit into
rustybee42 wants to merge 1 commit into
Conversation
rustybee42
force-pushed
the
hackathon/quota
branch
2 times, most recently
from
July 15, 2026 11:55
b57fa83 to
3f860cf
Compare
This commit overhauls how quota entries are fetched using the various modes and adds a new all mode. Previously, the fetch request always used list mode, combining all the configured ids (from range, file and system ids) into a single list. This patch separates the requests into a list and a separate range request, depending on which id selection modes are used. E.g. if only a range is set, a range request is sent, if a range and a file is specified, a range and a list request is sent. The results are combined together, so there is no difference in behavior. The new all mode fetches all available entries from the storage targets by enumeration. Using this requires updating the storage servers, otherwise it will just return empty results. This is meant to be the new default. The all mode is the default mode if no ids are configured (previously this would just query nothing). With this change (plus the storage server patch), quota user experience should significantly improve. ID configuration should usually not be necessary anymore and the storage servers can use enumeration for ranges and the new all mode, querying only entries that actually exist. Which brings a huge performance improvement. Further changes: * Improve fetch code structure * Update config documentation * Add list mode to update test
rustybee42
force-pushed
the
hackathon/quota
branch
from
July 29, 2026 07:45
3f860cf to
08609b9
Compare
rustybee42
marked this pull request as ready for review
July 29, 2026 07:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See commit message for description.
#72 might not be necessary in this form anymore. Maybe with an only slightly increased timeout.
Related to https://github.com/ThinkParQ/beegfs-core/pull/4756