Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 125C018A6D for ; Sun, 22 Nov 2015 16:55:56 +0000 (UTC) Received: (qmail 97485 invoked by uid 500); 22 Nov 2015 16:55:50 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 97435 invoked by uid 500); 22 Nov 2015 16:55:50 -0000 Mailing-List: contact dev-help@stratos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.apache.org Delivered-To: mailing list dev@stratos.apache.org Received: (qmail 97425 invoked by uid 99); 22 Nov 2015 16:55:50 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Nov 2015 16:55:50 +0000 Received: from mail-yk0-f182.google.com (mail-yk0-f182.google.com [209.85.160.182]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 731951A023C for ; Sun, 22 Nov 2015 16:55:50 +0000 (UTC) Received: by ykdv3 with SMTP id v3so215645700ykd.0 for ; Sun, 22 Nov 2015 08:55:49 -0800 (PST) X-Received: by 10.129.157.67 with SMTP id u64mr7270008ywg.1.1448211349689; Sun, 22 Nov 2015 08:55:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.13.236.214 with HTTP; Sun, 22 Nov 2015 08:55:30 -0800 (PST) In-Reply-To: References: From: Imesh Gunaratne Date: Sun, 22 Nov 2015 22:25:30 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Initialized or Suspended state members are not tracked by stratos on restart To: dev Content-Type: multipart/alternative; boundary=94eb2c0b92980edf79052523fb5b --94eb2c0b92980edf79052523fb5b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Great work Raj!! Can you please share the commit revision? Thanks On Thu, Nov 19, 2015 at 5:50 PM, Isuru Haththotuwa wrote: > Good work Raj! > > On Thu, Nov 19, 2015 at 5:11 PM, Rajkumar Rajaratnam > 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 >> > 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.s= tratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/context/clust= er/ClusterContext.java#L343-L419 >>>>> >>>>> Thanks, >>>>> Raj. >>>>> >>>>> -- >>>>> Rajkumar Rajaratnam >>>>> Committer & PMC Member, Apache Stratos >>>>> Software Engineer, WSO2 >>>>> =E2=80=8B=E2=80=8B >>>>> >>>>> 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 * * >> >> >> * * >> >> >> --=20 Imesh Gunaratne Senior Technical Lead, WSO2 Committer & PMC Member, Apache Stratos --94eb2c0b92980edf79052523fb5b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Great work Raj!! Can you please share the commit revision?=

Thanks

On Thu, Nov 19, 2015 at 5:50 PM, Isuru Haththotuwa <i= suruh@apache.org> wrote:
Good work Raj!

On Thu, Nov 19, 2015 at 5:11 P= M, Rajkumar Rajaratnam <rajkumarr@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, Aki= la 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 on= ly for Initialized state.

On Thu, Nov 19, 2015 at 4:21 PM, Rajkuma= r Rajaratnam <rajkumarr@wso2.com> wrote:
Hi Devs,

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

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

Than= ks,
Raj.
=

--
=
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2
=E2=80= =8B=E2=80=8B

Mobile : +94777568639
=



--
<= div>
Rajkumar Rajaratnam
=
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

= Blog : rajkumarr.com



<= /div>--
Akila Ravihansa Perera
WSO2 Inc.;=C2=A0=C2=A0http://wso2.com/

Blog: http://ravihansa3000.blogspot.c= om



--
<= span style=3D"color:rgb(102,102,102)">Ra= jkumar Rajaratnam
Committer & PMC Member, Ap= ache Stratos
Software Engineer, WSO2

Mobile : +94777568639



--
Imesh Gunaratne=

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos
--94eb2c0b92980edf79052523fb5b--