Hi Minh
Please ignore. I will send another patch.
On 16/11/18 4:16 pm, Gary Lee wrote:
On the standby, receiving events in 'End' state is not entirely unexpected,
depending
on when the checkpoint arrives from the active. We should just log a message
instead
of asserting.
2018-11-16 00:49:22.096 SC-2 osafamfd[252]: NO Node 'PL-3' not found in
failover_list. Create new entry
2018-11-16 00:49:22.097 SC-2 osafamfd[252]: NO New state '7'
2018-11-16 00:49:22.105 SC-2 osafdtmd[154]: ER recv() from node 0x2030f failed,
errno=110
2018-11-16 00:49:22.106 SC-2 osafdtmd[154]: NO Lost contact with 'PL-3'
2018-11-16 00:49:22.106 SC-2 osafimmd[196]: NO MDS event from svc_id 25
(change:4, dest:566312912814258)
2018-11-16 00:49:22.106 SC-2 osafamfd[252]: src/amf/amfd/node_state.cc:338:
MdsDown: Assertion 'false' failed.
2018-11-16 00:49:22.113 SC-2 osafamfnd[262]: ER AMFD has unexpectedly crashed.
Rebooting node
2018-11-16 00:49:22.129 SC-2 osafamfnd[262]: Rebooting OpenSAF NodeId = 131599
EE Name = , Reason: AMFD has unexpectedly crashed. Rebooting node, OwnNodeId =
131599, SupervisionTime = 60
---
src/amf/amfd/node_state.cc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/amf/amfd/node_state.cc b/src/amf/amfd/node_state.cc
index 787ddab94..0db55b1b4 100644
--- a/src/amf/amfd/node_state.cc
+++ b/src/amf/amfd/node_state.cc
@@ -327,17 +327,17 @@ End::End(NodeStateMachine *fsm) :
}
void End::TimerExpired() {
- osafassert(false);
+ LOG_NO("unexpected timer event");
}
void End::MdsUp() {
- osafassert(false);
+ LOG_NO("unexpected MDS up event");
}
void End::MdsDown() {
- osafassert(false);
+ LOG_NO("unexpected MDS down event");
}
void End::NodeUp() {
- osafassert(false);
+ LOG_NO("unexpected node up event");
}
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel