- **status**: accepted --> review
---
** [tickets:#570] AMF: ava down event ignored in TERMINATING state**
**Status:** review
**Created:** Wed Sep 18, 2013 06:45 AM UTC by Hans Feldt
**Last Updated:** Wed Oct 16, 2013 07:39 AM UTC
**Owner:** nobody
If a component crash or exit in context of the terminate callback, AMF will not
use the "ava down" event to trigger cleanup and finish component termination.
Instead the CallbackTimeout is awaited which can be very long.
This is a problem if this happens during an upgrade, it will cause the upgrade
to fail potentially leading to system restore.
Ignoring the event (in avnd_err.c) was added in:
changeset: 1646:92e6e65eefc0
user: Nagendra Kumar <nku...@emerson.com>
date: Thu Aug 26 18:43:31 2010 +0530
summary: Ticket 1433: Allowing dynamic configuration changes for AMF
logical entities
reasons unclear. This has to be revisited. As far as I can tell there is no
"race" between the ava down event and the response message. Normally a process
calls saAmfResponse(OK) and then exit(0). saAmfResponse(OK) under the hood
sends a message and at least TIPC will do "run to completion" meaning it will
post it to the receivers (amfnd) socket receive buffer. After that the process
exit and a topology event is created and written to another socket receive
buffer (MDS lib for amfnd). Eventually the MDS thread in amfnd context will
receiver both messages and write them to amfnd mailbox with the same prio.
---
Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets