Repository navigation
Commit 1627591
authored
fix(vm): stop image workers before cleaning staging files
Run image preparation in an owned worker process, reserve its process
identity until cleanup completes, and protect staging with leases so
cancellation and recovery cannot race with another preparation attempt.
Signed-off-by: Shiju <shiju@nvidia.com>1 parent 40e8e7d commit 1627591
5 files changed
Lines changed: 1717 additions & 46 deletions
File tree
- crates/openshell-driver-vm
- src
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
222 | 226 | | |
223 | 227 | | |
224 | 228 | | |
| |||
0 commit comments