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

[bitnami/mlflow] WARNING: database "bitnami_mlflow" has a collation version mismatch #29653

Open
bhack opened this issue Sep 29, 2024 · 10 comments
Assignees
Labels
in-progress mlflow tech-issues The user has a technical issue about an application

Comments

@bhack
Copy link
Contributor

bhack commented Sep 29, 2024

Name and Version

bitnami/mlflow 1.5.7

What architecture are you using?

amd64

What steps will reproduce the bug?

Upgrade to mlflow-1.5.7 app version 2.16.2

What is the expected behavior?

Just working as with other upgrades

What do you see instead?

WARNING:  database "bitnami_mlflow" has a collation version mismatch
DETAIL:  The database was created using collation version 2.31, but the operating system provides version 2.36.
HINT:  Rebuild all objects in this database that use the default collation and run ALTER DATABASE bitnami_mlflow REFRESH COLLATION VERSION, or build PostgreSQL with the right library version.
@bhack bhack added the tech-issues The user has a technical issue about an application label Sep 29, 2024
@github-actions github-actions bot added the triage Triage is needed label Sep 29, 2024
@bhack bhack changed the title 2024-09-29 21:13:17.381 GMT [174] WARNING: database "bitnami_mlflow" has a collation version mismatch 2024-09-29 21:13:17.381 GMT [174] DETAIL: The database was created using collation version 2.31, but the operating system provides version 2.36. 2024-09-29 21:13:17.381 GMT [174] HINT: Rebuild all objects in this database that use the default collation and run ALTER DATABASE bitnami_mlflow REFRESH COLLATION VERSION, or build PostgreSQL with the right library version. 2024-09-29 21:13:47.411 GMT [217] WARNING: database "bitnami_mlflow_auth" has a collation version mismatch [mlflow] WARNING: database "bitnami_mlflow" has a collation version mismatch Sep 29, 2024
@javsalgar javsalgar changed the title [mlflow] WARNING: database "bitnami_mlflow" has a collation version mismatch [bitnami/mlflow] WARNING: database "bitnami_mlflow" has a collation version mismatch Sep 30, 2024
@javsalgar
Copy link
Contributor

Hi!

Is this only a warning or this is causing the installation to fail?

@bhack
Copy link
Contributor Author

bhack commented Sep 30, 2024

The installation doesn't fail but it seems slower and the postgres pod/container is fully spamming these messages.

@bhack
Copy link
Contributor Author

bhack commented Sep 30, 2024

@javsalgar
Copy link
Contributor

From which version of the chart are you updating?

@bhack
Copy link
Contributor Author

bhack commented Oct 1, 2024

From the previous one.

@javsalgar
Copy link
Contributor

You mean from chart version mlflow-1.5.6 to mlflow-1.5.7?

@bhack
Copy link
Contributor Author

bhack commented Oct 2, 2024

Yes but I followed all the updates over the time so I cannot be 100% sure that it was exactly introduced in 1.5.6/1.5.7 update as I was not checking the postgres log on each upgrade.

@javsalgar
Copy link
Contributor

Did you change any default values in the postgresql subchart?

@bhack
Copy link
Contributor Author

bhack commented Oct 3, 2024

No, It is vanilla.

@github-actions github-actions bot removed the triage Triage is needed label Oct 4, 2024
@github-actions github-actions bot assigned dgomezleon and unassigned javsalgar Oct 4, 2024
@dgomezleon
Copy link
Member

Hi @bhack ,

It seems that the warning could be fixed by executing:

REINDEX DATABASE bitnami_mlflow;
ALTER DATABASE bitnami_mlflow REFRESH COLLATION VERSION;

I'm going to create an internal task to implement this logic for upgrades.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in-progress mlflow tech-issues The user has a technical issue about an application
Projects
None yet
Development

No branches or pull requests

3 participants