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

[FIXED] Race in MessageBatch #1743

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

[FIXED] Race in MessageBatch #1743

wants to merge 2 commits into from

Conversation

piotrpio
Copy link
Collaborator

@piotrpio piotrpio commented Dec 2, 2024

This fixes a race in both new and legacy JetStream API, where for Fetch APIs returning MessageBatch there was a race condition when accessing the error.

Fixes #1733

Signed-off-by: Piotr Piotrowski [email protected]

@coveralls
Copy link

Coverage Status

coverage: 84.923% (-0.02%) from 84.944%
when pulling e58d428 on fix-fetch-result-race
into f563c66 on main.

Copy link
Member

@wallyqs wallyqs left a comment

Choose a reason for hiding this comment

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

LGTM

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.

Race in reading error from message batch
3 participants