Failover Replication State Scenarios
The multiple scenarios regarding the state of the data are described below, along with how to locate any associated events:
First, the normal situation - all events in the binary logs have been extracted into the Primary THL, all Primary THL has been transferred to all Replica nodes, and all THL on the Replica nodes has been fully applied to all Replica databases.
Scenario 1 - There are orphaned MySQL binary log events on the old Primary that were not extracted into THL before a failover occurred.
This could occur when
stoponDBerror=trueor when the MySQL binlogs are not available (i.e. due to a host crash). The scenario would be reported upon issuing thecctrlrecovercommand.
Failover Scenario 1 The
tungsten_find_orphanedscript can help locate orphaned binary log events that did not make it to the THL on the old Primary before a failover. For more information, please see Scenario 1 in "The tungsten_find_orphaned Command".Scenario 2 - There is orphaned THL left on the old Primary that did not make it to the new Primary

Failover Scenario 2 The
tungsten_find_orphanedscript can help locate orphaned Primary THL left on the old Primary that did not make it to the new Primary before a failover. For more information, please see Scenario 2 in "The tungsten_find_orphaned Command".Scenario 3 - There is orphaned Replica THL on the new Primary node that did not get applied into the database before getting promoted to Primary role

Failover Scenario 3 The
tungsten_find_orphaned script can help locate orphaned Replica THL on the new Primary node that did not get applied into the database before getting promoted to Primary role during a failover. For more information, please see Scenario 3 in "The tungsten_find_orphaned Command".