Skip to content

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

Open
pranithk wants to merge 1 commit intogluster:develfrom
pranithk:bug-1161886.t-fix
Open

Don't fire the callback when cleanup is in progress#4527
pranithk wants to merge 1 commit intogluster:develfrom
pranithk:bug-1161886.t-fix

Conversation

@pranithk
Copy link
Member

Fixes: #4525
Change-Id: I8264d21fb285a870adead71015f1fc87a4b375ab

Fixes: gluster#4525 Change-Id: I8264d21fb285a870adead71015f1fc87a4b375ab Signed-off-by: Pranith Kumar Karampuri <pranith.karampuri@phonepe.com>
@pranithk pranithk requested review from mohit84 and rafikc30 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

2 participants