Skip to content

enhancement: disable ingesters and simplify querier code - #6496

Merged
javiermolinar merged 4 commits into
mainfrom
disable-ingesters-path
Feb 19, 2026
Merged

enhancement: disable ingesters and simplify querier code#6496
javiermolinar merged 4 commits into
mainfrom
disable-ingesters-path

Conversation

@javiermolinar

@javiermolinar javiermolinar commented Feb 18, 2026

Copy link
Copy Markdown
Contributor

What this PR does:
This PR removes the ingester code from the modules.go and simplify all the logic in the queriers to use only the live stores. All the references in variable names, methods, logs and traces have been renamed from ingester to live-store

BREAKING CHANGES

The secondary ingester ring is removed. We have never used this set up. If we ever need it in the future we will need to do it for the live stores.

SpanMetricsSummary is removed

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]
@javiermolinar javiermolinar added this to the v3.0 milestone Feb 18, 2026

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

Copy link
Copy Markdown

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: ec51d71035

ℹ️ 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/querier.go
@javiermolinar

Copy link
Copy Markdown
Contributor Author

@codex review

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

Copy link
Copy Markdown

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: 6ffe91f6e7

ℹ️ 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/modules.go
Comment on lines +253 to 254
t.cfg.Distributor.IngesterWritePathEnabled = false
t.cfg.Distributor.KafkaWritePathEnabled = t.cfg.Ingest.Enabled // TODO: Don't mix config params

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 Reject distributor configs with no enabled write path

initDistributor now unconditionally disables IngesterWritePathEnabled and only enables Kafka writes when ingest.enabled is true; when ingest.enabled is false, both ingestion paths are off but PushTraces still returns success without persisting data. This creates silent data loss for any distributor process started with ingest disabled (including default-style configs), so startup should fail (or one write path should remain enabled) instead of acknowledging dropped spans.

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.

I'll clean up the config later on

@mapno mapno 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.

Awesome

@javiermolinar
javiermolinar enabled auto-merge (squash) February 19, 2026 11:11
@javiermolinar
javiermolinar merged commit 4b24ccc into main Feb 19, 2026
24 checks passed
@javiermolinar
javiermolinar deleted the disable-ingesters-path branch February 19, 2026 11:26
mattdurham pushed a commit to mattdurham/tempo that referenced this pull request Jun 18, 2026
* enhancement: disable ingesters and simplify querier code

* remove leftovers

* add deprecation response for spanmetricssummary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants