Class KeepMajority

  • public final class KeepMajority
    extends DowningStrategy

    Down the unreachable nodes if the current node is in the majority part based the last known membership information. Otherwise down the reachable nodes, i.e. the own part. If the the parts are of equal size the part containing the node with the lowest address is kept.

    If the role is defined the decision is based only on members with that role.

    Note that if there are more than two partitions and none is in majority each part will shutdown itself, terminating the whole cluster.

    It is only counting members within the own data center.