---

** [tickets:#2950] clmd: crash after split brain event**

**Status:** accepted
**Milestone:** 5.18.12
**Created:** Tue Oct 30, 2018 11:21 AM UTC by Gary Lee
**Last Updated:** Tue Oct 30, 2018 11:21 AM UTC
**Owner:** nobody


After applying  [#2935] so that one SC is kept up after a split brain, clmd 
sometimes crashes:

~~~
2018-10-30 22:04:38.926 SC-1 osafimmnd[211]: NO SERVER STATE: 
IMM_SERVER_SYNC_SERVER --> IMM_SERVER_READY
2018-10-30 22:04:38.926 SC-1 osafimmpbed: NO Update epoch 4 committing with 
ccbId:10000002a/4294967338
2018-10-30 22:04:39.699 SC-1 osafclmd[275]: ER saImmOiImplementerSet failed rc: 
6, exiting
2018-10-30 22:04:39.701 SC-1 osafamfnd[304]: ER 
safComp=CLM,safSu=SC-1,safSg=2N,safApp=OpenSAF Faulted due to:avaDown Recovery 
is:nodeFailfast
2018-10-30 22:04:39.701 SC-1 osafamfnd[304]: Rebooting OpenSAF NodeId = 131343 
EE Name = , Reason: Component faulted: recovery is node failfast, OwnNodeId = 
131343, SupervisionTime = 60
~~~

Increasing the waiting time appears to fix the issue.

~~~
diff --git a/src/clm/clmd/clms_imm.cc b/src/clm/clmd/clms_imm.cc
index 017607d..cea4755 100644
--- a/src/clm/clmd/clms_imm.cc
+++ b/src/clm/clmd/clms_imm.cc
@@ -42,7 +42,7 @@ static uint32_t clms_lock_send_no_start_cbk(CLMS_CLUSTER_NODE 
*nodeop);
 static const SaVersionT immVersion = {'A', 2, 1};
 
 const unsigned int sleep_delay_ms = 500;
-const unsigned int max_waiting_time_ms = 60 * 1000; /* 60 seconds */
+const unsigned int max_waiting_time_ms = 180 * 1000; /* 60 seconds */
 
 /**
  * Initialize the track response patricia tree for the node
~~~



---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to