enforce-gtid-consistency
gtid-mode = ON
read_only=ON
All operations executed on slave, so master server do not participate in this session. Problem, that after using temporary table on read_only slave I get new transaction in binary log. Such as:
DROP /*!40005 TEMPORARY */ TABLE IF EXISTS `sometablename`
No other queries gets logged to binary log and this one is autogenerated by server, not executed by user.
This happens on latest percona server with:
enforce- gtid-consistenc y
gtid-mode = ON
read_only=ON
All operations executed on slave, so master server do not participate in this session. Problem, that after using temporary table on read_only slave I get new transaction in binary log. Such as:
DROP /*!40005 TEMPORARY */ TABLE IF EXISTS `sometablename`
No other queries gets logged to binary log and this one is autogenerated by server, not executed by user.