Files
containerd/integration
Wei Fu 24dc6900ec runtime: make task.Delete API retriable
To make task.Delete retriable, this patch caches the delete result in
memory after the shim successfully deletes the task. If a later shutdown
attempt fails, a subsequent Delete retry can complete cleanup and return the
cached exit information.

If containerd restarts after deleting the task, the in-memory cache is lost,
and containerd will publish TaskExit and TaskDelete events again to
subscribers. Currently, the exit status returned by shim-delete is always
137. In a follow-up, containerd-shim-runc-v2 should store the actual exit
status in the state directory, so that shim-delete can reuse it instead of
returning a hard-coded value.

Implements: #8981

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2026-08-26 18:10:43 -04:00
..
2026-03-15 14:56:49 +01:00
2026-02-16 20:45:00 +01:00
2024-06-20 23:12:31 +00:00
2026-03-17 13:36:16 +01:00
2026-03-17 13:36:17 +01:00
2026-03-30 09:01:49 -05:00
2026-03-17 13:36:16 +01:00
2023-11-01 10:37:00 -07:00
2023-11-01 15:32:43 -07:00