Skip to content

Keep the image's index in a volume, and name every bound standard - #38

Merged
daniel-rossier merged 1 commit into
mainfrom
shipped-index-volume
Nov 26, 2026
Merged

daniel-rossier merged 1 commit into
mainfrom
shipped-index-volume

Conversation

@daniel-rossier

Copy link
Copy Markdown
Contributor

Every container start copied the image's ~25 GB chromadb index into the container layer (overlayfs copy-up on a read-write open), which on a busy disk took long enough for chromadb to fail with "pool timed out while waiting for an open connection". The launcher now mounts the index from a per-image named volume, filled once by Docker and reused. Also: the precedence guard's note now names companion standards too. Checked through spear: container layer 82 kB instead of 25 GB, both standards bound.

chromadb opens the image's index read-write, and overlayfs then copied
the whole database, about 25 GB, into every new container: tens of
seconds at each start on a busy disk, long enough for chromadb to give up
with "pool timed out while waiting for an open connection", and the
disk space of a second index for as long as the container ran. The
launcher now mounts it from a named volume, spear-index-<image id>,
which Docker fills from the image once; later starts reuse it, and the
volumes of earlier images are removed when nothing uses them.

The precedence guard's note named only the active standard ("No
requirement of ARM-DDI0487 M.c is stated here") over an answer that
cited a companion throughout; it now names every bound standard.
@daniel-rossier
daniel-rossier merged commit 3a1f8d6 into main Nov 26, 2026
2 checks passed
@daniel-rossier
daniel-rossier deleted the shipped-index-volume branch November 26, 2026 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant