I received feedback from Joe.
>A WATCHDOG is not allowed to be a GroupLeader and at this time I don't
envision it needing to know the master or of master change event.
>The WATCHDOG currently broacdcasts failure notification to all members of the
cluster so it does not assume it knows which instance is the Master.
>So lets not send groupleadership events to WATCHDOG
So recent patch should be modified more like this.
private void analyzeMasterChangeView(final EventPacket packet)
if( !getGMSContext().isWatchdog() )
addGroupLeadershipNotificationSignal( token, member.getGroupName(),
Thanks to Joe.