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

reactor: fix crash during metrics gathering #2313

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

brain5lug
Copy link

The crash is caused by statistics request while scheduling_group is removed. The tasks_pending metric gathering triggers reactor::pending_task_count() call. This call causes null pointer derefence as the task queue pointer has been reset in reactor::destroy_scheduling_group()

src/core/reactor.cc Outdated Show resolved Hide resolved
The crash is caused by statistics request while scheduling_group is
removed. The tasks_pending metric gathering triggers
reactor::pending_task_count() call. This call causes null pointer
derefence as the task queue pointer has been reset in
reactor::destroy_scheduling_group()
@avikivity avikivity merged commit d937784 into scylladb:master Jul 1, 2024
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