By way of ticket #677 we restore the pbe in the campaign completed state itself.
a) we first restore the pbe
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!)
Log in to post a comment.