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

deadlock - api client #36

Closed
lmeguira opened this issue Dec 2, 2020 · 2 comments
Closed

deadlock - api client #36

lmeguira opened this issue Dec 2, 2020 · 2 comments
Labels
Open API Third Party - Swagger /Open API Issue

Comments

@lmeguira
Copy link

lmeguira commented Dec 2, 2020

this code version generated by swagger code generator is exposed to deadlocks.
more details here - https://bugs.python.org/issue39360

isilon api client use multiprocessing.pool.Pool for async calls.
12 dummy processes are allocated and at the end are joined when the api_client object being deleted.
sometimes (not frequent) a pool thread is stuck on waiting its semaphore (lll_futex_wait wrapper).

@shilpiarya shilpiarya added the Open API Third Party - Swagger /Open API Issue label Dec 17, 2020
@lmeguira
Copy link
Author

please update on the status of this issue. as I see this was addressed in newer OpenAPI versions.

I found another issue reported in Swagger codegen with more specific info:
swagger-api/swagger-codegen#9991

@nalinkanwar
Copy link
Contributor

This is not a bug in SDK but in python itself; Please update python version to 3.8.3 or later.

This is fixed upstream in Python 3.8.3 release candidate 1 and later versions by backports.
(Release date: 2020-04-29)
Ref: https://docs.python.org/3.8/whatsnew/changelog.html#python-3-8-0-final
Search for bpo-39360

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Open API Third Party - Swagger /Open API Issue
Projects
None yet
Development

No branches or pull requests

3 participants