Files
containerd/plugins
Maksym Pavlenko fe4cdb0bf8 sandbox: clean up a failed shim with a context of its own
When CreateSandbox or StartSandbox fails because the caller's context
was canceled or ran past its deadline, cleanupShim passed that same
context to ShutdownSandbox and derived the shim deletion timeout from
it, so both failed at once and the shim, its sandbox and the mounts
under its bundle were left behind. The cleanup now keeps the values of
the caller's context but not its cancellation, and bounds the shutdown
and the deletion with timeouts of their own; the shutdown one leaves the
shim time to stop what it runs for the sandbox. A closed connection
from a shim that exited before answering ShutdownSandbox is not logged
as a failure, as Shutdown already treats it as success.

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2026-11-04 19:04:42 -08:00
..
2026-09-17 10:53:10 +02:00
2026-03-15 18:24:15 +01:00
2026-09-17 10:53:10 +02:00
2026-03-15 18:24:15 +01:00
2026-03-15 18:24:15 +01:00
2026-07-04 12:08:50 -04:00
2026-09-17 10:53:10 +02:00
2026-03-15 18:24:15 +01:00
2026-04-21 18:02:40 -07:00