FerryDocs
ConceptsSelf-healing

Datastores, orphans and routes

Each pass also repairs datastores, removes orphans and updates the routes of the proxy.

Edit on GitHub
ReconcilerDatastoreruns againOrphanno serviceRouteservice deleted

The container of a datastore stopped. The reconciler starts it again.

1 / 3

What each pass repairs

ThingRepair
If its container stopped, Ferry restarts it. If the container disappeared, Ferry creates it again. The volume keeps the data.
Failed datastoreFerry tries again, with a longer wait after each failure.
Ferry removes a container of this server whose service or datastore does not exist. It also removes old job containers.
Ferry removes the routes of deleted services.

See Datastores.

Between two passes

The lists the instances that run, each second. If Docker restarts a container on a new port, the route follows in about one second.

Terminal
ferry status api

The command shows the port of each instance.

On this page