rolling restart flag
Please make i possible to be able to flag for a rolling restart (one instance at a time) when executing deployments -through DevOps / GitHub release pipelines.
-Note:
old feature request disappeared it seems:
https://world.optimizely.com/forum/developer-forum/Developer-to-developer/Thread-Container/2023/5/is-it-possible-to-do-a-rolling-restart-from-an-api-call-powershell-cmdlet-or-something-similar/
-
Rickard Nilsson
commented
We need this too. Our production site runs on two instances and is deployed from Azure DevOps through the Deployment API with a slot swap. When a release adds new block or page types, an instance often appears to keep a content type ID in memory that has no matching row in tblContentType. Editors then cannot create content of the new type, and saving fails with a SqlException on FK_tblContent_tblContentType. Restarting the instances fixes it.
Today that restart is a manual step in the DXP portal after most releases that add content types. An API operation that restarts the web app one instance at a time, with a status we can poll, would let us run it as the last step of the release pipeline without downtime. A matching cmdlet in EpiCloud would make it easy to use from a pipeline.