Files
containerd/plugins
Hayato Kiwata f078cebbd1 fix: propagate context deadline exceeded error properly
When a shim becomes unresponsive (e.g., stopped via SIGSTOP), ttrpc
communication times out with `context deadline exceeded`.

Currently, this error is not properly propagated, causing redundant API
calls and slow container listing by client sides.

Specifically, when executing the API to check the task state, it appears
that the `context deadline exceeded` error via ttrpc is not being handled
within `shimTask.State()` and `getProcessState()`.

As a result, when this error occurs, clients such as nerdctl cannot
recognize this error, and it is thought that the issue described below is
occurring:

- https://github.com/containerd/nerdctl/issues/4720

Therefore, this commit adds error handling to ensure timeouts are properly
handled by client sides.

Signed-off-by: Hayato Kiwata <dev@haytok.jp>
2026-01-26 22:58:28 +09:00
..
2025-11-04 16:04:30 +09:00
2024-02-27 22:09:20 -08:00
2025-09-01 10:48:38 +08:00
2024-01-17 09:55:12 -08:00
2024-12-23 23:14:49 -07:00
2025-11-04 16:04:30 +09:00
2025-09-18 17:08:43 -07:00