HomeClusterLabs Projects

High: Tools: attrd - Prevent race condition resulting in the cluster forgetting…

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

High: Tools: attrd - Prevent race condition resulting in the cluster forgetting node's wish to shut down

Multiple updates can queue up if attrd takes a long time to connect to the CIB.
Due to the way mainloop is used, network updates are applied before local ones.
If the node requests shutdown before the CIB connection is established, then the
request will be overwritten by the local node resetting any existing values
(both requests being queued).

The solution is to activate the mainloop before connecting to the CIB and
retry connections at a lower priority than updates.

Mercurial revision: a37e74151a96d6e71bbdf0ab8eef645275632546

Details

Provenance
Andrew Beekhof <andrew@beekhof.net>Authored on Jun 2 2009, 9:49 AM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.