During start up, the immnd was exited due to sync interrupted.
It should send the  error respond to nid.
---
 src/imm/immnd/immnd_evt.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/imm/immnd/immnd_evt.c b/src/imm/immnd/immnd_evt.c
index adae1e1..3bd56fe 100644
--- a/src/imm/immnd/immnd_evt.c
+++ b/src/imm/immnd/immnd_evt.c
@@ -12189,6 +12189,10 @@ static uint32_t immnd_evt_proc_mds_evt(IMMND_CB *cb, 
IMMND_EVT *evt)
                        cb->mIntroduced = 2;
                        LOG_WA("SC Absence IS allowed:%u IMMD service is DOWN",
                               cb->mScAbsenceAllowed);
+                       if (cb->mState < IMM_SERVER_SYNC_SERVER) {
+                               immnd_ackToNid(NCSCC_RC_FAILURE);
+                               exit(1);
+                       }
                        if (cb->mIsCoord) {
                                cb->mIsCoord = false;
 
-- 
2.7.4



_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to