43장. GTID Failover에서 옛 Source를 차단한다
replica의 IO/SQL thread 상태, executed/retrieved GTID set, lag와 errant transaction을 확인한다. Seconds_Behind_Source 하나로 동기화를 선언하지 않는다. promotion 전 마지막 수신·적용 위치와 업무 invariant를 본다. 새 source가 write를 받기 전에 old source를 fencing하고 application connection을 한 경로로 전환한다.
game day는 primary network 단절, replica apply 지연, connection cache와 retry storm을 포함한다. election 시간보다 실제 write 복구·cold buffer warmup·대사 시간을 RTO로 잰다. old source 복귀는 자동 재연결이 아니라 rejoin 또는 rebuild 절차다.