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

[IMPROVED] Avoid stream locks for certain operations that could block routes/gateways. #4933

Merged
merged 4 commits into from Jan 9, 2024

Conversation

derekcollison
Copy link
Member

Avoid needing the lock for mset subscriptions to avoid possibly blocking routes/gateways.
Also increase timeout for consumer creation for sources since might take a bit longer.

Signed-off-by: Derek Collison derek@nats.io

…ing routes/gateways.

Also increase timeout for consumer creation for sources since might take a bit longer.

Signed-off-by: Derek Collison <derek@nats.io>
Signed-off-by: Derek Collison <derek@nats.io>
…r responses in case stream leader not ready

Signed-off-by: Derek Collison <derek@nats.io>
…checks

Signed-off-by: Derek Collison <derek@nats.io>
@derekcollison derekcollison requested a review from a team as a code owner January 9, 2024 19:26
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

@derekcollison derekcollison merged commit ddb262a into main Jan 9, 2024
4 checks passed
@derekcollison derekcollison deleted the mset-client branch January 9, 2024 20:10
neilalexander pushed a commit that referenced this pull request Jan 9, 2024
… routes/gateways. (#4933)

Avoid needing the lock for mset subscriptions to avoid possibly blocking
routes/gateways.
Also increase timeout for consumer creation for sources since might take
a bit longer.

 Signed-off-by: Derek Collison <derek@nats.io>

---------

Signed-off-by: Derek Collison <derek@nats.io>
wallyqs added a commit that referenced this pull request Jan 9, 2024
Cherry-pick the following PRs into the 2.10.8 release branch:

* #4918 
* #4923
* #4925
* #4926
* #4927
* #4929 
* #4933
* #4835

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.

None yet

2 participants