-
Bug
-
Resolution: Done
-
Major
-
10.0.0.CR4
-
None
The attached configuration use JGroups.
I had a look at the code and I suspect the issue is located somewhere when the server1 is restarted and calls its SharedNothingLiveActivation#isNodeIdUsed().
This method returns false and the server completes its live activation instead of setting its HA policy to replicaPolicy.
Digging into the code, I looks like DiscoveryGroup#received boolean is never set to true because its corresponding JGroupsBroadcastEndpoint never receives any JGroups message.
I confirm that server2 is working at that time and does send JGroups message.
I suspect that there is a bug in the wrapping of JGroups receiver/channel/etc. in org.apache.activemq.artemis.api.core.JGroupsBroadcastEndpoint and the endpoint in DiscoveryGroup never receives the message that is actually received by JGroups in the ReceiverAdapter instantiated by JGroupsBroadcastEndpoint.JChannelWrapper#connect.
- causes
-
WFLY-5531 Messaging Failover Tests are failing intermittently
- Closed
- clones
-
JBEAP-2114 Messaging replication fails to check-for-live-server on restart
- Closed