"removeMember() must be invoked on the node that's " +
"currently the master.");
}
RepNodeImpl node = group.getNode(nodeName);
if (node == null) {
throw new MemberNotFoundException("Node:" + nodeName +
"is not a member of the group:" +
group.getName());
}
if (node.isRemoved() && node.isQuorumAck()) {
throw new MemberNotFoundException("Node:" + nodeName +
"is not currently a member of " +
"the group:" + group.getName() +
" It had been removed.");
}
/* Check if the node is the master itself. */