Skip to content

[FIXED] Replicated NoWait/Expires request timeout#7046

Merged
neilalexander merged 1 commit intomainfrom
maurice/replicated-expires
Jul 9, 2025
Merged

[FIXED] Replicated NoWait/Expires request timeout#7046
neilalexander merged 1 commit intomainfrom
maurice/replicated-expires

Conversation

@MauriceVanVeen
Copy link
Copy Markdown
Member

@MauriceVanVeen MauriceVanVeen commented Jul 8, 2025

Since #6792 we wait with delivering a message for a replicated consumer, until the delivery state is also replicated. However, that broke pull requests that use NoWait or Expires. A partial/quick fix was implemented in #6960 to not wait for replicated deliveries for NoWait.

This PR solves the real issue, a Request Timeout now waits for replicated deliveries to finish or sends it immediately if there are no inflight replicated deliveries.

Signed-off-by: Maurice van Veen github@mauricevanveen.com

Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
@MauriceVanVeen MauriceVanVeen requested a review from a team as a code owner July 8, 2025 15:51
Copy link
Copy Markdown
Member

@neilalexander neilalexander left a comment

Choose a reason for hiding this comment

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

LGTM

@neilalexander neilalexander merged commit c9bb57b into main Jul 9, 2025
90 of 92 checks passed
@neilalexander neilalexander deleted the maurice/replicated-expires branch July 9, 2025 10:33
neilalexander added a commit that referenced this pull request Jul 25, 2025
Includes the following:

- #7031
- #7033
- #7034
- #7035
- #7036
- #7040
- #7043
- #7045
- #7047
- #7046
- #7050
- #7051
- #7052
- #7053
- #7061
- #7063
- #7064
- #7065
- #7066
- #7070
- #7072
- #7080
- #7026
- #6728
- #7074
- #7089
- #7095
- #7087
- #7094
- #7096
- #7099

Signed-off-by: Neil Twigg <neil@nats.io>
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