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 6ECD8200CAE for ; Wed, 21 Jun 2017 11:12:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6D5F7160BF0; Wed, 21 Jun 2017 09:12:05 +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 B357B160BD0 for ; Wed, 21 Jun 2017 11:12:04 +0200 (CEST) Received: (qmail 75426 invoked by uid 500); 21 Jun 2017 09:12:02 -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 75415 invoked by uid 99); 21 Jun 2017 09:12:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jun 2017 09:12:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 44ECD1A01F2 for ; Wed, 21 Jun 2017 09:12:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id AsvBdJInWsQ1 for ; Wed, 21 Jun 2017 09:12:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E2C085F2F1 for ; Wed, 21 Jun 2017 09:12:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 778D3E092E for ; Wed, 21 Jun 2017 09:12:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0BFCD2193E for ; Wed, 21 Jun 2017 09:12:00 +0000 (UTC) Date: Wed, 21 Jun 2017 09:12:00 +0000 (UTC) From: "Valentin Aitken (JIRA)" To: dev@brooklyn.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BROOKLYN-519) Persisting yaml blueprint with $brooklyn:entitySpec stores all configs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 21 Jun 2017 09:12:05 -0000 [ https://issues.apache.org/jira/browse/BROOKLYN-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16057221#comment-16057221 ] Valentin Aitken commented on BROOKLYN-519: ------------------------------------------ A customer have hit an issue with similar YAML as what I described. The yaml was deployed with an Apache Brooklyn build 0.10.0 when {{dynamiccluster.factory}} was present [1]. [1] https://github.com/apache/brooklyn-server/blob/0.10.x/core/src/main/java/org/apache/brooklyn/entity/group/DynamicCluster.java#L148 > Persisting yaml blueprint with $brooklyn:entitySpec stores all configs > ---------------------------------------------------------------------- > > Key: BROOKLYN-519 > URL: https://issues.apache.org/jira/browse/BROOKLYN-519 > Project: Brooklyn > Issue Type: Bug > Reporter: Valentin Aitken > > Scenario: > # Deploy the blueprint: > {noformat} > location: localhost > services: > - type: org.apache.brooklyn.entity.stock.BasicApplication > brooklyn.config: > childSpec: > $brooklyn:entitySpec: > - type: brooklyn.entity.group.DynamicCluster > {noformat} > # Inspect persistence > {noformat} > > > org.apache.brooklyn.entity.group.DynamicCluster > > > > > > false > > cluster.initial.quorumSize > java.lang.Integer > Initial cluster quorum size - number of initial nodes that must have been successfully started to report success (if < 0, then use value of INITIAL_SIZE) > -1 > false > ALWAYS_TRUE > > > > > false > > cluster.initial.size > ..... > > > ... > > > > {noformat} > Concern: > Persisting all config keys can lead to persistence problems when changing config keys of a type. -- This message was sent by Atlassian JIRA (v6.4.14#64029)