Files
podman/pkg
Matthew Heon 4ecbc7caae Add a backoff and retries to retrieving exited event
There's a potential race around extremely short-running
containers and events with journald. Events may not be written
for some time (small, but appreciable) after they are received,
and as such we can fail to retrieve it if there is a sufficiently
short time between us writing the event and trying to read it.

Work around this by just retrying, with a 0.25 second delay
between retries, up to 4 times.

[NO TESTS NEEDED] because I have no idea how to reproduce this
race in CI.

Fixes #11633

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2021-09-21 15:32:07 -04:00
..
2020-12-22 13:34:31 -05:00
2021-09-20 23:22:43 -04:00
2021-09-20 15:07:41 +02:00
2021-05-06 11:51:15 +02:00
2021-07-27 15:32:23 +02:00
2021-07-27 16:10:44 +02:00
2019-07-23 15:43:40 -04:00
2021-02-22 09:03:51 +01:00
2021-02-11 23:01:56 +01:00
2021-09-14 09:52:31 -05:00
2021-03-15 14:01:52 +01:00
2021-02-22 09:03:51 +01:00
2021-07-16 14:19:56 +02:00
2021-02-22 09:03:51 +01:00
2021-09-15 20:00:28 +02:00
2020-12-22 13:34:31 -05:00
2021-07-02 19:00:36 +02:00
2021-09-20 23:22:43 -04:00
2020-01-13 14:27:02 +01:00
2021-02-11 23:01:56 +01:00