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

fixes a nil panic on jsz #2743

Merged
merged 1 commit into from Dec 13, 2021
Merged

fixes a nil panic on jsz #2743

merged 1 commit into from Dec 13, 2021

Conversation

ripienaar
Copy link
Contributor

Appears what happens is that the getPublicConsumers()
is called which produces a list of consumers and that
between the time the list is made and the Info() is
called the ephemeral was removed.

Signed-off-by: R.I.Pienaar rip@devco.net

/cc @nats-io/core

Appears what happens is that the getPublicConsumers()
is called which produces a list of consumers and that
between the time the list is made and the Info() is
called the ephemeral was removed.

Signed-off-by: R.I.Pienaar <rip@devco.net>
@ripienaar
Copy link
Contributor Author

I am not sure how I would write a test for this concurrency issue though.

@ripienaar ripienaar mentioned this pull request Dec 13, 2021
2 tasks
Copy link
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

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

LGTM

@ripienaar ripienaar merged commit de3e7ca into nats-io:main Dec 13, 2021
@ripienaar ripienaar deleted the jsz_panic branch December 13, 2021 17:11
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

3 participants