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

clientconn: release lock when returning from enterIdleMode() #6538

Merged
merged 1 commit into from
Aug 14, 2023
Merged

clientconn: release lock when returning from enterIdleMode() #6538

merged 1 commit into from
Aug 14, 2023

Conversation

Zamony
Copy link
Contributor

@Zamony Zamony commented Aug 11, 2023

Mutex must be unlocked on return from function.

RELEASE NOTES: none

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Aug 11, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: Zamony / name: Nikita Mochalov (3979ec5)

Copy link
Member

@arvindbr8 arvindbr8 left a comment

Choose a reason for hiding this comment

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

LGTM. cc: @easwars for another pair of eyes

@arvindbr8 arvindbr8 requested a review from easwars August 11, 2023 17:13
@arvindbr8 arvindbr8 added this to the 1.58 Release milestone Aug 11, 2023
@arvindbr8
Copy link
Member

Closing and re-opening to re-run new tests.

@arvindbr8 arvindbr8 closed this Aug 11, 2023
@arvindbr8 arvindbr8 reopened this Aug 11, 2023
@arvindbr8 arvindbr8 changed the title Fix locked mutex in clientConn clientconn: release lock when returning from enterIdleMode() Aug 11, 2023
@easwars
Copy link
Contributor

easwars commented Aug 11, 2023

@Zamony : Did you run into a deadlock or any other issue because of this? The fix seems legit, but just wondering if you hit a real issue or just found it through code inspection.

@Zamony
Copy link
Contributor Author

Zamony commented Aug 12, 2023

@easwars: I found it through code inspection.

@easwars easwars merged commit e40da66 into grpc:master Aug 14, 2023
1 check passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants