From 4715e3a7cf299bcd44a29dffce88e5b6c54c656e Mon Sep 17 00:00:00 2001 From: Deepthi Sigireddi Date: Sat, 9 Dec 2023 10:18:45 -0800 Subject: [PATCH] Revert "[release-17.0] Replace use of `WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS` with `WAIT_FOR_EXECUTED_GTID_SET` (#14612) (#14619)" This reverts commit 29d3784e5b5c0d4a18d65d973c76fa4b52b2fa9d. Signed-off-by: deepthi --- go/mysql/flavor_mysql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/mysql/flavor_mysql.go b/go/mysql/flavor_mysql.go index f3ca5162000..388986e96fe 100644 --- a/go/mysql/flavor_mysql.go +++ b/go/mysql/flavor_mysql.go @@ -274,7 +274,7 @@ func (mysqlFlavor) waitUntilPositionCommand(ctx context.Context, pos Position) ( } } - return fmt.Sprintf("SELECT WAIT_FOR_EXECUTED_GTID_SET('%s', %v)", pos, timeoutSeconds), nil + return fmt.Sprintf("SELECT WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS('%s', %v)", pos, timeoutSeconds), nil } // readBinlogEvent is part of the Flavor interface.