You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Imesh Gunaratne <im...@apache.org> on 2014/05/02 19:13:55 UTC

Re: [LoadBalancer] Seems like we are updating the Cluster Map every minute

I have now fixed this in master branch.

Thanks


On Wed, Apr 30, 2014 at 9:52 PM, Nirmal Fernando <ni...@gmail.com>wrote:

> Here's the jira: https://issues.apache.org/jira/browse/STRATOS-640
>
>
> On Wed, Apr 30, 2014 at 7:14 PM, Nirmal Fernando <ni...@gmail.com>wrote:
>
>> Thanks Imesh.
>>
>>
>> On Wed, Apr 30, 2014 at 12:54 PM, Imesh Gunaratne <im...@apache.org>wrote:
>>
>>> A good finding Nirmal! I will fix this.
>>>
>>>
>>> On Wed, Apr 30, 2014 at 2:42 AM, Nirmal Fernando <nirmal070125@gmail.com
>>> > wrote:
>>>
>>>> Hi,
>>>>
>>>> In LB, seems like we are updating the Cluster Map every minute as a
>>>> response to an event (CompleteTopology), even if the cluster exist. Is this
>>>> necessary?
>>>>
>>>> TID: [0] [LB] [2014-04-29 19:15:14,056] DEBUG
>>>> {org.apache.stratos.load.balancer.context.LoadBalancerContextUtil} -
>>>> Cluster added to cluster-id -> cluster map: [cluster] abc
>>>> TID: [0] [LB] [2014-04-29 19:16:14,087] DEBUG
>>>> {org.apache.stratos.load.balancer.context.LoadBalancerContextUtil} -
>>>> Cluster added to cluster-id -> cluster map: [cluster] def
>>>> TID: [0] [LB] [2014-04-29 19:16:14,087] DEBUG
>>>> {org.apache.stratos.load.balancer.context.LoadBalancerContextUtil} -
>>>> Cluster added to cluster-id -> cluster map: [cluster] abc
>>>> TID: [0] [LB] [2014-04-29 19:17:14,096] DEBUG
>>>> {org.apache.stratos.load.balancer.context.LoadBalancerContextUtil} -
>>>> Cluster added to cluster-id -> cluster map: [cluster] def
>>>> TID: [0] [LB] [2014-04-29 19:17:14,096] DEBUG
>>>> {org.apache.stratos.load.balancer.context.LoadBalancerContextUtil} -
>>>> Cluster added to cluster-id -> cluster map: [cluster] abc
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Best Regards,
>>>> Nirmal
>>>>
>>>> Nirmal Fernando.
>>>> PPMC Member & Committer of Apache Stratos,
>>>> Senior Software Engineer, WSO2 Inc.
>>>>
>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> Imesh Gunaratne
>>>
>>> Technical Lead, WSO2
>>> Committer & PPMC Member, Apache Stratos
>>>
>>
>>
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PPMC Member, Apache Stratos

Re: [LoadBalancer] Seems like we are updating the Cluster Map every minute

Posted by Nirmal Fernando <ni...@gmail.com>.
Thanks Imesh.


On Fri, May 2, 2014 at 10:43 PM, Imesh Gunaratne <im...@apache.org> wrote:

> I have now fixed this in master branch.
>
> Thanks
>
>
> On Wed, Apr 30, 2014 at 9:52 PM, Nirmal Fernando <ni...@gmail.com>wrote:
>
>> Here's the jira: https://issues.apache.org/jira/browse/STRATOS-640
>>
>>
>> On Wed, Apr 30, 2014 at 7:14 PM, Nirmal Fernando <ni...@gmail.com>wrote:
>>
>>> Thanks Imesh.
>>>
>>>
>>> On Wed, Apr 30, 2014 at 12:54 PM, Imesh Gunaratne <im...@apache.org>wrote:
>>>
>>>> A good finding Nirmal! I will fix this.
>>>>
>>>>
>>>> On Wed, Apr 30, 2014 at 2:42 AM, Nirmal Fernando <
>>>> nirmal070125@gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> In LB, seems like we are updating the Cluster Map every minute as a
>>>>> response to an event (CompleteTopology), even if the cluster exist. Is this
>>>>> necessary?
>>>>>
>>>>> TID: [0] [LB] [2014-04-29 19:15:14,056] DEBUG
>>>>> {org.apache.stratos.load.balancer.context.LoadBalancerContextUtil} -
>>>>> Cluster added to cluster-id -> cluster map: [cluster] abc
>>>>> TID: [0] [LB] [2014-04-29 19:16:14,087] DEBUG
>>>>> {org.apache.stratos.load.balancer.context.LoadBalancerContextUtil} -
>>>>> Cluster added to cluster-id -> cluster map: [cluster] def
>>>>> TID: [0] [LB] [2014-04-29 19:16:14,087] DEBUG
>>>>> {org.apache.stratos.load.balancer.context.LoadBalancerContextUtil} -
>>>>> Cluster added to cluster-id -> cluster map: [cluster] abc
>>>>> TID: [0] [LB] [2014-04-29 19:17:14,096] DEBUG
>>>>> {org.apache.stratos.load.balancer.context.LoadBalancerContextUtil} -
>>>>> Cluster added to cluster-id -> cluster map: [cluster] def
>>>>> TID: [0] [LB] [2014-04-29 19:17:14,096] DEBUG
>>>>> {org.apache.stratos.load.balancer.context.LoadBalancerContextUtil} -
>>>>> Cluster added to cluster-id -> cluster map: [cluster] abc
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Best Regards,
>>>>> Nirmal
>>>>>
>>>>> Nirmal Fernando.
>>>>> PPMC Member & Committer of Apache Stratos,
>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>
>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Imesh Gunaratne
>>>>
>>>> Technical Lead, WSO2
>>>> Committer & PPMC Member, Apache Stratos
>>>>
>>>
>>>
>>>
>>> --
>>> Best Regards,
>>> Nirmal
>>>
>>> Nirmal Fernando.
>>> PPMC Member & Committer of Apache Stratos,
>>> Senior Software Engineer, WSO2 Inc.
>>>
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>
>>
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>>
>
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PPMC Member, Apache Stratos
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/