Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 95553200C6F for ; Tue, 9 May 2017 12:14:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 93EBD160BB6; Tue, 9 May 2017 10:14:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DA54C160BB3 for ; Tue, 9 May 2017 12:14:13 +0200 (CEST) Received: (qmail 64488 invoked by uid 500); 9 May 2017 10:14:13 -0000 Mailing-List: contact dev-help@brooklyn.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.apache.org Delivered-To: mailing list dev@brooklyn.apache.org Received: (qmail 64476 invoked by uid 99); 9 May 2017 10:14:12 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 May 2017 10:14:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 955F3186137 for ; Tue, 9 May 2017 10:14:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.397 X-Spam-Level: X-Spam-Status: No, score=-2.397 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=cloudsoftcorp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id PkcUxtINYnkH for ; Tue, 9 May 2017 10:14:10 +0000 (UTC) Received: from mail-wr0-f169.google.com (mail-wr0-f169.google.com [209.85.128.169]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id A47965FC43 for ; Tue, 9 May 2017 10:14:09 +0000 (UTC) Received: by mail-wr0-f169.google.com with SMTP id l50so65752857wrc.3 for ; Tue, 09 May 2017 03:14:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudsoftcorp.com; s=google; h=from:subject:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=gXbhMI21mOKBlO4vlN9xUIR1tIZXS3LfMRMwf/ttkS8=; b=d9KJ0eojZcX5CZPG7hJwUCT7VWpzsaSOBs5VI1vodISL6jUbNx531y5k19hOwLqjU8 gPS8tnd66MZr+cx+NKedmM4u6G+rjEJkFNT+rG+4Xt66WuwevrHTakZ3poE9wqZy9fAB xgoQ5T1sHWzMqt7iipcVxXRshXZyf2Bu0PB5Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=gXbhMI21mOKBlO4vlN9xUIR1tIZXS3LfMRMwf/ttkS8=; b=TuxyWueF8s5xKn3+XLdAgfC/EPTkxF/BMAu9bmmjAYa/ED8UDj/k/m8TV3PrzKn8Yt oIzE4fh70mFIVwuEEfM9TQL9GD/eFyzzZd+K4V9ATt1tuKbXFqbzZ3QO+wbSrzU3i3XA fbtkntjlA5V/s1wCFrHgBgBpObccmXZKAvSVdyV1MK/Dzs0TNimnGi3k83Jt0j3Uo8Cx aUIdaEKmG7+FNuzmajE0shJAm5yOqj2s2+EscNGq9KbiGY7EfwbMLJ/UCEOXv5xfuboa Aof05l8CqPbFa9s788Saiqqbzz5V9kPXDd39oO9LoVsM/yLHgGuCs31pWpMx+0XJjUOy ihOg== X-Gm-Message-State: AN3rC/56aRQJ7dFbVovgwvropGOHdOpNtFzmYh9qzT4+d8oxzS+O+UFs FH26brrRgGIbfNp2uSs3vpJVnkOI+PfpgweB3r7rR1B3wOpzxPTnbxIOKvqlHelpUKdO91/VeTC gQoxW X-Received: by 10.223.133.97 with SMTP id 88mr43201299wrh.166.1494324849094; Tue, 09 May 2017 03:14:09 -0700 (PDT) Received: from Alexs-MacBook-Pro-2.local (host109-149-41-121.range109-149.btcentralplus.com. [109.149.41.121]) by smtp.googlemail.com with ESMTPSA id o17sm12989099wra.56.2017.05.09.03.14.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 May 2017 03:14:08 -0700 (PDT) From: Alex Heneveld X-Google-Original-From: Alex Heneveld Subject: Re: DynamicCluster.CLUSTER_ONE_AND_ALL_MEMBERS_UP clarification To: dev@brooklyn.apache.org References: Message-ID: <23daf1d2-1d91-039e-8165-3c7ed18eb340@CloudsoftCorp.com> Date: Tue, 9 May 2017 11:14:06 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Legal-Virus-Advice: Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by Cloudsoft Corporation Limited in this regard and the recipient should carry out such virus and other checks as it considers appropriate. X-Legal-Confidentiality: This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. Cloudsoft Corporation Limited does not accept responsibility for changes made to this message after it was sent. X-Legal-Company-Info: Cloudsoft Corporation Limited. Registered in Scotland. Number: SC349230. Registered Office: 13 Dryden Place, Edinburgh, EH9 1RP. archived-at: Tue, 09 May 2017 10:14:14 -0000 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 > 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 >>