changeset:   5766:00a8950e6888
branch:      opensaf-4.5.x
parent:      5764:ed452ef6f6d4
user:        Hans Feldt <[email protected]>
date:        Thu Sep 11 15:42:47 2014 +0200
summary:     imma: fix potential race with is_immnd_up [#1050]

changeset:   5767:e7bad9ce4537
tag:         tip
parent:      5765:d09a52b10727
user:        Hans Feldt <[email protected]>
date:        Thu Sep 11 15:42:47 2014 +0200
summary:     imma: fix potential race with is_immnd_up [#1050]



---

** [tickets:#1050] amfnd sometimes fails to start due to ERR_LIBRARY from 
saImmOmInitialize**

**Status:** review
**Milestone:** 4.5.0
**Created:** Tue Sep 09, 2014 07:08 AM UTC by Hans Feldt
**Last Updated:** Wed Sep 10, 2014 09:16 AM UTC
**Owner:** Hans Feldt

With MDS/TIPC amfnd randomly fails to start causing failed opensaf start.

osafimmnd logs the infamous "immnd_evt_proc_imm_init: ... MDS problem?"

Reason is a random timing variation of the TIPC topology DOWN event. This 
sometimes causes the DOWN event to wrongly delete a newly added process_info 
entry.

The trigger for this problem is that some IMM clients in opensaf like amfnd 
does not reuse IMM handles but initialize/finalize in a far from optimal way. 
This should also be fixed.

The solution under test consists of two parts:
1) The MDS down event just starts a timer in MDS, when the timeout event 
happens the process_info entry is deleted.

2) A new explicit disconnect() is added to the MDS API which is used by IMMA 
library when it is about to close down the whole core library.



---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to