Blame SOURCES/pacemaker-fix_crmd_prevent_recurring_monitors_being_cancelled_due_to_notify_operations.patch

ed0026
commit 589623389c1df5301d18f13b0aa06adbc88fcae2
ed0026
Author: Andrew Beekhof <andrew@beekhof.net>
ed0026
Date:   Thu Aug 1 15:42:00 2013 +1000
ed0026
ed0026
    Fix: crmd: Prevent recurring monitors being cancelled due to notify operations
ed0026
ed0026
diff --git a/crmd/lrm.c b/crmd/lrm.c
ed0026
index d6b0dd0..4bce39a 100644
ed0026
--- a/crmd/lrm.c
ed0026
+++ b/crmd/lrm.c
ed0026
@@ -1744,7 +1744,9 @@ do_lrm_rsc_op(lrm_state_t * lrm_state, lrmd_rsc_info_t * rsc, const char *operat
ed0026
     CRM_CHECK(op != NULL, return);
ed0026
 
ed0026
     /* stop any previous monitor operations before changing the resource state */
ed0026
-    if (op->interval == 0 && strcmp(operation, CRMD_ACTION_STATUS) != 0) {
ed0026
+    if (op->interval == 0
ed0026
+        && strcmp(operation, CRMD_ACTION_STATUS) != 0
ed0026
+        && strcmp(operation, CRMD_ACTION_NOTIFY) != 0) {
ed0026
         guint removed = 0;
ed0026
         struct stop_recurring_action_s data;
ed0026