Skip to content

docs: drop two removed flags - #7990

Merged
danielblando merged 1 commit into
cortexproject:masterfrom
rawsun007:docs-chunks-flags
Dec 4, 2026
Merged

danielblando merged 1 commit into
cortexproject:masterfrom
rawsun007:docs-chunks-flags

Conversation

@rawsun007

Copy link
Copy Markdown
Contributor

What this PR does:

Follow-up to #7974. Two more flags in the docs that Cortex now rejects with flag provided but not defined:

  • docs/configuration/arguments.md: the runtime config section says the old -limits.per-user-override-config and -limits.per-user-override-period flags "are still used, if -runtime-config.file is not specified". Neither flag exists any more, so that sentence is removed.
  • docs/api/_index.md: the /flush description names -ingester.flush-on-shutdown-with-wal-enabled, a chunks-storage flag. Only -blocks-storage.tsdb.flush-blocks-on-shutdown remains.

Checked with a master build: both old names fail to parse.

Left alone: docs/guides/capacity-planning.md still sizes ingester RAM around 12-hour chunks and -ingester.max-chunk-age, and the two chunks-to-blocks migration pages use flags from the removed chunks storage. Those need a rewrite or removal, which is your call.

Which issue(s) this PR fixes:
None filed; docs-only.

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]
  • docs/configuration/v1-guarantees.md updated if this PR introduces experimental flags

AI assistance: found and written with Claude Code (Claude Opus 5.5), by comparing every flag named in the docs with cortex -help. I read the diff before it was opened.

🤖 Generated with Claude Code

-limits.per-user-override-config/-period and
-ingester.flush-on-shutdown-with-wal-enabled no longer exist; Cortex
rejects them with "flag provided but not defined".

Signed-off-by: Roshan Ramani <roshanramani.dev@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rawsun007
rawsun007 requested a review from a team as a code owner December 4, 2026 05:48
@danielblando
danielblando merged commit 8d5105b into cortexproject:master Dec 4, 2026
40 checks passed
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.

2 participants