Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rolling changelog execution in clustered mode #227

Open
Jotschi opened this issue Nov 26, 2019 · 1 comment
Open

Rolling changelog execution in clustered mode #227

Jotschi opened this issue Nov 26, 2019 · 1 comment

Comments

@Jotschi
Copy link
Contributor

Jotschi commented Nov 26, 2019

It would be possible to execute database changelog entries online in a rolling update setup.

  • The new mesh instance would execute the changelog and update the database structure in a way that keeps it compatible with older mesh versions which are also part of the cluster.
  • The new mesh instance tracks operations that may be invoked by older mesh instances. Newly created elements may need to be migrated on-the-fly.
  • Once the whole cluster has been switched to the new mesh version and no older mesh instance is online: The final changelog step will be executed which removes the compatibility layer from the db.

https://thoughts-on-java.org/update-database-schema-without-downtime/

@mephinet
Copy link

mephinet commented Dec 5, 2019

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

No branches or pull requests

2 participants