Ack with a minor comment.

Regards, Vu

> -----Original Message-----
> From: thang.d.nguyen <[email protected]>
> Sent: Thursday, June 20, 2019 10:42 AM
> To: [email protected]; [email protected];
> [email protected]
> Cc: [email protected]; thang.d.nguyen
> <[email protected]>
> Subject: [PATCH 1/1] imm: immnd respawns if it exits during startup
[#3053]
> 
> 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) {
[Vu] Should printout a message before exiting such as. 
LOG_NO("SC absence interrupted sync of this IMMND - exiting...");
> +                             immnd_ackToNid(NCSCC_RC_FAILURE);
> +                             exit(1);
> +                     }
>                       if (cb->mIsCoord) {
>                               cb->mIsCoord = false;
> 
> --
> 2.7.4




_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to