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

Clouddriver and Orca services with multiple replicas using MySQL get stuck with DATABASECHANGELOGLOCK #244

Open
j771 opened this issue Aug 5, 2021 · 3 comments

Comments

@j771
Copy link

j771 commented Aug 5, 2021

While running multiple replicas of clouddriver and orca services and using MySQL storage for them, sometimes if a pod gets deleted that has a DATABASECHANGELOGLOCK set on a MySQL DB, the new pods that come up cannot access the MySQL DB because the the lock is set for the pod that does not exist any more.

The only way to get things running again is to manually delete the lock on the DB.

While it does not happen often, I have seen this issue with both orca and clouddriver (both running their own MySQL DB).

@man0s
Copy link

man0s commented Sep 20, 2021

I've seen also the the same behaviour.

@aryabchenko
Copy link

Faced the same

@jmartinezfl
Copy link

jmartinezfl commented Apr 7, 2022

In my case I think the problem is due to the fact that every time a service is updated two ReplicaSets are created. The first one generates a pod that blocks the DB and terminates, and when the second ReplicaSet pods try to connect, the error appears.

Is this a normal behavior?

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

4 participants