Skip to content

Commit

Permalink
Replace use of WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS with `WAIT_FOR_EXE…
Browse files Browse the repository at this point in the history
…CUTED_GTID_SET` (#14612)

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
  • Loading branch information
shlomi-noach authored Nov 27, 2023
1 parent 6f7dfc7 commit f8348c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/mysql/flavor_mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func (mysqlFlavor) waitUntilPositionCommand(ctx context.Context, pos replication
}
}

return fmt.Sprintf("SELECT WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS('%s', %v)", pos, timeoutSeconds), nil
return fmt.Sprintf("SELECT WAIT_FOR_EXECUTED_GTID_SET('%s', %v)", pos, timeoutSeconds), nil
}

// readBinlogEvent is part of the Flavor interface.
Expand Down

0 comments on commit f8348c7

Please sign in to comment.