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

storepb: make ServerAsClient channels unbuffered #7207

Conversation

MichaHoffmann
Copy link
Contributor

@MichaHoffmann MichaHoffmann commented Mar 13, 2024

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

Changes

Use unbuffered channels in ServerAsClient.

As far as i can tell all callsites of this function used 0 for their buffersize already. In a recent PR we found that using unbuffered channels causes ProxyStore to receive incomplete responses: https://app.circleci.com/pipelines/github/thanos-io/thanos/15685/workflows/ae306ee4-99e2-4eba-b76b-37bf906fc9b0/jobs/25975?invite=true#step-108-83819_118.

Verification

Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
@MichaHoffmann MichaHoffmann force-pushed the mhoffm-make-server-as-client-channels-unbuffered branch from 4696c72 to bbfb8fd Compare March 13, 2024 13:39
@MichaHoffmann MichaHoffmann marked this pull request as ready for review March 13, 2024 13:39
@fpetkovski fpetkovski merged commit dea822d into thanos-io:main Mar 13, 2024
20 checks passed
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.

3 participants