Skip to content

Use detailed mrecordlog responses; Add queue size tracking to ingester shard - #6884

Draft
nadav-govari wants to merge 1 commit into
mainfrom
nadav/pr1
Draft

nadav-govari wants to merge 1 commit into
mainfrom
nadav/pr1

Conversation

@nadav-govari

Copy link
Copy Markdown
Collaborator

PR 1 of a stack moving ingester shard readings and indexing plans to gRPC, and reworking ingest scaling.

This PR introduces queue size tracking for ingester shards. The readings come from directly from mrecordlog, which returns the size of the memory queue after every append/truncate operation.

Doc batch sizing is now more accurate as well. Rather than estimating values, which was off by 4 bytes per doc, we now compute it directly.

Various helpers were updated/removed as needed, and tests were updated.

This branch has not been deployed

No deployments
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.

1 participant