Files
floci/docs
Priamo Germosen be6488b7ea fix(emr): remove the release images a newer pull replaces (#8395)
A cluster's release image is named after the ids of the two images it
is made of, so a newer pull of either makes another, and the older one
stayed on the Docker daemon for good. Each release image is now
labelled with its kind: its release, the names of the two images and
what is copied. Once Floci makes a newer image of a kind, it removes the
others of that kind, without force, so one a container still uses stays
until the next newer one. Another kind (with or without Hive, or other
image names) is never touched, and an image made before the label is
left as it is.

Images of one kind are made one at a time, the two names resolved to
ids under that kind's lock, so one made of the older images never comes
after the newer one to remove it. A step or a bootstrap holds the image
it was given until it ends, as it may have no container of it yet, and
a held image is not removed either. A failure to remove one is logged
with its exception; the new image is there, so it fails nothing.
2026-11-14 22:20:04 -04:00
..
2026-03-15 17:43:56 -05:00