When using the restart operation e.g. on a non sa aware component the termination is made using the cleanup command instead of the terminate command. The reason is because the FAILED flag is set in avnd_err_rcvr_comp_restart before the fsm is called. It looks like this causes avnd_comp_clc_inst_restart_hdler to always do cleanup.
Using "hg annotate" and the repo history I found out that this probably worked correctly between changeset and 791 and 1051. The last change broke it.
Diff:
changeset: 4324:a394e737701d
branch: opensaf-4.2.x
parent: 4320:746c76041302
user: Hans Feldt osafdevel@gmail.com
date: Fri May 17 17:32:37 2013 +0200
summary: amfnd: fix admin comp restart to terminate [#7]
changeset: 4325:00127377a983
branch: opensaf-4.3.x
parent: 4323:ff2940708f4c
user: Hans Feldt osafdevel@gmail.com
date: Fri May 17 17:32:37 2013 +0200
summary: amfnd: fix admin comp restart to terminate [#7]
changeset: 4326:e527a17ffbe5
tag: tip
parent: 4322:7e6d141c36db
user: Hans Feldt osafdevel@gmail.com
date: Fri May 17 17:32:37 2013 +0200
summary: amfnd: fix admin comp restart to terminate [#7]
Related
Tickets:
#7