Updated on 2024-06-03 GMT+08:00

Dual-Cluster DR Control Functions

  • gs_hadr_do_switchover()

    Description: Truncates services during a planned switchover in the primary cluster in the remote DR scenario.

    Return type: Boolean, indicating whether the service truncation is successful and whether the switchover process can be performed normally.

  • gs_streaming_dr_in_switchover()

    Description: Truncates services during a planned switchover in the primary cluster in streaming replication-based remote DR solutions.

    Return type: Boolean, indicating whether the service truncation is successful and whether the switchover process can be performed normally.