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;
}
Then scalar keys %$diff_chunks is the number of distinct chunks that differ on all slaves.
We weren't, but now we are:
}
Then scalar keys %$diff_chunks is the number of distinct chunks that differ on all slaves.