mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
A DocumentDB cluster's MongoDB container was named after the cluster identifier alone, and the manager kept its live handles under that identifier too. Creating a same-named cluster in another account or Region removed the first cluster's container and replaced its handle, so a later delete or shutdown could no longer reach it. Container names now carry the account and Region (floci-aws-docdb-<account>-<region>-<cluster>), and live handles are kept by Docker ID. Deleting a cluster closes the log stream its container was started with, which the handle DeleteDBCluster rebuilds from the stored record does not carry. Ported from #5724. Co-authored-by: Daniël van Ziel <159726064+danielvanza@users.noreply.github.com>