#944 smf: update campaign state before restoring pbe

4.4.1
fixed
None
defect
smf
d
4.4.0
minor
2014-08-25
2014-06-23
No

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!)

Related

Tickets: #944
Wiki: ChangeLog-4.4.1

Discussion

  • Mathi Naickan

    Mathi Naickan - 2014-06-23
    • status: assigned --> review
     
  • Ingvar Bergström

    • status: review --> fixed
     
  • Ingvar Bergström

    changeset: 5643:1930e5124320
    branch: opensaf-4.4.x
    user: Ingvar Bergstrom ingvar.bergstrom@ericsson.com
    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 ingvar.bergstrom@ericsson.com
    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 ingvar.bergstrom@ericsson.com
    date: Wed Aug 20 11:22:00 2014 +0200
    summary: smf: pbe is restored before campaign state is updated [#944]

     

    Related

    Tickets: #944


Log in to post a comment.