This patch delivers messages while in the commit or gather states and
checks the "encapsulated" bit of the message instead of a transient
state change such as the OPERATIONAL state.  This will result in all
messages being delivered while in these states resulting in proper
message ordering during configuration changes.

Regards
-steve
Index: totemsrp.c
===================================================================
--- totemsrp.c	(revision 1677)
+++ totemsrp.c	(working copy)
@@ -3660,7 +3692,7 @@
 	}
 
 	update_aru (instance);
-	if (instance->memb_state == MEMB_STATE_OPERATIONAL) {
+	if (mcast_header.header.encapsulated != MESSAGE_ENCAPSULATED) {
 		messages_deliver_to_app (instance, 0, instance->my_high_seq_received);
 	}
 
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to