Crash-safe semisync replication
summary
Refines semisync recovery so a crashed former master, when restarted as a semisync slave with --rpl-semi-sync-slave-enabled, does not reintroduce transactions its replicas never saw. Implements vector-aware recovery that computes a max-committed GTID across engines, truncates the binlog to discard entries proven uncommitted across branches, and records the change as MDEV-2117. Implementation handles multi-engine transactions (InnoDB, RocksDB, etc.) and claims to prevent the lost-commit inconsistency at failover.
AI-written summary · about
