Skip to content

fix: size replay remote-write queue for backfill bursts - #1840

Merged
zackpollard merged 1 commit into
mainfrom
fix/version-worker-replay-queue
Jul 21, 2026
Merged

fix: size replay remote-write queue for backfill bursts#1840
zackpollard merged 1 commit into
mainfrom
fix/version-worker-replay-queue

Conversation

@zackpollard

Copy link
Copy Markdown
Member

No description provided.

base rules emit one sample per client_ip per 5m bucket, so a replay
batch is a multi-million-sample write burst against the 100k default
queue (fatal 'queue is full'). halve the base batch to 50 points and
raise queue size, batch size, and writer concurrency
@zackpollard
zackpollard requested a review from a team as a code owner July 21, 2026 12:05
@github-actions

Copy link
Copy Markdown
@@ spec.template.spec.initContainers.replay-base.args @@
# batch/v1/Job/monitoring/version-worker-replay
! - one list entry removed:
- - "-replay.maxDatapointsPerQuery=100"
! + four list entries added:
+ - "-replay.maxDatapointsPerQuery=50"
+ - "-remoteWrite.maxQueueSize=4000000"
+ - "-remoteWrite.maxBatchSize=10000"
+ - "-remoteWrite.concurrency=4"

@@ spec.template.spec.initContainers.replay-derived.args @@
# batch/v1/Job/monitoring/version-worker-replay
! + three list entries added:
+ - "-remoteWrite.maxQueueSize=4000000"
+ - "-remoteWrite.maxBatchSize=10000"
+ - "-remoteWrite.concurrency=4"

@zackpollard
zackpollard merged commit e11015a into main Jul 21, 2026
27 checks passed
@zackpollard
zackpollard deleted the fix/version-worker-replay-queue branch July 21, 2026 12:08
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.

2 participants