Skip to content

chore: remove partition ring livestore config#6981

Merged
javiermolinar merged 4 commits intomainfrom
chore-remove-partition-ring-livestore-config
Apr 17, 2026
Merged

chore: remove partition ring livestore config#6981
javiermolinar merged 4 commits intomainfrom
chore-remove-partition-ring-livestore-config

Conversation

@javiermolinar
Copy link
Copy Markdown
Contributor

@javiermolinar javiermolinar commented Apr 16, 2026

What this PR does:
partition_ring_live_store is no longer referenced in the code. There is now a single partition ring so this knob is no longer needed

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: 8ff529dc2e

ℹ️ 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 cmd/tempo/app/config.go
Comment on lines 46 to 48
StreamOverHTTPEnabled bool `yaml:"stream_over_http_enabled,omitempty"`
HTTPAPIPrefix string `yaml:"http_api_prefix"`
EnableGoRuntimeMetrics bool `yaml:"enable_go_runtime_metrics,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 config key parseable

Removing partition_ring_live_store from app.Config makes upgrades fail fast for any existing config that still includes this key, because runtime config loading is strict (yaml.UnmarshalStrict in cmd/tempo/main.go:185). This key existed in all shipped example configs before this change, so users who only bump the binary (without rewriting config) will now get an unknown-field startup error. Please keep an ignored compatibility field (similar to other deprecated config shims) for at least one release or add a migration shim so old configs still boot.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No

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 partition_ring_live_store configuration knob from Tempo’s root config and updates bundled example/integration configs accordingly.

Changes:

  • Drops partition_ring_live_store from cmd/tempo/app root Config.
  • Removes partition_ring_live_store from integration base config and multiple example deployment configs.
  • Cleans up the microservices Jsonnet example by removing related toggles.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
integration/util/config-base.yaml Removes partition_ring_live_store from the e2e base configuration.
example/tk/tempo-microservices/main.jsonnet Removes partition_ring_live_store (and related example toggles) from the Jsonnet-generated Tempo config.
example/nomad/tempo-distributed/config.yml Removes partition_ring_live_store from the Nomad example config.
example/docker-compose/single-binary/tempo.yaml Removes partition_ring_live_store from the single-binary docker-compose example.
example/docker-compose/multitenant/tempo.yaml Removes partition_ring_live_store from the multitenant docker-compose example.
example/docker-compose/distributed/tempo.yaml Removes partition_ring_live_store from the distributed docker-compose example.
example/docker-compose/debug/tempo.yaml Removes partition_ring_live_store from the debug docker-compose example.
cmd/tempo/app/config.go Removes the PartitionRingLiveStore field and its default assignment from the root config struct.

Comment thread cmd/tempo/app/config.go
Comment on lines 46 to 50
StreamOverHTTPEnabled bool `yaml:"stream_over_http_enabled,omitempty"`
HTTPAPIPrefix string `yaml:"http_api_prefix"`
EnableGoRuntimeMetrics bool `yaml:"enable_go_runtime_metrics,omitempty"`
PartitionRingLiveStore bool `yaml:"partition_ring_live_store,omitempty"` // todo: remove after rhythm migration

Memory MemoryConfig `yaml:"memory,omitempty"`
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

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

MEDIUM: The PR description still contains placeholders (eg Fixes #<issue number> and unchecked checklist items). Could this be updated so reviewers/users can understand the motivation and whether this is intended to be a breaking change?

Copilot uses AI. Check for mistakes.
Comment thread cmd/tempo/app/config.go
Comment on lines 46 to 50
StreamOverHTTPEnabled bool `yaml:"stream_over_http_enabled,omitempty"`
HTTPAPIPrefix string `yaml:"http_api_prefix"`
EnableGoRuntimeMetrics bool `yaml:"enable_go_runtime_metrics,omitempty"`
PartitionRingLiveStore bool `yaml:"partition_ring_live_store,omitempty"` // todo: remove after rhythm migration

Memory MemoryConfig `yaml:"memory,omitempty"`
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

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

CRITICAL: Removing the partition_ring_live_store field from the root config will break upgrades for any users still setting it, because Tempo uses yaml.UnmarshalStrict for the config file (unknown fields cause startup failure). Could we keep this field as deprecated/ignored for at least one release (similar to MetricsGeneratorClient), or otherwise provide a compatibility path so existing configs continue to load?

Copilot uses AI. Check for mistakes.
Comment thread cmd/tempo/app/config.go
Comment on lines 46 to 50
StreamOverHTTPEnabled bool `yaml:"stream_over_http_enabled,omitempty"`
HTTPAPIPrefix string `yaml:"http_api_prefix"`
EnableGoRuntimeMetrics bool `yaml:"enable_go_runtime_metrics,omitempty"`
PartitionRingLiveStore bool `yaml:"partition_ring_live_store,omitempty"` // todo: remove after rhythm migration

Memory MemoryConfig `yaml:"memory,omitempty"`
Copy link

Copilot AI Apr 16, 2026

Choose a reason for hiding this comment

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

MEDIUM: This is a user-visible config change (removal of partition_ring_live_store). It looks like there’s no corresponding entry in CHANGELOG.md under main / unreleased, which makes it easy for operators to miss during upgrades.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor

@zalegrala zalegrala left a comment

Choose a reason for hiding this comment

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

Is this a breaking change?

Copilot AI review requested due to automatic review settings April 17, 2026 08:55
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

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

@javiermolinar javiermolinar merged commit 63ed5b5 into main Apr 17, 2026
27 checks passed
@javiermolinar javiermolinar deleted the chore-remove-partition-ring-livestore-config branch April 17, 2026 09:28
@javiermolinar
Copy link
Copy Markdown
Contributor Author

Is this a breaking change?

Added to the changelog

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.

4 participants