- **status**: review --> fixed
- **Comment**:

changeset:   8398:bc37759532ea
branch:      opensaf-5.0.x
parent:      8384:441994664aec
user:        Neelakanta Reddy <reddy.neelaka...@oracle.com>
date:        Thu Dec 01 16:36:33 2016 +0530
summary:     smf: Avoid unconditional sleep when calling adminoperation[#2211]

changeset:   8399:c493dfa77eab
branch:      opensaf-5.1.x
parent:      8396:7c92427bfd93
user:        Neelakanta Reddy <reddy.neelaka...@oracle.com>
date:        Thu Dec 01 16:36:33 2016 +0530
summary:     smf: Avoid unconditional sleep when calling adminoperation[#2211]

changeset:   8400:8fa2efee5365
tag:         tip
parent:      8397:21094b948d29
user:        Neelakanta Reddy <reddy.neelaka...@oracle.com>
date:        Thu Dec 01 16:36:33 2016 +0530
summary:     smf: Avoid unconditional sleep when calling adminoperation[#2211]




---

** [tickets:#2211] SMF: Unnecessary sleep during callAdminOperation causes too 
much traffic outage during upgrade**

**Status:** fixed
**Milestone:** 5.2.FC
**Created:** Wed Nov 30, 2016 06:17 AM UTC by Tai Dinh
**Last Updated:** Wed Nov 30, 2016 07:53 AM UTC
**Owner:** Neelakanta Reddy
**Attachments:**

- 
[smfd_unnecessary_sleep.patch](https://sourceforge.net/p/opensaf/tickets/2211/attachment/smfd_unnecessary_sleep.patch)
 (1.1 kB; application/octet-stream)


SmfImmUtils::callAdminOperation currently has a 2 seconds sleep at the end of 
each admin operation.
The initial purpose of this is to provdie a short breath for the system before 
retrying again on the failure case.

But unconditional sleep also slowdown the function call lead to longer time for 
the service to be up.

In case of single step campaign, where the service is only activated at 
procWrapup action, if we have about 300 SUs then we'll have more 20 minutes 
servcie outage which is not acceptable.

Sleep should only be done at retry.

See attached patch for more information.


---

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.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to