How to Rediscover members of a TCP group using TCPPING or any other Discovery protocols
-
19-04-2021 - |
Question
How can I rediscover members of a group by its cluster-name? I am using JGroups 2.7.0 In a particular situation, members are isolated and are not connected (network failure) and when the network is back up, I would like to know all other members so they are in the same group again.
Thanks in advance.
Solution
When the connection to the network is established, trigger FIND_INITIAL_MEMBERS event up in the stack using MERGE2 protocol of the stack and that will merge all the isolated members together.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow