Skip to content

Rolling update fixes with internal state - #1080

Merged
stgraber merged 9 commits into
FuturFusion:mainfrom
breml:rolling-update-fixes-with-internal-state
Sep 16, 2026
Merged

stgraber merged 9 commits into
FuturFusion:mainfrom
breml:rolling-update-fixes-with-internal-state

Conversation

@breml

@breml breml commented Sep 14, 2026

Copy link
Copy Markdown
Member

Replace the previous in memory, volatile server update state with an internal state persisted in the DB, which allows for a more robust and failure tolerant handling in the cluster rolling update state machine.

Additionally centralize the definition of the states, timeouts and retry definitions in the rollingUpdateStateDefinition map, which drives the rolling update and restart operations. This aligns the definition of the state machine a bit closer with the state machine used for the automated deployment.

Since the state is now in the DB, this also improves the situation for the future use of cowsql, since the (now no longer volatile) server state is also in the DB.

@breml breml self-assigned this Sep 14, 2026
@breml
breml force-pushed the rolling-update-fixes-with-internal-state branch 2 times, most recently from 1d67501 to 781c336 Compare September 14, 2026 13:46
@breml
breml force-pushed the rolling-update-fixes-with-internal-state branch 4 times, most recently from babad48 to 1484384 Compare September 15, 2026 09:52
@breml
breml requested review from presztak and stgraber September 15, 2026 10:53
@breml
breml marked this pull request as ready for review September 15, 2026 10:53
@breml breml mentioned this pull request Sep 15, 2026
@stgraber

Copy link
Copy Markdown
Member

@breml needs a rebase

Signed-off-by: Lucas Bremgartner <lucas.bremgartner@futurfusion.io>
Replace the previous in memory, volatile server update
state with an internal state persisted in the DB,
which allows for a more robust and failure tolerant
handling in the cluster rolling update state machine.

Signed-off-by: Lucas Bremgartner <lucas.bremgartner@futurfusion.io>
…pdate

additionally centralize the definition of the states, timeouts
and retry definitions in the rollingUpdateStateDefinition
map, which drives the rolling update and restart operations.

Signed-off-by: Lucas Bremgartner <lucas.bremgartner@futurfusion.io>
Signed-off-by: Lucas Bremgartner <lucas.bremgartner@futurfusion.io>
Signed-off-by: Lucas Bremgartner <lucas.bremgartner@futurfusion.io>
Signed-off-by: Lucas Bremgartner <lucas.bremgartner@futurfusion.io>
Signed-off-by: Lucas Bremgartner <lucas.bremgartner@futurfusion.io>
Signed-off-by: Lucas Bremgartner <lucas.bremgartner@futurfusion.io>
Signed-off-by: Lucas Bremgartner <lucas.bremgartner@futurfusion.io>
@breml
breml force-pushed the rolling-update-fixes-with-internal-state branch from 1484384 to 0c7c5e8 Compare September 16, 2026 05:40
@breml

breml commented Sep 16, 2026

Copy link
Copy Markdown
Member Author

@breml needs a rebase

done

@stgraber
stgraber merged commit b942afe into FuturFusion:main Sep 16, 2026
6 checks passed
@breml
breml deleted the rolling-update-fixes-with-internal-state branch September 17, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants