Skip to content
This repository was archived by the owner on Jun 19, 2026. It is now read-only.

receive: Add --store.disable-series-resorting flag to bypass resortingServer#296

Merged
yuchen-db merged 1 commit into
db_mainfrom
yuchen-db/resort-srv-memory-bound
Feb 18, 2026
Merged

receive: Add --store.disable-series-resorting flag to bypass resortingServer#296
yuchen-db merged 1 commit into
db_mainfrom
yuchen-db/resort-srv-memory-bound

Conversation

@yuchen-db

Copy link
Copy Markdown
Collaborator

resortingServer buffers all series in memory before sorting, causing unbounded memory growth for large queries. When external labels do not conflict with internal TSDB labels, re-sorting is unnecessary. This flag switches to streaming passthroughServer instead.

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

Verification

…gServer

resortingServer buffers all series in memory before sorting, causing
unbounded memory growth for large queries. When external labels do not
conflict with internal TSDB labels, re-sorting is unnecessary. This flag
switches to streaming passthroughServer instead.
@yuchen-db yuchen-db merged commit 7abbec8 into db_main Feb 18, 2026
14 checks passed
@yuchen-db yuchen-db deleted the yuchen-db/resort-srv-memory-bound branch February 18, 2026 23:09
gavins-db pushed a commit to gavins-db/thanos-db that referenced this pull request Mar 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants