Apparently, there's a problem with using gh-ost to perform migrations on MySQL 8 running on Amazon RDS. An open issue exists on the gh-ost repository. This gist is an attempt to troubleshoot/debug the problem and gather some logs to help get to the bottom of the issue.
- Set up 5.7 and 8.0 instances of MySQL on Amazon RDS, configured with row-based binlog format and 24-hour binlog retention
- Use gh-ost to migrate a table directly on master. Delay cutover and inspect gh-ost's replication behavior.
The version of gh-ost used is the 1.0.47 release.