From dev-return-27929-archive-asf-public=cust-asf.ponee.io@geode.apache.org Wed Feb 7 19:51:19 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 8C58518065B for ; Wed, 7 Feb 2018 19:51:19 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7C4A5160C5B; Wed, 7 Feb 2018 18:51:19 +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 C2543160C3A for ; Wed, 7 Feb 2018 19:51:18 +0100 (CET) Received: (qmail 58813 invoked by uid 500); 7 Feb 2018 18:51:17 -0000 Mailing-List: contact dev-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list dev@geode.apache.org Received: (qmail 58797 invoked by uid 99); 7 Feb 2018 18:51:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2018 18:51:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A8D28C2F69 for ; Wed, 7 Feb 2018 18:51:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.98 X-Spam-Level: * X-Spam-Status: No, score=1.98 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=pivotal-io.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id BlQKzls3ezaP for ; Wed, 7 Feb 2018 18:51:15 +0000 (UTC) Received: from mail-pl0-f53.google.com (mail-pl0-f53.google.com [209.85.160.53]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 9A7375F17D for ; Wed, 7 Feb 2018 18:51:14 +0000 (UTC) Received: by mail-pl0-f53.google.com with SMTP id k8-v6so574107pli.8 for ; Wed, 07 Feb 2018 10:51:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pivotal-io.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=xwueSJ9G/+UrIyBBHwckDkzbfeaPuL4nt3qmeGzNQq8=; b=W6xspJRG58NrK59sGFDiBk33pOuWvEaXCPGQ6lo62WYFgoImxgL13EHzu+GhXiNPQ8 74X3xguCuBAfLKjDnB3TFr5bKvmqCAeoVfa0NDxt8AvLwnQsDFRVGB3EEwYVDsLBs4XC tlsZHZLWHCsMGt2so77Uog8Bsu6dXWi8IcQCkxXpB9kM5+1tURpo60hg/8qwXvvlvWzZ 6msPAq/qsZekkbTJqfH/M1Ny7t0EfEI2cK9+lttaowQ8joijjQVyuXsyI1CyllVUegJG BE9GVxtBgSL8pwY+loiK+d4dscj1rR8jpadY9S63a0qe8QIebhCNK6UOyUth1mOeWuvU N/tA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=xwueSJ9G/+UrIyBBHwckDkzbfeaPuL4nt3qmeGzNQq8=; b=FGrDQC9zVPw14Qj14tGRnSa8AGd++2s8zUEG8J2/UhMbEPRHujAGmoSol3WxyuIGyl DhClfJbHxNurI8ixF6FIgzGsooAFRqtsUySyYO53u/uT4uRsPbHn5XVKDN8JXE7u3Ali sy1wTTapcaqroYjK2iYC5xHgrRh+eXSerqVwHgUyREuwX4CH6PzAujBsqZcRgoiANeOO 50xRjNqL5NXI9A0bxXxSvPeY60S/IdFuUnFJ8+mHfYPKsKu7IZbeGwp+Orrln1TNYdgE KOMw14zaCVDsaEQFzB9hoqJpoJTx2wWM/wFz41F0P1Qv1GYcuLrCW0DFnbeY1/BKDjhq sCDA== X-Gm-Message-State: APf1xPCbdSbWz+cuneoJfzHEF87vH4DuuhWjt1LlVRJBqze4QzNWaSb0 /0IlD+YQMie01XHjBRex6d3VhimP+l8= X-Google-Smtp-Source: AH8x227gy0n1+Ozk6ozpf9ojpcid0flVWoa30wR8dpZV/999B/AfpFlwXDuNboEosjCGYTSv8wO8OA== X-Received: by 2002:a17:902:6a81:: with SMTP id n1-v6mr7006825plk.11.1518029473651; Wed, 07 Feb 2018 10:51:13 -0800 (PST) Received: from [192.168.1.23] (static-50-53-74-38.bvtn.or.frontiernet.net. [50.53.74.38]) by smtp.gmail.com with ESMTPSA id z90sm6707580pfd.78.2018.02.07.10.51.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Feb 2018 10:51:12 -0800 (PST) From: Kenneth Howe Message-Id: <6BFE2539-E2B8-4461-9B49-E7755B7E7C5F@pivotal.io> Content-Type: multipart/alternative; boundary="Apple-Mail=_F495BCDD-72E1-4216-8448-79B508D639D2" Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: Re: [PROPOSAL]: deprecating create region using --template-region option Date: Wed, 7 Feb 2018 10:51:11 -0800 In-Reply-To: Cc: dev@geode.apache.org To: user@geode.apache.org References: X-Mailer: Apple Mail (2.3445.5.20) --Apple-Mail=_F495BCDD-72E1-4216-8448-79B508D639D2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii +1 for deprecating Looks to me that there are too many variations on what attributes to = apply to the new region to ever get it right for all situations. As Anil = said, copy and paste the command used to create the original region and = modify attributes as necessary for the new region. > On Feb 7, 2018, at 10:45 AM, Nick Reich wrote: >=20 > +1 for deprecating --template-region. It feels like a convenience = method that by it very nature has an unobvious result and would require = more effort to understand so it could be used correctly by a user than = the value that it presents. >=20 > On Wed, Feb 7, 2018 at 10:26 AM, Anilkumar Gingade = > wrote: > +1 for deprecating --template-region >=20 > User can always find the command used to create the region and re-use = it > (or if its in script, cut and paste the line). >=20 > -Anil. >=20 >=20 > On Wed, Feb 7, 2018 at 9:49 AM, Jinmei Liao > wrote: >=20 > > Hi, All, > > > > currently, there are two ways to create a region, either to use a = "--type" > > option indicating a region shortcut or a "--template-region" option > > specifying another regionPath where you want to copy the attribute = from. > > > > First of all, we are not sure what set of attributes that make sense = to > > copy to the new region. e.g listeners/loaders/writers, normally = these are > > connected to a downstream database that user may/may not want the = new > > region to read/write the same table. And the current implementation = would > > fail to create a region from a template that has these custom = callbacks > > (including listeners, loader, writer, compressor, resolvers etc). So = we > > would like to understand how useful this command option is and if we = can > > stop supporting it? > > > > Suggestions/feedback welcome! > > > > -- > > Cheers > > > > Jinmei > > >=20 --Apple-Mail=_F495BCDD-72E1-4216-8448-79B508D639D2--