The Discovery protocol layer retrieves the initial membership (used by the GMS when started by sending event FIND_INITIAL_MBRS down the stack). We do this by specific subclasses, e.g. by mcasting PING requests to an IP MCAST address or, if gossiping is enabled, by contacting the GossipRouter. The responses should allow us to determine the coordinator whom we have to contact, e.g. in case we want to join the group. When we are a server (after having received the BECOME_SERVER event), we'll respond to PING requests with a PING response.
The FIND_INITIAL_MBRS event will eventually be answered with a FIND_INITIAL_MBRS_OK event up the stack. The following properties are available
- timeout - the timeout (ms) to wait for the initial members, default is 3000=3 secs
- num_initial_members - the minimum number of initial members for a FIND_INITAL_MBRS, default is 2
- num_ping_requests - the number of GET_MBRS_REQ messages to be sent (min=1), distributed over timeout ms
@author Bela Ban