SYNOPSIS
#include <corosync/votequorum.h>int votequorum_leaving(votequorum_handle_t handle);
DESCRIPTION
The votequorum_leaving function is used to tell the other nodes in the cluster that this node is leaving. They will (when the node actually leaves) reduce quorum to keep the cluster running without this node.This function should only be called if it is known that the node is being shut down for a known reason and could be out of the cluster for an extended period of time.
Normal behaviour is for the cluster to reduce the total number of votes, but NOT expected_votes when a node leave the cluster, so the cluster could become inquorate. This is correct behaviour and is ther eto prevent split-brain.
Do NOT call this function unless you know what you are doing.
RETURN VALUE
This call returns the CS_OK value if successful, otherwise an error is returned.