Github user ravihansa3000 commented on a diff in the pull request:

    https://github.com/apache/stratos/pull/487#discussion_r44256306
  
    --- Diff: 
components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/internal/AutoscalerServiceComponent.java
 ---
    @@ -230,7 +230,7 @@ private void executeCoordinatorTasks() throws 
InvalidPolicyException,
                 componentStartUpSynchronizer.addEventListener(new 
ComponentActivationEventListener() {
                     @Override
                     public void activated(Component component) {
    -                    if (component == Component.StratosManager) {
    +                    if (component == Component.Autoscaler) {
    --- End diff --
    
    I believe we had this waiting logic in CC and AS until SM is activated to 
schedule sync tasks since SM was waiting for complete topology and complete 
application model. With this optimization that is not needed anymore. Or am I 
missing something?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to