HomeClusterLabs Projects

ipcs: allow connections only after all services are ready

Description

ipcs: allow connections only after all services are ready

this fixes a rather annoying race condition at startup where a client
connects to corosync "too fast" before the service is ready to operate
and client gets some random data during initialization phase.

With this fix, we allow connections to ipc only after the main engine
is operational and configured (and after the first totem transition).

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Angus Salkeld <asalkeld@redhat.com>

Details

Provenance
fabbioneAuthored on Apr 16 2012, 7:39 AM
Parents
rCf89d7b715f72: Always allocate totemrrp stats array
Branches
Unknown
Tags
Unknown

Event Timeline