As per documentation: https://mariadb.com/kb/en/mariadb/documentation/replication-cluster-multi-master/galera/getting-started-with-mariadb-galera-cluster/

Disabling query_cache (and setting size to 0M so it doesn't allocate the RAM)
This is a huge reason for seeing deadlocks with Galera, hence the mandatory turning off
Merge pull request #143 from SamYaple/sam_testing

As per documentation: https://mariadb.com/kb/en/mariadb/documentation/re...