Liviu Ioan
unread,Jun 4, 2024, 7:07:26 AM6/4/24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jgroups-dev
Hello,
We are using Jgroups 3.6.20.
We need some help in understanding if we really need to add BARRIER in our main jgroups config file.
Quote from the JGroups 3.x docs:
"BARRIER is used by some of the state transfer protocols, as it lets existing threads complete and blocks new threads to get both the digest and state in one go.
In 3.1, a new mechanism for state transfer will be implemented, eliminating the need for BARRIER. Until then, BARRIER should be used when one of the state transfer protocols is used. BARRIER is part of every default stack which contains a state transfer protocol."
Q1: When is the BARRIER protocol being used? Is the BARRIER protocol used internally by jgroups or should the custom "state transfer" code explicitly make use of the BARRIER protocol API?
Q2: Can we remove the BARRIER protocol from the main config file (because it is not being used anymore)?
Thank you.
Liviu