You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Rajkumar Rajaratnam <ra...@wso2.com> on 2015/11/19 11:51:34 UTC

Initialized or Suspended state members are not tracked by stratos on restart

Hi Devs,

If you shutdown Stratos with members in Initialized or Suspended states,
then it won't load those instances from topology on stratos restart. Refer
the source code [1].

[1]
https://github.com/apache/stratos/blob/master/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/ClusterContext.java#L343-L419

Thanks,
Raj.

-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2
​​

Mobile : +94777568639
Blog : rajkumarr.com

Re: Initialized or Suspended state members are not tracked by stratos on restart

Posted by Rajkumar Rajaratnam <ra...@wso2.com>.
Hi Imesh,

It is bf4335b1ef60b4ea596ee3b14960deac5a8e55fe. I have mentioned it in the
JIRA, STRATOS-1625.

Thanks.


On Sun, Nov 22, 2015 at 10:25 PM, Imesh Gunaratne <im...@apache.org> wrote:

> Great work Raj!! Can you please share the commit revision?
>
> Thanks
>
> On Thu, Nov 19, 2015 at 5:50 PM, Isuru Haththotuwa <is...@apache.org>
> wrote:
>
>> Good work Raj!
>>
>> On Thu, Nov 19, 2015 at 5:11 PM, Rajkumar Rajaratnam <ra...@wso2.com>
>> wrote:
>>
>>> This is fixed and available in 4.1.x branch. Relevant JIRA is
>>> STRATOS-1625.
>>>
>>> Thanks,
>>> Raj.
>>>
>>> On Thu, Nov 19, 2015 at 5:01 PM, Akila Ravihansa Perera <
>>> ravihansa@wso2.com> wrote:
>>>
>>>> Nice catch Raj!
>>>>
>>>> Stratos restart issue got resolved with this.
>>>>
>>>> On Thu, Nov 19, 2015 at 4:27 PM, Rajkumar Rajaratnam <
>>>> rajkumarr@wso2.com> wrote:
>>>>
>>>>> Issue is there only for Initialized state.
>>>>>
>>>>> On Thu, Nov 19, 2015 at 4:21 PM, Rajkumar Rajaratnam <
>>>>> rajkumarr@wso2.com> wrote:
>>>>>
>>>>>> Hi Devs,
>>>>>>
>>>>>> If you shutdown Stratos with members in Initialized or Suspended
>>>>>> states, then it won't load those instances from topology on stratos
>>>>>> restart. Refer the source code [1].
>>>>>>
>>>>>> [1]
>>>>>> https://github.com/apache/stratos/blob/master/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/ClusterContext.java#L343-L419
>>>>>>
>>>>>> Thanks,
>>>>>> Raj.
>>>>>>
>>>>>> --
>>>>>> Rajkumar Rajaratnam
>>>>>> Committer & PMC Member, Apache Stratos
>>>>>> Software Engineer, WSO2
>>>>>> ​​
>>>>>>
>>>>>> Mobile : +94777568639
>>>>>> Blog : rajkumarr.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Rajkumar Rajaratnam
>>>>> Committer & PMC Member, Apache Stratos
>>>>> Software Engineer, WSO2
>>>>>
>>>>> Mobile : +94777568639
>>>>> Blog : rajkumarr.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Akila Ravihansa Perera
>>>> WSO2 Inc.;  http://wso2.com/
>>>>
>>>> Blog: http://ravihansa3000.blogspot.com
>>>>
>>>
>>>
>>>
>>> --
>>> Rajkumar Rajaratnam
>>> Committer & PMC Member, Apache Stratos
>>> Software Engineer, WSO2
>>>
>>> Mobile : +94777568639
>>> Blog : rajkumarr.com
>>>
>>> --
>>> <http://rajkumarr.com>
>>> <http://rajkumarr.com>
>>> Thanks and Regards,
>>>
>>> Isuru H.
>>> <http://rajkumarr.com>
>>> +94 716 358 048 <http://rajkumarr.com>* <http://wso2.com/>*
>>>
>>>
>>> * <http://wso2.com/>*
>>>
>>>
>>>
>
>
> --
> Imesh Gunaratne
>
> Senior Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mobile : +94777568639
Blog : rajkumarr.com

Re: Initialized or Suspended state members are not tracked by stratos on restart

Posted by Imesh Gunaratne <im...@apache.org>.
Great work Raj!! Can you please share the commit revision?

Thanks

On Thu, Nov 19, 2015 at 5:50 PM, Isuru Haththotuwa <is...@apache.org>
wrote:

