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

Issue 6555 - V2 - Potential crash when deleting a replicated backend #6585

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

progier389
Copy link
Contributor

Problem: connection cleanup may try to access a freed replica
Solution: Ensure that the replica is still existing before using its pointer
Note: Second version because of a potential hang at shutdown

Issue: #6555

Reviewed by: @tbordaz, @droideck (Thanks!)

Copy link
Contributor

@tbordaz tbordaz left a comment

Choose a reason for hiding this comment

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

The problem occurred quit frequently in my previous tests. I would say 1 out 5 tries.
The patch works after more than 130 runs.

@progier389 progier389 merged commit 2092a1b into 389ds:main Feb 6, 2025
200 of 201 checks passed
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