spiegel_podman/pkg/domain
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
..
entities Pod Device Support 2021-09-20 23:22:43 -04:00
filters Run codespell to fix spelling 2021-08-11 16:41:45 -04:00
infra Add a backoff and retries to retrieving exited event 2021-09-21 15:32:07 -04:00
utils Add filtering functionality to http api secrets list 2021-09-03 10:29:31 +02:00