Check FEVS counter to avoid unnecessary IMMND restart to sync
with Coord after headless
---
src/imm/immnd/immnd_evt.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/imm/immnd/immnd_evt.c b/src/imm/immnd/immnd_evt.c
index 670823a45..dfef6c0a5 100644
--- a/src/imm/immnd/immnd_evt.c
+++ b/src/imm/immnd/immnd_evt.c
@@ -10542,8 +10542,10 @@ static uint32_t immnd_evt_proc_intro_rsp(IMMND_CB *cb,
IMMND_EVT *evt,
oldCanBeCoord);
}
if ((cb->mIntroduced == 2) && (!evt->info.ctrl.isCoord)) {
- LOG_WA("Restart to sync with Coord! Exit");
- exit(EXIT_SUCCESS);
+ if (evt->info.ctrl.fevsMsgStart != cb->highestReceived)
{
+ LOG_WA("Restart to sync with Coord! Exit");
+ exit(EXIT_SUCCESS);
+ }
}
cb->mIntroduced = 1;
cb->mCanBeCoord = evt->info.ctrl.canBeCoord;
--
2.25.1
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel