i'm running Magento CMS, and underneath there are 2 physical servers both with Percona
Server version: 5.6.23-72.1-log Percona Server (GPL), Release 72.1, Revision 0503478
in Master/Slave with GTID config.
Here it is the config, specific for GTID (it's the same also on salve)
enforce_gtid_consistency master-info-repository =TABLE
relay-log-info-repository =TABLE sync-master-info =1
My client randomly during the day, receives this error:
SQLSTATE[HY000]: General error: 1785 When @@GLOBAL.ENFORCE_GTID_CONSISTENCY = 1, updates to non-transactional tables can only be done in either autocommitted statements or single-statement transactions, and never in the same statement as updates to transactional tables.
I'm willing to resolv this problem, me from a server stand point of view and i have 2 magento developers ready to help me, but i need help on how to trace, identify and visualize offending query so either me or developer can resolve the problem.
What i have done so far
1)converted as many possible tables from MyISAM to InnoDB
2)changed binlog format from row --> mixed
3)rebuild twice the slave with innobackupex
4) tried to read from binary logs:
mysqlbinlog --base64-output=decode-rows -vv mysql-bin.000179 > /root/mysqlbin179.txt
but seems i'm not looking in the right direction.
Can i please have some help on this?