This {@link org.hibernate.search.backend.impl.jgroups.NodeSelectorStrategy} picks a single master across all nodes participatingin the JGroups cluster deterministically: this way all nodes in the group will have an agreement on which node is going to be the master.
Advantage: if the master node fails, a new node is elected.
Limitation: make sure all nodes in the group are having the same application running and use the same configuration, or the master might ignore incoming messages.
@author Sanne Grinovero
|
|
|
|
|
|
|
|
|
|
|
|