Skip to content

Commit

Permalink
Merge pull request #8396 from planetscale/rn-ignore-percona-checksum-rbr
Browse files Browse the repository at this point in the history
Ignore SBR statements from pt-table-checksum
  • Loading branch information
rohit-nayak-ps authored Jul 6, 2021
2 parents 8a39067 + 51101f7 commit a56d641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/vt/vttablet/tabletmanager/vreplication/vplayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -484,8 +484,8 @@ func (vp *vplayer) applyEvent(ctx context.Context, event *binlogdatapb.VEvent, m
if sql == "" {
sql = event.Dml
}
// If the event is for one of the AWS RDS "special" tables, we skip
if !strings.Contains(sql, " mysql.rds_") {
// If the event is for one of the AWS RDS "special" or pt-table-checksum tables, we skip
if !strings.Contains(sql, " mysql.rds_") && !strings.Contains(sql, " percona.checksums") {
// This is a player using statement based replication
if err := vp.vr.dbClient.Begin(); err != nil {
return err
Expand Down

0 comments on commit a56d641

Please sign in to comment.