> Good work Raj!
>
> On Thu, Nov 19, 2015 at 5:11 PM, Rajkumar Rajaratnam <ra...@wso2.com>
> wrote:
>
>> This is fixed and available in 4.1.x branch. Relevant JIRA is
>> STRATOS-1625.
>>
>> Thanks,
>> Raj.
>>
>> On Thu, Nov 19, 2015 at 5:01 PM, Akila Ravihansa Perera <
>> ravihansa@wso2.com> wrote:
>>
>>> Nice catch Raj!
>>>
>>> Stratos restart issue got resolved with this.
>>>
>>> On Thu, Nov 19, 2015 at 4:27 PM, Rajkumar Rajaratnam <rajkumarr@wso2.com
>>> > wrote:
>>>
>>>> Issue is there only for Initialized state.
>>>>
>>>> On Thu, Nov 19, 2015 at 4:21 PM, Rajkumar Rajaratnam <
>>>> rajkumarr@wso2.com> wrote:
>>>>
>>>>> Hi Devs,
>>>>>
>>>>> If you shutdown Stratos with members in Initialized or Suspended
>>>>> states, then it won't load those instances from topology on stratos
>>>>> restart. Refer the source code [1].
>>>>>
>>>>> [1]
>>>>> https://github.com/apache/stratos/blob/master/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/ClusterContext.java#L343-L419
>>>>>
>>>>> Thanks,
>>>>> Raj.
>>>>>
>>>>> --
>>>>> Rajkumar Rajaratnam
>>>>> Committer & PMC Member, Apache Stratos
>>>>> Software Engineer, WSO2
>>>>> ​​
>>>>>
>>>>> Mobile : +94777568639
>>>>> Blog : rajkumarr.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Rajkumar Rajaratnam
>>>> Committer & PMC Member, Apache Stratos
>>>> Software Engineer, WSO2
>>>>
>>>> Mobile : +94777568639
>>>> Blog : rajkumarr.com
>>>>
>>>
>>>
>>>
>>> --
>>> Akila Ravihansa Perera
>>> WSO2 Inc.;  http://wso2.com/
>>>
>>> Blog: http://ravihansa3000.blogspot.com
>>>
>>
>>
>>
>> --
>> Rajkumar Rajaratnam
>> Committer & PMC Member, Apache Stratos
>> Software Engineer, WSO2
>>
>> Mobile : +94777568639
>> Blog : rajkumarr.com
>>
>> --
>> <http://rajkumarr.com>
>> <http://rajkumarr.com>
>> Thanks and Regards,
>>
>> Isuru H.
>> <http://rajkumarr.com>
>> +94 716 358 048 <http://rajkumarr.com>* <http://wso2.com/>*
>>
>>
>> * <http://wso2.com/>*
>>
>>
>>


-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: Initialized or Suspended state members are not tracked by stratos on restart

Posted by Isuru Haththotuwa <is...@apache.org>.
Good work Raj!

On Thu, Nov 19, 2015 at 5:11 PM, Rajkumar Rajaratnam <ra...@wso2.com>
wrote:

> This is fixed and available in 4.1.x branch. Relevant JIRA is STRATOS-1625.
>
> Thanks,
> Raj.
>
> On Thu, Nov 19, 2015 at 5:01 PM, Akila Ravihansa Perera <
> ravihansa@wso2.com> wrote:
>
>> Nice catch Raj!
>>
>> Stratos restart issue got resolved with this.
>>
>> On Thu, Nov 19, 2015 at 4:27 PM, Rajkumar Rajaratnam <ra...@wso2.com>
>> wrote:
>>
>>> Issue is there only for Initialized state.
>>>
>>> On Thu, Nov 19, 2015 at 4:21 PM, Rajkumar Rajaratnam <rajkumarr@wso2.com
>>> > wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> If you shutdown Stratos with members in Initialized or Suspended
>>>> states, then it won't load those instances from topology on stratos
>>>> restart. Refer the source code [1].
>>>>
>>>> [1]
>>>> https://github.com/apache/stratos/blob/master/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/ClusterContext.java#L343-L419
>>>>
>>>> Thanks,
>>>> Raj.
>>>>
>>>> --
>>>> Rajkumar Rajaratnam
>>>> Committer & PMC Member, Apache Stratos
>>>> Software Engineer, WSO2
>>>> ​​
>>>>
>>>> Mobile : +94777568639
>>>> Blog : rajkumarr.com
>>>>
>>>
>>>
>>>
>>> --
>>> Rajkumar Rajaratnam
>>> Committer & PMC Member, Apache Stratos
>>> Software Engineer, WSO2
>>>
>>> Mobile : +94777568639
>>> Blog : rajkumarr.com
>>>
>>
>>
>>
>> --
>> Akila Ravihansa Perera
>> WSO2 Inc.;  http://wso2.com/
>>
>> Blog: http://ravihansa3000.blogspot.com
>>
>
>
>
> --
> Rajkumar Rajaratnam
> Committer & PMC Member, Apache Stratos
> Software Engineer, WSO2
>
> Mobile : +94777568639
> Blog : rajkumarr.com
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* <http://wso2.com/>*
>
>
> * <http://wso2.com/>*
>
>
>

