Skip to content

chore: remove deprecated query_live_store config#7048

Merged
javiermolinar merged 3 commits intografana:mainfrom
javiermolinar:remove-query-live-store-config
Apr 23, 2026
Merged

chore: remove deprecated query_live_store config#7048
javiermolinar merged 3 commits intografana:mainfrom
javiermolinar:remove-query-live-store-config

Conversation

@javiermolinar
Copy link
Copy Markdown
Contributor

What this PR does:

  • Remove deprecated query_live_store config

Which issue(s) this PR fixes:
Fixes #

Checklist

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

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 027d16b2f6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread modules/querier/config.go
Comment on lines 26 to 27
SecondaryIngesterRing string `yaml:"secondary_ingester_ring,omitempty"`
// Deprecated: kept only for config compatibility. Querier always uses
// partition-ring query path when available.
QueryLiveStore bool `yaml:"query_live_store,omitempty"`
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep deprecated query_live_store accepted in config

Removing query_live_store from querier.Config turns a previously tolerated key into a hard startup failure for upgraded clusters that still carry it in their config files. Tempo parses config with yaml.UnmarshalStrict (cmd/tempo/main.go:185), so this deletion makes query_live_store an unknown field and causes tempo (and -config.verify) to fail before boot; this is an immediate upgrade break for existing deployments, not just an example cleanup.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes the deprecated querier.query_live_store configuration option from Tempo’s querier config and updates bundled example/integration configs accordingly.

Changes:

  • Drop QueryLiveStore from modules/querier.Config and its defaulting.
  • Remove query_live_store: true from integration and example YAML configs.
  • Add a changelog entry describing the removal.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
modules/querier/config.go Removes deprecated QueryLiveStore field and default assignment.
integration/util/config-base.yaml Removes querier.query_live_store from base integration config.
integration/operations/config-https.yaml Removes querier.query_live_store from HTTPS integration config.
example/nomad/tempo-distributed/config.yml Removes deprecated querier setting from Nomad example config.
example/docker-compose/distributed/tempo.yaml Removes deprecated querier setting from docker-compose example config.
CHANGELOG.md Adds an entry documenting the config removal.

Comment thread CHANGELOG.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 23, 2026 11:33
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes the deprecated querier.query_live_store configuration option from Tempo’s querier module, and updates bundled configs/examples accordingly so upgrades don’t carry a no-longer-supported field.

Changes:

  • Remove QueryLiveStore from modules/querier config struct and its defaulting logic.
  • Remove query_live_store: true from integration configs and example deployment configs.
  • Add a CHANGELOG.md entry marking the removal as a breaking change.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
modules/querier/config.go Drops the deprecated QueryLiveStore config field and its default assignment.
integration/util/config-base.yaml Removes the deprecated config field from the base e2e config.
integration/operations/config-https.yaml Removes the deprecated config field from the HTTPS integration config.
example/nomad/tempo-distributed/config.yml Removes the deprecated config field from the Nomad example.
example/docker-compose/distributed/tempo.yaml Removes the deprecated config field from the docker-compose example.
CHANGELOG.md Documents the breaking removal for upgrade visibility.

@javiermolinar javiermolinar merged commit 53421e6 into grafana:main Apr 23, 2026
31 checks passed
cursor Bot pushed a commit to knylander-grafana/tempo-doc-work that referenced this pull request Apr 27, 2026
* chore: remove deprecated query_live_store config

* docs(changelog): add entry for grafana#7048

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.

3 participants