High Availability API

Please use the links below to view Reference Guide pages for the eXtremeDB High Availability API functions:

mco_HA_async_send_data_to_replicas
Sends transaction data from the master buffer to replicas.
mco_HA_attach_master
Performs handshaking with the master, loads the master’s current state (database), and waits to accept transactions from the master.
mco_HA_attach_replica
Waits for a connection request from a replica.
mco_HA_cancel
Instantly interrupts replication processing.
mco_HA_commit_window
Forces replicas to confirm a transaction package (window).
mco_HA_create_cancel_socket
Creates a cancel socket that can be used in the application.
mco_HA_destroy_cancel_socket
Closes an explicitly created cancel socket.
mco_HA_detach_all_replicas
Detaches (disconnects) all connected replicas.
mco_HA_detach_replica
Detaches (disconnects) the replica identified by the channel pointer.
mco_HA_get_async_buf_info
Gets information about usage of the asynchronous buffer.
mco_HA_enable_filter
Turns partial replication on or off.
mco_HA_get_channel_info
Gets information about the I/O channel.
mco_HA_get_current_auto_oid
Gets the current auto_oid value.
mco_HA_get_io_channel
Gets the I/O channel of the replica referenced by the master database handle and the index of the replica.
mco_HA_get_ip_addr
Gets the IP address associated with the specified I/O channel.
mco_HA_get_number_of_replicas
Gets the count of replicas currently attached.
mco_HA_get_port
Gets the port associated with the specified I/O channel.
mco_HA_get_mode
Gets the MCO_HAMODE_* value specified for this database.
mco_HA_get_sequencer
Gets the number of the database version (or its currentness in the sense of HA).
mco_HA_keep_alive
Sends the KEEP_ALIVE signal to replicas.
mco_HA_master_params_init
Initializes the master HA runtime parameters to default values.
mco_HA_replica_params_init
Initializes the replica HA runtime parameters to default values.
mco_HA_replica_stop
Causes a local asynchronous stop request to be sent from the standby application.
mco_HA_set_master_params
Sets the master HA runtime parameters.
mco_HA_set_quorum
Sets the HA quorum.
mco_HA_set_trans_window_size
Sets the transaction packet (window) size.
mco_HA_start
Initializes the HA subsystem.
mco_HA_stop
Shuts down the HA subsystem.
mco_HA_trans_commit_synch
Implements synchronization of committed transactions completed by other (secondary) masters attached to a shared memory database.