mirror of
https://github.com/floci-io/floci.git
synced 2026-11-29 16:35:29 -05:00
The files a cluster's trino-password-authenticator names were read whole into Floci's heap before being copied into Trino's container, so a bootstrap action writing a file of several gigabytes could run Floci out of memory. ContainerFiles.copy now copies a file between containers through an owner-only temporary file, one Docker request after the other, and refuses one larger than the memory Trino's container gets, which Trino reads it into, before any of it is written.