Blob Blame History Raw
From: Andrew Beekhof <andrew@beekhof.net>
Date: Thu, 3 Sep 2015 13:27:57 +1000
Subject: [PATCH] Fix: pacemakerd: Do not forget about nodes that leave the
 cluster

(cherry picked from commit 2ac396ae6f54c9437bcf786eeccf94d4e2fdd77a)
---
 mcp/pacemaker.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mcp/pacemaker.c b/mcp/pacemaker.c
index 9c3195e..88a6a1f 100644
--- a/mcp/pacemaker.c
+++ b/mcp/pacemaker.c
@@ -1108,6 +1108,8 @@ main(int argc, char **argv)
     cluster.cpg.cpg_deliver_fn = mcp_cpg_deliver;
     cluster.cpg.cpg_confchg_fn = mcp_cpg_membership;
 
+    crm_set_autoreap(FALSE);
+
     if(cluster_connect_cpg(&cluster) == FALSE) {
         crm_err("Couldn't connect to Corosync's CPG service");
         rc = -ENOPROTOOPT;