-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
When using liburing inside of a multiprocessing environment (e.g. multiple ray workers ) the dynamic importer has a race condition where multiple workers may simultaneously trigger deletion of files from the cache (https://github.com/YoSTEALTH/Dynamic-Import/blob/master/dynamic_import/importer.py#L77).
Is there any reason not to set cache=False in the dynamic import call in the init (https://github.com/YoSTEALTH/Liburing/blob/master/src/liburing/__init__.py#L7)? Or is there a better way to use liburing in a multiprocessing setup that doesnt cause a race?
Happy to make the changes or provide more info on the issue if desired.
Metadata
Metadata
Assignees
Labels
No labels