Hi Martin, Thanks for bringing this up. I have fixed some issue in the flow while testing application update support with instances count. I will go through your scenarios to reproduce it and update the thread with the progress..
Thanks, Reka On Tue, Apr 28, 2015 at 7:08 AM, Martin Eppel (meppel) <mep...@cisco.com> wrote: > I am testing a (nested grouping) scenario where a group defines a > termination behavior “terminate-all”. When terminating the instance (of > cartridge type c3), no new instance is restarted. > > My understanding is that a new instance should be started up. > > > > The scenario looks like this: > > > > Group ~G1 has a cartridge member c1 and group member ~G2 > > Group ~G2 has a cartridge member c2 and group member ~G3 > > Group ~G3 has a cartridge member c3 > > > > Startup dependencies are: c1 depends on G2, c2 depends on G3 > > > > ~G1 defines termination: none > > ~G2 defines termination: dependents > > ~G3 defines termination: all > > > > After startup, when all instances are active, instance c3 is terminated > which correctly also terminates also instance c2 (since it depends on G3 / > c3) . > > *Issue 1:* > > However, no new instances for c3 is started up (consequently no new > instance for c2 should be started up as well) (see log see log > wso2carbon.log) > > > > Only instance which remains running is c1. > > *Issue 2:* > > When subsequently c1 is manually being terminated, a new instance of c1 is > started up (as opposed to Issue1) which I think is incorrect since it > defines a startup dependency (c1 depends on G2) which is not fulfilled at > the time (G2 should not be active since c2 is still terminated, see log > wso2carbon-issue2.log, same log as wso2carbon.log but at a later time) > > > > WDYT ? > > > > Please find attached artifacts and logs > > > > Thanks > > > > Martin > -- Reka Thirunavukkarasu Senior Software Engineer, WSO2, Inc.:http://wso2.com, Mobile: +94776442007