|**failover_mode**|**tinyint**|The [failover mode](../../database-engine/availability-groups/windows/failover-and-failover-modes-always-on-availability-groups.md) of the availability replica, one of:<br /><br />0 | Automatic failover. The replica is a potential target for automatic failovers. Automatic failover is supported only if the availability mode is set to synchronous commit (**availability_mode** = 1) and the availability replica is currently synchronized.<br /><br />1 | Manual failover. A failover to a secondary replica set to manual failover must be manually initiated by the database administrator. The type of failover that is performed will depend on whether the secondary replica is synchronized, as follows:<br /><br />If the availability replica is not synchronizing or is still synchronizing, only forced failover (with possible data loss) can occur.<br /><br />If the availability mode is set to synchronous commit (**availability_mode** = 1) and the availability replica is currently synchronized, manual failover without data loss can occur.<br /><br />To view a rollup of the database synchronization health of every availability database in an availability replica, use the **synchronization_health** and **synchronization_health_desc** columns of the [sys.dm_hadr_availability_replica_states](../../relational-databases/system-dynamic-management-views/sys-dm-hadr-availability-replica-states-transact-sql.md) dynamic management view. The rollup considers the synchronization state of every availability database and the availability mode of its availability replica.<br /><br />**Note:** To view the synchronization health of a given availability database, query the **synchronization_state** and **synchronization_health** columns of the [sys.dm_hadr_database_replica_states](../../relational-databases/system-dynamic-management-views/sys-dm-hadr-database-replica-states-transact-sql.md) dynamic management view.|
0 commit comments