Moodle truncate table when using Galera MariaDB Cluster Locks issue

Moodle truncate table when using Galera MariaDB Cluster Locks issue

by khaled flihan -
Number of replies: 0
Hi, everyone
we have Moodle installation with  Galera MariaDB cluster,

Sometimes we face  database locks issues when Moodle asks for  " TRUNCATE TABLE",  and  the cluster node needs to be restarted to free the locks!
as following:
Waiting for table metadata lock   TRUNCATE TABLE mdl_hvp_libraries_hub_cache ,
acquiring total order isolation TRUNCATE TABLE mdl_hvp_libraries_hub_cache  

and  TRUNCATE TABLE has its issues and limitations as they mentioned.

Moodle does not take into account this problem with the Galera, and does not consider it to exist!! What is the solution in your opinion??

Average of ratings: -