Files
containerd/runtime
Wei Fu faec5d4ffd runtime: should not send duplicate task exit event
If the shim has been killed and ttrpc connection has been
closed, the shimErr will not be nil. For this case, the event
subscriber, like moby/moby, might have received the exit or delete
events. Just in case, we should allow ttrpc-callback-on-close to
send the exit and delete events again. And the exit status will
depend on result of shimV2.Delete.

If not, the shim has been delivered the exit and delete events.
So we should remove the task record and prevent duplicate events from
ttrpc-callback-on-close.

Fix: #4769

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2020-12-01 21:54:04 +08:00
..
2020-02-26 10:57:05 +09:00
2019-12-12 02:56:51 +09:00
2018-02-19 10:32:26 +09:00
2018-02-19 10:32:26 +09:00
2018-07-17 10:21:29 -04:00
2018-02-19 10:32:26 +09:00