Hi Imesh,

I noticed that ComponentActivationEventListener's registered in AutoScaler
and CloudController components are waiting for StratosManager component to
be activated to schedule synchronization tasks [1, 2]. Is this the expected
behavior?

>From what I understood, synchronization tasks related to each component
should be started once the corresponding component is activated. There is
no need to wait for SM to be activated. Am I missing something?

[1]
https://github.com/apache/stratos/blob/stratos-4.1.x/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/internal/CloudControllerServiceComponent.java#L179

[2]
https://github.com/apache/stratos/blob/stratos-4.1.x/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/internal/AutoscalerServiceComponent.java#L233

Thanks.

-- 
Akila Ravihansa Perera
WSO2 Inc.;  http://wso2.com/

Blog: http://ravihansa3000.blogspot.com

Reply via email to