During node starts up phrase, which AMFD has not been come up,
there is a case IMMND exit without informing failure result
to NID (refer to the ticket to see syslog). As the result,
IMMND may not be respawned by NID process.

This patch ensures that NID is informed before exit.
---
 src/imm/immnd/immnd_evt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/imm/immnd/immnd_evt.c b/src/imm/immnd/immnd_evt.c
index 8f3af92..2b9123d 100644
--- a/src/imm/immnd/immnd_evt.c
+++ b/src/imm/immnd/immnd_evt.c
@@ -10779,6 +10779,7 @@ static uint32_t immnd_evt_proc_fevs_rcv(IMMND_CB *cb, 
IMMND_EVT *evt,
                        LOG_ER(
                            "MESSAGE:%llu OUT OF ORDER my highest 
processed:%llu - exiting",
                            msgNo, cb->highestProcessed);
+                       immnd_ackToNid(NCSCC_RC_FAILURE);
                        exit(1);
                } else if (cb
                               ->mSync) { /* If we receive out of sync message
-- 
1.9.1


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to