-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
SQLSTATE[42000] GET_LOCK support using Galera Cluster or MariaDB Galera Cluster #20752
Comments
HI @aresxc, thanks for reaching out. We don't support Matomo running on Galera Cluster at this time because currently the If your Matomo installation is using browser triggered archiving or if you are viewing data for date ranges then archiving can be happening the background which would explain why you are seeing an error message. There is an ongoing issue to improve support for distributed databases and also a an older experimental branch which avoids using |
This is interesting. I've been running Matomo for over a year on Galera without issues. It's only since the recent update to MariaDB 10.6.13 that the errors have shown up. The archiving itself does not seem to have any issues. I'm only seeing the sql errors displayed when navigating reports. |
Same here. |
I think I found the source and it's not related to Matomo but MariaDB:
We are not alone: https://jira.mariadb.org/browse/MDEV-31325 |
It's strange that Matomo has worked all this time even if GET_LOCK / RELEASE_LOCK technically did not. |
Has been reverted in MariaDB 10.11.4. MariaDB 10.11.4 Release Notes:
|
The main MariaDB versions have been reverted (10.6.14,...). |
I’m using MariaDB Galera Cluster and everything works fine, but in some circumstances, like navigating through reports show errors like:
QLSTATE[42000]: Syntax error or access violation: 1235 This version of MariaDB doesn't yet support 'GET_LOCK in cluster (WSREP_ON=ON)'
.MariaDB multi-master cluster setup. Matomo Archive works. Almost everything works fine, but it happens more on segments.
This is weird because it's just about displaying the data, and not writing to the database.
The text was updated successfully, but these errors were encountered: