KnownFailoverMode enum

Failover mode.

Fields

ForcedFailover

Terminate the primary database process first, then triggers the failover. This is more aggressive and used when the primary is unresponsive or in an unhealthy state.

ForcedSwitchover

Terminate the primary database process first, and then triggers a switch over with role swapping.

PlannedFailover

Trigger a failover from primary to standby without killing the primary database process first. This is a graceful failover that attempts to preserve data consistency.

PlannedSwitchover

Similar to 'PlannedFailover' but prefers a switch over operation where roles are swapped between primary and standby.