> > cpg_mcast_joined sends messages asynchrounous. Is there a way to wait > > until the message is delivered to the local callback? Or do I need to > > implement my own message numbering scheme to detect when a message > > arrives? > > > > What I recommend here is to place your local node id in the message > contents (retrieved via cpg_local_get) and then compare that nodeid to > incoming messages. If it is from yourself, you may decide to take some > special actions in that case. > > > And, if I send a message with 'cpg_mcast_joined', is there any > guarantee > > that this message arrives at the local node callback? In other words, > > can I trust that I receive messages sent by myself? If so, is there a > > timing constraint (something like, messages sent will arrive within > 10 > > second at the local node)? > > > > If a node sends a message, it will always self-deliver (or fail) in a > timely fashion. The only way the message won't be delivered is if the > local node fails. > > You are also guaranteed it will be delivered to all nodes that were a) > part of previous regular configuration _and_ b) members of new regular > configuration.
OK, many thanks. - Dietmar _______________________________________________ Openais mailing list Openais@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/openais