mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 13:11:32 +00:00
Add code comment to new %diff_chunks code.
This commit is contained in:
@@ -7703,6 +7703,9 @@ sub main {
|
|||||||
# Save unique chunks that differ.
|
# Save unique chunks that differ.
|
||||||
# https://bugs.launchpad.net/percona-toolkit/+bug/1030031
|
# https://bugs.launchpad.net/percona-toolkit/+bug/1030031
|
||||||
if ( scalar @$diffs ) {
|
if ( scalar @$diffs ) {
|
||||||
|
# "chunk" is the chunk number. See the SELECT
|
||||||
|
# statement in RowChecksum::find_replication_differences()
|
||||||
|
# for the full list of columns.
|
||||||
map { $diff_chunks{ $_->{chunk} }++ } @$diffs;
|
map { $diff_chunks{ $_->{chunk} }++ } @$diffs;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user