Skip to content
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

receive: fix maxBufferedResponses channel size to avoid deadlock #7978

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rvichery
Copy link

@rvichery rvichery commented Dec 10, 2024

Fixes #7977

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

Changes

  • Fix the size of the maxBufferedResponses channel to take into account that localWrites may contain more than one tenant when using split-tenant-label-name feature

Verification

@rvichery rvichery force-pushed the fix-7977-remote-write-hangs-with-split-label branch from 4a20358 to d9f592c Compare December 10, 2024 17:22
GiedriusS
GiedriusS previously approved these changes Dec 11, 2024
Copy link
Member

@GiedriusS GiedriusS left a comment

Choose a reason for hiding this comment

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

LGTM

@GiedriusS GiedriusS enabled auto-merge (squash) December 11, 2024 08:52
@GiedriusS GiedriusS disabled auto-merge December 11, 2024 08:52
@GiedriusS
Copy link
Member

Could you also update the docs https://github.com/thanos-io/thanos/actions/runs/12261380236/job/34208260569?pr=7978? You'll need to update the sed command in docs/components/receive.md because the line numbers changed

@rvichery rvichery force-pushed the fix-7977-remote-write-hangs-with-split-label branch from b14301d to 057fc42 Compare December 12, 2024 00:13
@rvichery rvichery force-pushed the fix-7977-remote-write-hangs-with-split-label branch from 057fc42 to 49d2e6b Compare December 12, 2024 17:03
@pull-request-size pull-request-size bot added size/M and removed size/L labels Dec 12, 2024
@rvichery rvichery requested a review from GiedriusS December 12, 2024 17:56
@rvichery
Copy link
Author

@GiedriusS I have addressed the docs feedback. Could you please review the PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

receive: remote write handler hangs when using "split-tenant-label-name"
2 participants