Skip to content

Don't fire the callback when cleanup is in progress #4527

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

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

pranithk
Copy link
Member

Fixes: #4525
Change-Id: I8264d21fb285a870adead71015f1fc87a4b375ab

Fixes: gluster#4525
Change-Id: I8264d21fb285a870adead71015f1fc87a4b375ab
Signed-off-by: Pranith Kumar Karampuri <[email protected]>
@pranithk pranithk requested review from rafikc30 and mohit84 April 22, 2025 09:58
@pranithk
Copy link
Member Author

The issue seems to be that there is a lag between setting ctx->cleanup_started and setting reg->fin in timer, so by the time the event callback is triggered conn was already freed.

@pranithk pranithk marked this pull request as draft April 22, 2025 10:00
@rafikc30
Copy link
Member

@pranithk I see you marked it as Draft, does that mean it is still a work in progress? Do you want me to review this change?

@pranithk pranithk marked this pull request as ready for review April 29, 2025 09:23
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.

tests/bugs/ec/bug-1161886.t fails and leaves a core
2 participants