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

recover from panics when writing the event stream #14545

Merged
merged 2 commits into from
Oct 16, 2024

Conversation

kasey
Copy link
Contributor

@kasey kasey commented Oct 16, 2024

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?

There is a panic race condition that seems to involve sudden disconnects from a backlogged stream events queue. This PR adds a recover() call as a band-aid to prevent the node crashing when that condition is triggered. Another PR will attempt to address the root cause of the panic.

Acknowledgements

  • I have read CONTRIBUTING.md.
  • I have made an appropriate entry to CHANGELOG.md.
  • I have added a description to this PR with sufficient context for reviewers to understand this PR.

@kasey kasey requested a review from a team as a code owner October 16, 2024 17:09
potuz
potuz previously approved these changes Oct 16, 2024
@kasey kasey added this pull request to the merge queue Oct 16, 2024
Merged via the queue into develop with commit 1086bdf Oct 16, 2024
18 checks passed
@kasey kasey deleted the stream-event-disconnect-recover branch October 16, 2024 18:21
prestonvanloon pushed a commit that referenced this pull request Oct 16, 2024
* recover from panics when writing the event stream

---------

Co-authored-by: Kasey Kirkham <[email protected]>
(cherry picked from commit 1086bdf)
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.

3 participants