Hi Martin,

Found the reason why we didn't encounter these locking issue as we were
testing with default stratos pack which has
read.write.lock.monitor.enabled=false. The locking warning or issue is
raised only when you use read.write.lock.monitor.enabled=true. That's why
you were only facing these locking issue as you use this configuration in
your setup.

Since I'm able to reproduce the issue, i will test with the fix that i
already pushed and update the thread.

We will discuss and try to make this read.write.lock.monitor.enabled=true
by default with stratos. So that we can find issues as early and fix them.

Thanks,
Reka

On Mon, Jun 22, 2015 at 12:16 AM, Reka Thirunavukkarasu <[email protected]>
wrote:

> Sorry Martin..I have only locally fixed the issue. I have pushed it now
> only. Can you test with 1c21daaeea7b27ad0a0141a70b32e9443e78e309 when you
> get chance? I will also continue testing with this fix.
>
> Thanks,
> Reka
>
> On Mon, Jun 22, 2015 at 12:07 AM, Martin Eppel (meppel) <[email protected]>
> wrote:
>
>>  Btw,
>>
>>
>>
>> This is my last commit I picked up from the stratos master:
>>
>>
>>
>> commit 58bea52be814269416f70391fef50859aa5ae0a1
>>
>> Author: lasinducharith <[email protected]>
>>
>> Date:   Fri Jun 19 19:40:27 2015 +0530
>>
>>
>>
>> *From:* Martin Eppel (meppel)
>> *Sent:* Sunday, June 21, 2015 10:28 AM
>> *To:* [email protected]; Reka Thirunavukkarasu
>> *Cc:* Lasindu Charith ([email protected]); Ryan Du Plessis (rdupless)
>> *Subject:* RE: Testing Stratos 4.1: Application undeployment:
>> application fails to undeploy (nested grouping, group scaling)
>>
>>
>>
>> Hi Reka,
>>
>>
>>
>> Here is *anothe*r example which fails, see application at [1.], attached
>> log files and jsons.  I run a few scenarios, the one which is failing is
>> application with the name “s-g-c1-c2-c3” (last scenario). All members get
>> removed but application remains deployed,
>>
>> “s-g-c1-c2-c3: applicationInstances 0, groupInstances 0, clusterInstances
>> 0, members 0 ()”
>>
>>
>>
>>
>>
>> Thanks
>>
>>
>>
>>
>>
>> Martin
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *From:* Imesh Gunaratne [mailto:[email protected] <[email protected]>]
>> *Sent:* Sunday, June 21, 2015 1:32 AM
>> *To:* Reka Thirunavukkarasu
>> *Cc:* dev; Lasindu Charith ([email protected]); Ryan Du Plessis (rdupless)
>> *Subject:* Re: Testing Stratos 4.1: Application undeployment:
>> application fails to undeploy (nested grouping, group scaling)
>>
>>
>>
>> Great! Thanks Reka!
>>
>>
>>
>> On Sun, Jun 21, 2015 at 8:34 AM, Reka Thirunavukkarasu <[email protected]>
>> wrote:
>>
>> Hi Martin/Imesh,
>>
>> Sure..I will have a look on the logs. I will also go through the recent
>> commits and try to revert the fix which added for nested group scaling as
>> it is not needed for this release.  As Martin mentioned that after the
>> fixes, there are more issues. Otherwise, we will have to go through another
>> major effort in testing it.
>>
>> I will update the progress of it...
>>
>>
>>
>> Thanks,
>>
>> Reka
>>
>>
>>
>> On Sun, Jun 21, 2015 at 8:14 AM, Imesh Gunaratne <[email protected]>
>> wrote:
>>
>> Hi Martin,
>>
>>
>>
>> Thanks for the quick response. Yes we will definitely go through the logs
>> and investigate this.
>>
>>
>>
>> Thanks
>>
>>
>>
>> On Sun, Jun 21, 2015 at 8:09 AM, Martin Eppel (meppel) <[email protected]>
>> wrote:
>>
>> Hi Isuru,
>>
>>
>>
>> No, the issue does not seem to be resolved. With the latest code I see
>> issues in test cases which used to work before  (beyond the latest example
>> I posted the log files for - see below), not sure yet what is going on.  I
>> will be investigating further (making sure I am not mistaken) and following
>> up with some examples after the weekend but if you guys can take a look at
>> the log files on Monday I provided with the previous email that would be
>> great,
>>
>>
>>
>> Thanks
>>
>>
>>
>> Martin
>>
>>
>>
>> *From:* Imesh Gunaratne [mailto:[email protected]]
>> *Sent:* Saturday, June 20, 2015 7:29 PM
>> *To:* dev
>> *Cc:* Lasindu Charith ([email protected]); Reka Thirunavukkarasu (
>> [email protected]); Ryan Du Plessis (rdupless)
>> *Subject:* Re: Testing Stratos 4.1: Application undeployment:
>> application fails to undeploy (nested grouping, group scaling)
>>
>>
>>
>> Hi All,
>>
>>
>>
>> I'm sorry I could not follow the entire discussion.
>>
>> Can someone explain the latest status please? Have we resolved the
>> initial group scaling issue and now seeing an application removal problem?
>>
>>
>>
>> Thanks
>>
>>
>>
>> On Sat, Jun 20, 2015 at 2:06 AM, Martin Eppel (meppel) <[email protected]>
>> wrote:
>>
>> Hi Lasindu, Reka,
>>
>>
>>
>>
>>
>> Just run into the issue with removing the application *again*: (with the
>> fix for the issue included)
>>
>>
>>
>> Please see [1a., 1b.] for the application structure (group scaling
>> defined at only one group level). See also the respective artifacts and log
>> file attached.
>>
>>
>>
>> Please advise if we should reopen the JIRA
>>
>>
>>
>> Thanks
>>
>>
>>
>> Martin
>>
>>
>>
>>
>>
>> Application [1a.]
>>
>>
>>
>>
>>
>> [1b.] application after “starting application remove”
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> Imesh Gunaratne
>>
>>
>>
>> Senior Technical Lead, WSO2
>>
>> Committer & PMC Member, Apache Stratos
>>
>>
>>
>>
>>
>> --
>>
>> Imesh Gunaratne
>>
>>
>>
>> Senior Technical Lead, WSO2
>>
>> Committer & PMC Member, Apache Stratos
>>
>>
>>
>>   --
>>
>> Reka Thirunavukkarasu
>> Senior Software Engineer,
>> WSO2, Inc.:http://wso2.com,
>>
>> Mobile: +94776442007
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> Imesh Gunaratne
>>
>>
>>
>> Senior Technical Lead, WSO2
>>
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
> Reka Thirunavukkarasu
> Senior Software Engineer,
> WSO2, Inc.:http://wso2.com,
> Mobile: +94776442007
>
>
>


-- 
Reka Thirunavukkarasu
Senior Software Engineer,
WSO2, Inc.:http://wso2.com,
Mobile: +94776442007

Reply via email to