This sample demonstrates how to use the quorum callback technique instead of the standard qrank mechanism.
In a console window run:
cluster_quorum 2 0Then in a second console window run:
cluster_quorum 2 1But it is more instructive to run one instance in your development environment debugger, stepping through the code.