Skip to content

docs: remove wrong documentation on querier.split-queries-by-interval - #7939

Open
timonegk wants to merge 3 commits into
cortexproject:masterfrom
timonegk:remove-wrong-query-split-comment
Open

timonegk wants to merge 3 commits into
cortexproject:masterfrom
timonegk:remove-wrong-query-split-comment

Conversation

@timonegk

Copy link
Copy Markdown

What this PR does:
This commit removes the information that querier.split-by-interval should be a multiple of 24h which (from what I found) was only true for the legacy chunks store. With buckets store, chunks are fetched in smaller intervals using GetRange.

Checklist

  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@timonegk
timonegk requested a review from a team as a code owner November 16, 2026 14:38
@timonegk
timonegk requested a review from friedrichg November 16, 2026 14:38
@alanprot

Copy link
Copy Markdown
Member

GetRanges is the calls to the Objects Storage. The queries are still slit using this config (ex: a 7 days range query will be slit into fragments of 24 hours if this config is set to 24h)

# should use a multiple of 24 hours (same as the storage bucketing scheme), to
# avoid queriers downloading and processing the same chunks. This also
# determines how cache keys are chosen when result caching is enabled
# Split queries by an interval and execute in parallel, 0 disables it. This

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the flag help in query_range_middlewares.go and run make doc. CI regenerates this file.

@timonegk

Copy link
Copy Markdown
Author

GetRanges is the calls to the Objects Storage. The queries are still slit using this config (ex: a 7 days range query will be slit into fragments of 24 hours if this config is set to 24h)

@alanprot I am not removing the flag or questioning whether it's still used. I just removed the part about having to be a multiple of 24h, which, from what I found, is no longer correct.

@sandy2008 sandy2008 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doc-generator reproduces the reference and schema, and nothing in the splitting or results cache code needs a multiple of 24h. docs/configuration/arguments.md:68 still has the same sentence and could go too. LGTM.

@timonegk

Copy link
Copy Markdown
Author

@sandy2008 removed it there as well.

This branch has not been deployed

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants