-
Story
-
Resolution: Unresolved
-
Critical
-
None
-
None
-
None
-
5
-
False
-
-
False
-
rhos-ops-platform-services-pidone
-
-
-
Sprint 8, Sprint 10, Sprint 11, Sprint 12
-
4
-
Important
Goal: Modify any parallel execution path (e.g., run_periodic_tasks_in_parallel) to utilize spawn context, preventing deadlock when periodic threads and multiprocessing intersect.
Acceptance Criteria:
- Verify code paths create a pool through get_spawn_pool.
- Unit test: schedule 10 dummy tasks while another thread holds a lock; confirm child processes execute and exit cleanly.
- Coverage for new branch > 90 %.
Additional Details:
See https://pythonspeed.com/articles/python-multiprocessing/ and video explanation at https://youtu.be/RIc-Tut95YM?t=185.
- blocks
-
OSPRH-17945 [fork vs multiprocessing] 7 - Add internal documentation & release notes for spawn migration
-
- Backlog
-
- is blocked by
-
OSPRH-17937 [fork vs multiprocessing] 1 - Introduce oslo_service._multiprocessing spawn-safe helpers
-
- Closed
-