MySQL 5.7 GTID Replication Issue: Slave Has More GTIDs Than Master – Analysis and GDB Reproduction
The article analyzes a MySQL 5.7 replication bug where, after consecutive crashes, the slave ends up with more GTIDs than the master because the last binlog’s GTIDs are not persisted, and demonstrates the problem using GDB debugging and step‑by‑step reproduction.