- **status**: assigned --> review


---

** [tickets:#2436] amfnd: Buffered messages are unexpectedly deleted during SC 
Absence period**

**Status:** review
**Milestone:** 5.17.06
**Created:** Mon Apr 24, 2017 10:58 AM UTC by Minh Hon Chau
**Last Updated:** Mon Apr 24, 2017 10:58 AM UTC
**Owner:** Minh Hon Chau


Stop both SCs so that cluster goes into headless. Trigger a su failover, so 
su_oper message is buffered and supposedly will be sent to active amfd when SC 
comes back. However, if cluster is waiting up to 3 mins, which is exactly the 
MDS_AWAIT_ACTIVE_TMR_VAL timeout, amfnd will receive another NCSMDS_DOWN. At 
this time, amfnd will delete all pending messages, which causes the headless 
recovery impossible.

Some outline logs:
~~~
Apr 18 16:49:09.749428 osafamfnd 
[10775:10775:../../opensaf/src/amf/amfnd/di.cc:0603] >> avnd_evt_mds_avd_dn_evh 
Apr 18 16:49:09.750094 osafamfnd 
[10775:10775:../../opensaf/src/amf/amfnd/di.cc:0618] WA AMF director 
unexpectedly crashed
Apr 18 16:49:09.750103 osafamfnd 
[10775:10775:../../opensaf/src/amf/amfnd/di.cc:0662] TR Delete all pending 
messages to be sent to AMFD

Apr 18 16:49:09.796138 osafamfnd 
[10775:10775:../../opensaf/src/amf/amfnd/di.cc:0756] NO avnd_di_oper_send() 
deferred as AMF director is offline(1), or sync is required(1)

Apr 18 16:49:09.797440 osafamfnd 
[10775:10775:../../opensaf/src/amf/amfnd/di.cc:0756] NO avnd_di_oper_send() 
deferred as AMF director is offline(1), or sync is required(1)

Apr 18 16:52:09.825457 osafamfnd 
[10775:10775:../../opensaf/src/amf/amfnd/di.cc:0603] >> avnd_evt_mds_avd_dn_evh 
Apr 18 16:52:09.825489 osafamfnd 
[10775:10775:../../opensaf/src/amf/amfnd/di.cc:0618] WA AMF director 
unexpectedly crashed
Apr 18 16:52:09.825495 osafamfnd 
[10775:10775:../../opensaf/src/amf/amfnd/di.cc:0662] TR Delete all pending 
messages to be sent to AMFD
Apr 18 16:52:09.825498 osafamfnd 
[10775:10775:../../opensaf/src/amf/amfnd/di.cc:1273] >> avnd_diq_rec_del 
Apr 18 16:52:09.825505 osafamfnd 
[10775:10775:../../opensaf/src/amf/amfnd/di.cc:1290] << avnd_diq_rec_del 
Apr 18 16:52:09.825508 osafamfnd 
[10775:10775:../../opensaf/src/amf/amfnd/di.cc:1273] >> avnd_diq_rec_del 
Apr 18 16:52:09.825512 osafamfnd 
[10775:10775:../../opensaf/src/amf/amfnd/di.cc:1290] << avnd_diq_rec_del 
~~~


---

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.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to