mirror of
https://github.com/floci-io/floci.git
synced 2026-11-25 14:57:54 -05:00
Floci's shutdown stops every endpoint container, and nothing started them again, so after a restart with persistent storage an endpoint still reported InService while InvokeEndpoint failed with ModelError. At startup, each endpoint that was InService or still Creating goes back to Creating and is started again from its endpoint config and model, as CreateEndpoint starts one, in the account it is stored under. It reports InService once its container answers /ping, or Failed with the reason. A Failed endpoint is left as it is, and one a crash left Deleting is deleted. Part of #5664.