File pacemaker-crmd-clear-remote-node-operation-when-comes-up.patch of Package pacemaker.3577
commit 29cbb5d0165397be01a8f54147d2e147d83a5798
Author: Ken Gaillot <kgaillot@redhat.com>
Date: Fri Aug 5 16:49:30 2016 -0500
Fix: crmd: clear remote node operation history only when it comes up
Index: pacemaker/crmd/remote_lrmd_ra.c
===================================================================
--- pacemaker.orig/crmd/remote_lrmd_ra.c
+++ pacemaker/crmd/remote_lrmd_ra.c
@@ -508,7 +508,6 @@ handle_remote_ra_stop(lrm_state_t * lrm_
update_attrd_remote_node_removed(lrm_state->node_name, NULL);
/* Purge node's operation history and transient attributes from CIB */
- erase_status_tag(lrm_state->node_name, XML_CIB_TAG_LRM, call_opt);
erase_status_tag(lrm_state->node_name, XML_TAG_TRANSIENT_NODEATTRS, call_opt);
/* delete pending ops when ever the remote connection is intentionally stopped */