NCS_Query_Epoch

Defines which servers are included in the cluster.

Syntax

 #include <ncssdk.h> 
  
 NCS_RETURN NCS_Query_Epoch (
   NCS_HANDLE   Handle, 
   UINT32      *GroupEpoch, 
   UINT32      *Members);
 

Parameters

Handle

(IN) Specifies the current NCS handle.

GroupEpoch

(OUT) Points to the number of membership changes since the cluster started.

Members

(OUT) Points to the bitmask of the nodes included in the cluster.

Return Values

Name

Description

SUCCESS

NCS_SUCCESS.

FAILURE

Remarks

For more information about epochs, see Section 1.1.8, Epoch Number.