Doing upgrade resource usualy configure section of the main service will execute but in the following scenario it will execute subservice configure section also.
Settings variable mapped with Resources can mapped to a subservice settings variable using value of settings this case mainservice,subservice configure section will execute. if subservice has 2 entries configuresubservice will execute 2 times
For Example:
in the Resource tab Resources is my_plan
mainservice settings variable- mainsettings_plan
Subservice settings variable-subsettings_plan
my_plan—->Mapped using limiting settings–> mainsettings_plan
mainsettings_plan—Mapped using value of settings–>subsettings_plan
Below case subservice configure will not execute.it will execute only main service configure section
if you create one more settings variable in the mainservice(newsettingsvalue).
store the mainsettings_plan value to newsettingsvalue
newsettingsvalue—Mapped using value of settings–>subsettings_plan —