USECASE:
Configure saAmfSGCompRestartMax=4, saAmfSGCompRestartProb=10000000000
- Kill component 4 times
- Wait for the saAmfSGCompRestartProb expires
- Kill component 1 time
- Unload model
- Reload the same model and configuration
- Kill component 5 times.
At the 5th of killing component, the ComponentRestart happens instead of the SuRestart as it should be.
This is because at the first killing after reloading model, the avnd_evt_tmr_su_err_esc_evh comes and
reset all counter. This timer event has been started at the time of "Kill component 1 time" before unloading
model.
This kind of probation timers should be stopped when unloading the model.
changeset: 5335:3263d087ba49
branch: opensaf-4.3.x
parent: 5332:0fc4ec30f43a
user: Gary Leegary.lee@dektech.com.au
date: Mon Jun 02 11:35:07 2014 +0530
summary: avnd: stop running timers when su is locked-in [#831]
changeset: 5336:eefd173c4011
branch: opensaf-4.4.x
parent: 5333:8c5a5d5091bc
user: Gary Leegary.lee@dektech.com.au
date: Mon Jun 02 11:35:56 2014 +0530
summary: amfnd: stop running timers when su is locked-in [#831]
changeset: 5337:c2b430f58651
tag: tip
parent: 5334:7b2fdcb9d694
user: Gary Leegary.lee@dektech.com.au
date: Mon Jun 02 11:36:23 2014 +0530
summary: amfnd: stop running timers when su is locked-in [#831]
[staging:3263d0]
[staging:eefd17]
[staging:c2b430]
Related
Tickets:
#831