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

Add version to DatabaseRequires interface #60

Open
carlcsaposs-canonical opened this issue May 8, 2023 · 2 comments
Open

Add version to DatabaseRequires interface #60

carlcsaposs-canonical opened this issue May 8, 2023 · 2 comments

Comments

@carlcsaposs-canonical
Copy link
Contributor

Database requirer should specify which version of the database it needs (e.g. mysql version, not charm revision) so that the provider knows if it's safe to upgrade the database version

Requires changes to https://github.com/canonical/charm-relation-interfaces

@github-actions
Copy link

github-actions bot commented May 8, 2023

@taurus-forever
Copy link
Contributor

taurus-forever commented May 8, 2023

My $0.05: mysql charm need to know mysql-router version to block "juju refresh mysql" if router is not-yet upgraded, etc.
So, database requirer (mysql-router) should specify his (mysql-router) version when relating to database provider (mysql-server).

Most probably, there are more use-cases for mysql to know router version (charm revision, router snap/deb version, interface version we are related thorugh, profile version used, ..., ....).

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