I'm using pt-table-checksum and pt-table-sync to check for differences in my replicas. when I use pt-table-sync with the -print option, I can only see the master values.
How can I show the conflicting slave values as well? I want to see if I can find a pattern of which those diffs occur by.
Using pt-table-sync with these options
--print
--sync-to-master
will report the SQL changes to execute on the Slave to make the Slave match the Master.
The Master is simply connected for comparison purposes.
The Percona Documenation on --print option says
For emphasis : Do not execute the output of
--print
AND--sync-to-master
on a Master. Execute it on a Slave only.If you are using Circular Replication, do this
then you can run
ChangesToSlave.sql
on a Slave.