Skip to content

[Fix Python Deadlock] Guard grpc_google_default_credentials_create with nogil#36266

Closed
parthea wants to merge 10 commits intogrpc:masterfrom
parthea:repro-issue-34672
Closed

[Fix Python Deadlock] Guard grpc_google_default_credentials_create with nogil#36266
parthea wants to merge 10 commits intogrpc:masterfrom
parthea:repro-issue-34672

Conversation

@parthea
Copy link
Copy Markdown
Contributor

@parthea parthea commented Apr 7, 2024

This fix is similar to #34712 but for grpc_google_default_credentials_create rather than grpc_ssl_credentials_create

Fixes #36265
Fixes googleapis/python-bigtable#949

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Apr 7, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@parthea parthea changed the title [Fix Python Deadlock] Guard grpc_google_default_credentials_create [Fix Python Deadlock] Guard grpc_google_default_credentials_create with nogil Apr 9, 2024
@XuanWang-Amos XuanWang-Amos added release notes: no Indicates if PR should not be in release notes kokoro:run labels Apr 9, 2024
@parthea
Copy link
Copy Markdown
Contributor Author

parthea commented Apr 9, 2024

@XuanWang-Amos, I made another refactor to simplify the code. PTAL

@XuanWang-Amos
Copy link
Copy Markdown
Contributor

XuanWang-Amos commented Apr 9, 2024

Bazel RBE Non-Bazel Tests Failed, doesn't seems to be related to this PR: https://btx.cloud.google.com/invocations/8046d089-4961-4c95-b4b5-b53d69772331/targets.

Re-triggering tests.

Copy link
Copy Markdown
Contributor

@XuanWang-Amos XuanWang-Amos left a comment

Choose a reason for hiding this comment

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

Tests looks good, thanks for the fix!

@copybara-service copybara-service bot closed this in ef5073f Apr 9, 2024
XuanWang-Amos pushed a commit to XuanWang-Amos/grpc that referenced this pull request Apr 16, 2024
…th nogil (grpc#36266)

This fix is similar to grpc#34712 but for `grpc_google_default_credentials_create` rather than `grpc_ssl_credentials_create`

Fixes grpc#36265
Fixes googleapis/python-bigtable#949

Closes grpc#36266

COPYBARA_INTEGRATE_REVIEW=grpc#36266 from parthea:repro-issue-34672 d736f6f
PiperOrigin-RevId: 623291826
XuanWang-Amos added a commit that referenced this pull request Apr 16, 2024
…th nogil (v1.62.x backport) (#36376)

Backport of #36266 to v1.62.x.
---
This fix is similar to #34712 but for
`grpc_google_default_credentials_create` rather than
`grpc_ssl_credentials_create`

Fixes #36265
Fixes googleapis/python-bigtable#949

Co-authored-by: Anthonios Partheniou <partheniou@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang/Python release notes: no Indicates if PR should not be in release notes

Projects

None yet

3 participants