Purpose
WAIT_FOR_EXECUTED_GTID_SET() waits until the transaction corresponding to the specified global transaction ID (GTID) has been executed on the replica.
Syntax
WAIT_FOR_EXECUTED_GTID_SET(gtid_set[, timeout])
Note
Only the keyword syntax is supported. The functionality does not actually take effect.