8000 fix bug with metadata for rw2 by cstyan · Pull Request #14766 · prometheus/prometheus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix bug with metadata for rw2 #14766

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 30, 2024
Merged

fix bug with metadata for rw2 #14766

merged 1 commit into from
Aug 30, 2024

Conversation

cstyan
Copy link
Member
@cstyan cstyan commented Aug 29, 2024

This fixes a bug for RW2.0 that @tonyli233 first ran into during his GSOC project, we only noticed because with the removal of gogoproto then repeated fields in protobuf now contain pointers. The receiver then tried to decode nil pointers.

The bug is that we don't read and send metadata records from the WAL to remote write during WAL replay.

Signed-off-by: Callum Styan <callumstyan@gmail.com>
@cstyan cstyan requested a review from jesusvazquez as a code owner August 29, 2024 23:20
Copy link
Member
@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

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

Thanks! 💪🏽

@bwplotka bwplotka merged commit a77f500 into main Aug 30, 2024
44 checks passed
@bwplotka bwplotka deleted the callum-rw-meta-replay branch August 30, 2024 07:14
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
0