stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Udara Liyanage <ud...@wso2.com>
Subject Re: Determining the "Active" status of a cluster
Date Thu, 20 Nov 2014 06:37:58 GMT
Hi Sajith,

>From UI side it considers active when there is atleast one active member.
CLI has implemented it in a different manner.


On Thu, Nov 20, 2014 at 12:03 PM, Sajith Kariyawasam <sajith@wso2.com>
wrote:

> Shouldn't we consider a cluster is active if there is "atleast one" active
> member?
>
> Even If a cluster is defined its min count as 3, it can serve the requests
> as soon as one instance gets activated, without waiting for other two
> instances.
> Our instance starting / activation process happens sequentially..
>
> On Wed, Nov 19, 2014 at 10:10 PM, Isuru Haththotuwa <isuruh@apache.org>
> wrote:
>
>>
>>
>> On Wed, Nov 19, 2014 at 8:54 PM, Udara Liyanage <udara@wso2.com> wrote:
>>
>>>
>>>
>>>
>>>
>>> Touched, not typed. Erroneous words are a feature, not a typo.
>>> On Nov 19, 2014 8:13 PM, "Chamila De Alwis" <chamilad@wso2.com> wrote:
>>> >
>>> > Hi,
>>> >
>>> > Given the list of members in a cluster, we can determine the number of
>>> active members and their partition ids. This in turn can be used to
>>> determine the min count of each partition.
>>> >
>>> > Can it be said that the particular cluster is "Active", if the number
>>> of "Active" members are equal to the sum of the min counts of the
>>> partitions?
>>> >
>>> > Or should it be that each partition should have a number of "Active"
>>> members equal to the min count of each?
>>> >
>>>
>>> This one is the correct way I guests.
>>>
>>> Just want to know when they are multiple partition do we create multiple
>>> clusters or one clusters?
>>>
>> Still its a single cluster. Min count is maintained for each partition.
>>
>>> > Regards,
>>> > Chamila de Alwis
>>> > Software Engineer | WSO2 | +94772207163
>>> > Blog: code.chamiladealwis.com
>>> >
>>> >
>>>
>>> --
>>> Thanks and Regards,
>>>
>>> Isuru H.
>>> +94 716 358 048* <http://wso2.com/>*
>>>
>>>
>>> * <http://wso2.com/>*
>>>
>>>
>>>
>
>
> --
> *Sajith Kariyawasam*
>
>
> *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com
> <http://wso2.com>AMIE (SL)Mobile: +94772269575*
>



-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Mime
View raw message