MONROE-PROJECT / Scheduler

The MONROE scheduling server, and deployment daemon
https://www.monroe-project.eu/
0 stars 2 forks source link

Mitigate a race condition between deployemnt and cleanup of empty dir… #28

Closed jonakarl closed 5 years ago

jonakarl commented 5 years ago

This patch mitigates the race condition between deploying a experiment and the cleanup of empty directories https://github.com/MONROE-PROJECT/Utilities/blob/e9fa8b09453a419fff6bec0e55a2d351557473bc/monroe-experiments/usr/bin/monroe-user-experiments#L71

jonakarl commented 5 years ago

This is not a "proper" fix but should minimize the problem, a proper fix requires a larger rewrite (as is done in https://github.com/MONROE-PROJECT/monroe-experiment-core)