[PATCH] Update node values in cib on clean shutdown
Vladislav Bogdanov
bubble at hoster-ok.com
Mon Nov 11 05:59:17 UTC 2013
---
crmd/callbacks.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/crmd/callbacks.c b/crmd/callbacks.c
index 3dae17b..8cabffb 100644
--- a/crmd/callbacks.c
+++ b/crmd/callbacks.c
@@ -221,7 +221,9 @@ peer_update_callback(enum crm_status_type type, crm_node_t * node, const void *d
crm_trace("Other %p", down);
}
- update = do_update_node_cib(node, node_update_peer, NULL, __FUNCTION__);
+ update = do_update_node_cib(node,
+ node_update_peer | node_update_cluster | node_update_join | node_update_expected,
+ NULL, __FUNCTION__);
fsa_cib_anon_update(XML_CIB_TAG_STATUS, update,
cib_scope_local | cib_quorum_override | cib_can_create);
free_xml(update);
--
1.7.1
More information about the Pacemaker
mailing list