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

Fix TestJetStreamStreamInfoWithSubjectDetails test #1225

Merged
merged 1 commit into from
Mar 1, 2023

Conversation

Jarema
Copy link
Member

@Jarema Jarema commented Mar 1, 2023

Since 2.9.15, the server handles inbound messages in a separate execution context, which is an optimisation, but it also means clients can't rely on flushing published messages to ensure that JetStream has it stored and accounted. That behaviour was never guaranteed, and it worked only because of the lack of this optimisation.

Signed-off-by: Tomasz Pietrek tomasz@nats.io

Since 2.9.15, the server handles inbound messages in a separate execution context, which is an optimisation, but it also means clients can't rely on flushing published messages to ensure that JetStream has it stored and accounted. That behaviour was never guaranteed, and it worked only because of the lack of this optimisation.

Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
@Jarema Jarema requested review from jnmoyne and piotrpio March 1, 2023 08:07
Copy link
Collaborator

@piotrpio piotrpio left a comment

Choose a reason for hiding this comment

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

LGTM

@piotrpio piotrpio merged commit 7c72997 into main Mar 1, 2023
@piotrpio piotrpio deleted the jarema/fix-stream-info-test branch March 1, 2023 09:24
@piotrpio piotrpio mentioned this pull request Mar 24, 2023
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.

None yet

2 participants