Re: Initialized or Suspended state members are not tracked by stratos on restart

Posted by Rajkumar Rajaratnam <ra...@wso2.com>.
This is fixed and available in 4.1.x branch. Relevant JIRA is STRATOS-1625.

Thanks,
Raj.

On Thu, Nov 19, 2015 at 5:01 PM, Akila Ravihansa Perera <ra...@wso2.com>
wrote:

> Nice catch Raj!
>
> Stratos restart issue got resolved with this.
>
> On Thu, Nov 19, 2015 at 4:27 PM, Rajkumar Rajaratnam <ra...@wso2.com>
> wrote:
>
>> Issue is there only for Initialized state.
>>
>> On Thu, Nov 19, 2015 at 4:21 PM, Rajkumar Rajaratnam <ra...@wso2.com>
>> wrote:
>>
>>> Hi Devs,
>>>
>>> If you shutdown Stratos with members in Initialized or Suspended states,
>>> then it won't load those instances from topology on stratos restart. Refer
>>> the source code [1].
>>>
>>> [1]
>>> https://github.com/apache/stratos/blob/master/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/ClusterContext.java#L343-L419
>>>
>>> Thanks,
>>> Raj.
>>>
>>> --
>>> Rajkumar Rajaratnam
>>> Committer & PMC Member, Apache Stratos
>>> Software Engineer, WSO2
>>> ​​
>>>
>>> Mobile : +94777568639
>>> Blog : rajkumarr.com
>>>
>>
>>
>>
>> --
>> Rajkumar Rajaratnam
>> Committer & PMC Member, Apache Stratos
>> Software Engineer, WSO2
>>
>> Mobile : +94777568639
>> Blog : rajkumarr.com
>>
>
>
>
> --
> Akila Ravihansa Perera
> WSO2 Inc.;  http://wso2.com/
>
> Blog: http://ravihansa3000.blogspot.com
>



-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mobile : +94777568639
Blog : rajkumarr.com

Re: Initialized or Suspended state members are not tracked by stratos on restart

Posted by Akila Ravihansa Perera <ra...@wso2.com>.
Nice catch Raj!

Stratos restart issue got resolved with this.

On Thu, Nov 19, 2015 at 4:27 PM, Rajkumar Rajaratnam <ra...@wso2.com>
wrote:

> Issue is there only for Initialized state.
>
> On Thu, Nov 19, 2015 at 4:21 PM, Rajkumar Rajaratnam <ra...@wso2.com>
> wrote:
>
>> Hi Devs,
>>
>> If you shutdown Stratos with members in Initialized or Suspended states,
>> then it won't load those instances from topology on stratos restart. Refer
>> the source code [1].
>>
>> [1]
>> https://github.com/apache/stratos/blob/master/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/ClusterContext.java#L343-L419
>>
>> Thanks,
>> Raj.
>>
>> --
>> Rajkumar Rajaratnam
>> Committer & PMC Member, Apache Stratos
>> Software Engineer, WSO2
>> ​​
>>
>> Mobile : +94777568639
>> Blog : rajkumarr.com
>>
>
>
>
> --
> Rajkumar Rajaratnam
> Committer & PMC Member, Apache Stratos
> Software Engineer, WSO2
>
> Mobile : +94777568639
> Blog : rajkumarr.com
>



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

Blog: http://ravihansa3000.blogspot.com

Re: Initialized or Suspended state members are not tracked by stratos on restart

Posted by Rajkumar Rajaratnam <ra...@wso2.com>.
Issue is there only for Initialized state.

On Thu, Nov 19, 2015 at 4:21 PM, Rajkumar Rajaratnam <ra...@wso2.com>
wrote:

> Hi Devs,
>
> If you shutdown Stratos with members in Initialized or Suspended states,
> then it won't load those instances from topology on stratos restart. Refer
> the source code [1].
>
> [1]
> https://github.com/apache/stratos/blob/master/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/cluster/ClusterContext.java#L343-L419
>
> Thanks,
> Raj.
>
> --
> Rajkumar Rajaratnam
> Committer & PMC Member, Apache Stratos
> Software Engineer, WSO2
> ​​
>
> Mobile : +94777568639
> Blog : rajkumarr.com
>



-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mobile : +94777568639
Blog : rajkumarr.com