-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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/mariadb-galera] One Node in galera cluster stucks with a query in state "Waiting for certification" #22091
Comments
Hi, It is not clear to me that this is due to the Bitnami packaging of MariaDB Galera or an issue in MariaDB Galera itself. Did you check with the upstream mariadb-galera devs? https://jira.mariadb.org/secure/Dashboard.jspa |
Hi @javsalgar, thank you for the fast response. I created a bug on their jira to check, if they have an idea, where this comes from. I will update this ticket, as soon as I have additional information! Ticket: https://jira.mariadb.org/browse/MDEV-33252 Best, |
Thank you! |
@erikauer experiencing some similar behavior, but not with a bitnami installed cluster (Ubuntu 22 vm & dpkg), and a different version ( otherwise the initially (currently in an evaluation phase of galera cluster that may be impacted by this ) |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
unstale issue... still relevant and not solved |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
ping :) |
having this issue |
1 similar comment
having this issue |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary. |
To reproduce this issue, on a galera node :
It appends very often when managing galera clusters and databases with mariadb-operator CR. Not managing databases with mariadb-operator CR mitigate this issue. UPDATE: it was LOCKS. |
@vixns how did you resolve the locks, I'm currently scratching my head having the same issues while restoring a db cluster, and it fails directly after the first table is being set up |
@mathijswesterhof I stripped out the LOCK TABLE statements from the dump before restoring. |
Name and Version
bitnami/mariadb-galera 9.0.4
What architecture are you using?
None
What steps will reproduce the bug?
We installed the galera cluster using the bitnami mariadb-helm charts.
After a while (few days) we always see deadlocks in the logs:
Caused by: java.sql.SQLException: (conn=371621) Lock wait timeout exceeded; try restarting transaction
The values.yaml file:
We checked the nodes for there state and we saw that node dev-mariadb-0 has a process in "Waiting for certification" that never ends:
It seems all the other processes waiting for this one to complete.
We have tried to kill this process, but a KILL 370905 just ends up with an additional process waiting for the one to complete.
We are only able to fix this problem by restarting the node again. The other both nodes working as expected and read and write is possible.
Any idea how to fix this problem, or how we are able to ensure that this didn`t happen again?
What is the expected behavior?
All nodes in galera cluster working and not stucking with a process in "waiting for certification".
What do you see instead?
All notes are in sync and not locked.
Additional information
Full Processlist of node0:
I checked all the nodes for the status
Node0:
Node1:
Node2:
The text was updated successfully, but these errors were encountered: