From dev-return-27927-archive-asf-public=cust-asf.ponee.io@geode.apache.org Wed Feb 7 19:27:18 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 8A47C18065B for ; Wed, 7 Feb 2018 19:27:18 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7A309160C5B; Wed, 7 Feb 2018 18:27:18 +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 BF506160C3A for ; Wed, 7 Feb 2018 19:27:17 +0100 (CET) Received: (qmail 90611 invoked by uid 500); 7 Feb 2018 18:27:16 -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 90594 invoked by uid 99); 7 Feb 2018 18:27:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2018 18:27:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id A7393C0042 for ; Wed, 7 Feb 2018 18:27:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-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: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=pivotal-io.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Yw-wKbd7D83V for ; Wed, 7 Feb 2018 18:27:13 +0000 (UTC) Received: from mail-qk0-f169.google.com (mail-qk0-f169.google.com [209.85.220.169]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id C3C425F17D for ; Wed, 7 Feb 2018 18:27:12 +0000 (UTC) Received: by mail-qk0-f169.google.com with SMTP id d72so2343570qkc.6 for ; Wed, 07 Feb 2018 10:27:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pivotal-io.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=FccpyUL8Uw/kepHRU/If759F73jBz/k1oH6z9rVPNc4=; b=ZDgUrXuLJIKrOMgQ7/PEXNoMpZcKISWMnEKYAuo89P8Y+5XnDE2lJDRPixPf5Tyk2K IYxp9sfHURnypy6dGFCVWIjOPVeZnihUGxu0VVgu2y7c5hLlozumsyb2zAwdYCjJAuqF qIufwYMDgJhcS8dlXq4DZvCZCvorbdx7W8bhqpUw30qZHO8k5MkGqF7F9eeNOULZHhMK 9VTmz/mupuvq6XktWIYJcCytQBajOCAvJfNeghZY66nziIxgDce5b7Q0h32VgQxR70gd kcS8zI2hLnGnKVRv5QR9LX4FRi89EBazYR8UQA0F3AxBX5UQux+lo9PkJAuP0AouanFq jX4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=FccpyUL8Uw/kepHRU/If759F73jBz/k1oH6z9rVPNc4=; b=kyuvEL1KQzF0WWOlYhJ7TTIKeIjQ4FkUwhI0XyEXK0r6+e9KWcaIBksUTNev7nMd2W h2FS+uua0QG+sDBhMDH+vAcLiadiiqn9blrcC0rtivKz6gBso9zST+4iK8xSpeV+2pVk oq6GVk+4aAjGfpXyIijrN5myz/8LT3REvOZo4dKGNyS3uYklk4s9L5F2PwRT7l2Kgd4w D0Fy557zgambI9ELbM0wJk7CMIWyZlIsYwKBzC4GCHMjssP797z0a8lcbjuACKO0hCer wPMqpne6RA+PuzAvnA5JvpDcXGnQF+1uzv61ozSVWzgr2XabWsmcKTXDThss0tPEQPsg 4UzQ== X-Gm-Message-State: APf1xPA2hJG4EWiW/MhZcrv6umiGa5Ig+TdkizPmrjTlU5bu993dmMyq M+s5QQddriOhbx+teiP6kwFV1u7BZR4pRYyQI02nxQ== X-Google-Smtp-Source: AH8x225YfNlRDZZkGuAwjKM8Te4TPkiecLP75AoyGxZo1RO97ce/1aJrPlJU4M7ppyBW82Mqk6eKDIixtsvISqY0T20= X-Received: by 10.55.133.197 with SMTP id h188mr9701192qkd.317.1518028026424; Wed, 07 Feb 2018 10:27:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.91.34 with HTTP; Wed, 7 Feb 2018 10:26:45 -0800 (PST) In-Reply-To: References: From: Anilkumar Gingade Date: Wed, 7 Feb 2018 10:26:45 -0800 Message-ID: Subject: Re: [PROPOSAL]: deprecating create region using --template-region option To: user@geode.apache.org Cc: geode Content-Type: multipart/alternative; boundary="94eb2c072efe4654a70564a371b1" --94eb2c072efe4654a70564a371b1 Content-Type: text/plain; charset="UTF-8" +1 for deprecating --template-region 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). -Anil. On Wed, Feb 7, 2018 at 9:49 AM, Jinmei Liao wrote: > 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 > --94eb2c072efe4654a70564a371b1--