pt-table-checksum in master-master environments

Asked by Volans

I would like to know if it is safe (from the replication point of view) to run pt-table-checksum toolkit in environments with a master-master MySQL configuration with slaves like this one:

 | |

* A is slave of B
* B is slave of A

* C is slave of A
* D is slave of B

The documentation do not discuss about such a configuration, unlike the pt-table-sync documentation for example.

In addition to the safety of the tool, I would like also to know if running pt-table-checksum on server A, automatically make the ckecksums on all the other servers.

Thank you in advance

Question information

English Edit question
Percona Toolkit moved to Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:
Revision history for this message
Baron Schwartz (baron-xaprb) said :

It is like any other application that writes data to the database. For example, you shouldn't run it on the passive master.

Yes, the checksums will flow through replication like any other updates.

There is nothing exotic about what it does -- it is just running statements like any other application.

Revision history for this message
Volans (volans) said :

I agree with your reply, just wondering why are you referring to a "passive master".

The configuration I have explained is an active-active master-master replication where both A and B are active masters. The same arguments can be applied also in this case?

Thank you for your really quick reply.

Revision history for this message
Baron Schwartz (baron-xaprb) said :

I apologize for changing direction on this, but would you please post your question on instead? I have reconfigured Launchpad to not offer the "answers" feature because it is not manageable for us to maintain forums in a lot of different places online. It was only enabled because that's the Launchpad default and we never disabled it.

Revision history for this message
Volans (volans) said :

Ok, no problem, I have created this topic, hoping to have opened it in the right section:

Thanks for your support here.