Cluster_Quorum

This sample demonstrates how to use the quorum callback technique instead of the standard qrank mechanism.

How to Run

In a console window run:

 
    cluster_quorum 2 0
     

Then in a second console window run:

 
    cluster_quorum 2 1
 

But it is more instructive to run one instance in your development environment debugger, stepping through the code.

Related Topics Link IconRelated Topics