brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Heneveld <alex.henev...@cloudsoftcorp.com>
Subject Re: DynamicCluster.CLUSTER_ONE_AND_ALL_MEMBERS_UP clarification
Date Tue, 09 May 2017 10:14:06 GMT

Hi Ivana-

You're correct.  Could you insert the words "at least" into the sensor 
description [1] ?

Best
Alex


[1] 
https://github.com/apache/brooklyn-server/blob/master/core/src/main/java/org/apache/brooklyn/entity/group/DynamicCluster.java#L201


On 09/05/2017 10:03, Ivana Yovcheva wrote:
> The implementation of DynamicClusterImpl.ClusterOneAndAllMembersUpCallable [1]
> also confirms the right answer should be
> 1."There is at least one member and all members are up"
>
> [1]
> https://github.com/apache/brooklyn-server/blob/master/core/src/main/java/org/apache/brooklyn/entity/group/DynamicClusterImpl.java#L270-L283
>
> Ivana Yovcheva
> Software Engineer
> Cloudsoft Corporation Ltd.
> www.cloudsoft.io
>
> On 9 May 2017 at 12:00, Ivana Yovcheva <ivana.yovcheva@cloudsoftcorp.com>
> wrote:
>
>> Hi,
>>
>> What does the "cluster.one_and_all.members.up" sensor in DynamicCluster
>> mean [1]?
>>
>>  From the description there are two possible options:
>> 1. "There is at least one member and all members are up"
>> 2. "There is only one member and all members are up"
>>
>>
>> Makes sense the right answer to be 1., but the description does not
>> explicitly say it.
>>
>> [1] https://github.com/apache/brooklyn-server/blob/master/
>> core/src/main/java/org/apache/brooklyn/entity/group/
>> DynamicCluster.java#L201
>>
>> Best,
>> Ivana Yovcheva
>> Software Engineer
>> Cloudsoft Corporation Ltd.
>> www.cloudsoft.io
>>


Mime
View raw message