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

changeset:   5643:1930e5124320
branch:      opensaf-4.4.x
user:        Ingvar Bergstrom <[email protected]>
date:        Wed Aug 20 11:22:00 2014 +0200
summary:     smf: pbe is restored before campaign state is updated [#944]

changeset:   5644:2c22e7f0b61a
branch:      opensaf-4.5.x
parent:      5639:6f91a7303ffa
user:        Ingvar Bergstrom <[email protected]>
date:        Wed Aug 20 11:22:00 2014 +0200
summary:     smf: pbe is restored before campaign state is updated [#944]

changeset:   5645:b2deabbc3d61
tag:         tip
parent:      5640:519dded451af
user:        Ingvar Bergstrom <[email protected]>
date:        Wed Aug 20 11:22:00 2014 +0200
summary:     smf: pbe is restored before campaign state is updated [#944]




---

** [tickets:#944] smf: update campaign state before restoring pbe**

**Status:** fixed
**Milestone:** 4.4.1
**Created:** Mon Jun 23, 2014 10:01 AM UTC by Mathi Naickan
**Last Updated:** Wed Aug 13, 2014 04:09 AM UTC
**Owner:** Mathi Naickan

By way of ticket #677 we restore the pbe in the campaign completed state 
itself. 
i.e. 
In SmfCampStateExecuting::executeWrapup()
{

a) we first restore the pbe 
i.e. i_camp->restorePbe();

b) And, then subsequently update the campaign state, 
i.e. changeState(i_camp, SmfCampStateExecCompleted::instance());

}

However, it is possible that when the pbe is restored, the pbe could take more 
time (than the immutil wait time) to become functionally ready. And in such 
sitautions, the updation to the campaign state will not succeed until the PBE 
is really ready. 

This ticket suggests that we first update the campaign and subsequently restore 
pbe(and thereby also avoid any problems with management applications on top of 
OpenSAF that wait for the campaign state to be updated!)


---

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.
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to