Files
floci/docs/services
lex00 49dfd1b18a fix(rds): keep the control plane working with no Docker daemon (#3170)
* fix(rds): keep the control plane working with no Docker daemon

CreateDBInstance and CreateDBCluster write the record and reach
available when no Docker daemon is reachable, instead of failing with
a raw socket error. The backing container is retried by reboot and the
RDS Data API, so it starts once a daemon appears. Delete no longer
touches Docker for a record that never had a container, and restore
keeps such records available on their recorded proxy ports.

Ported from lex00/floci#38, the RDS half left out of #2975.

* fix(rds): keep created-container identities and roll back a failed proxy start on retry

The retry updated the record before the auth proxy was up, so a proxy
failure left it pointing at a container nothing listened on and later
retries returned early. The proxy now starts from the handle first and
the record is written only after both halves are up. A proxy failure
stops the container.

tryStart no longer drops a retained cleanup identity that names a
created container. The next retry cleans it up before starting once the
daemon is back. Only an identity carrying the fixed container name,
from a start that failed before Docker created anything, is dropped
while the daemon is unreachable.

* fix(rds): retry a container cleanup that failed before the runtime starts again

A stop that failed after the auth proxy did not start left the live
handle and the runtime claim retained, and nothing retried that
cleanup, so the next start for the runtime failed on the claim. The
container manager now remembers a runtime whose cleanup failed, from a
failed start or a failed stop alike, and cleans it up before that
runtime starts again. A live handle with no pending cleanup is left
alone, so a concurrent duplicate start is still rejected.
2026-09-07 13:14:01 -04:00
..
2026-05-10 11:53:31 -05:00
2026-08-21 00:09:04 -04:00
2026-09-02 11:39:10 -04:00