Re: [PROPOSAL]: deprecating create region using --template-region option

2018-02-07 Thread John Blum
Exactly, a logging/auditing *CacheListener* would possibly be useful across multiple Regions, for instance. Again, I don't know that this feature is as useful in tooling when an application largely drives that based on UCs/workflows and data access patterns. I.e. there are many ways to skin a cat

Re: [PROPOSAL]: deprecating create region using --template-region option

2018-02-07 Thread Jinmei Liao
John, I should have been more specific in my original proposal. It should read as "deprecating create region using --template-region" option in gfsh. I am sure the concept can be useful in other creation mechanism as long as they have a way to ensure that those callback are available on the member

Re: [PROPOSAL]: deprecating create region using --template-region option

2018-02-07 Thread John Blum
+0 As an FYI, *Spring Data Geode/GemFire* already provides such a capability [1], which makes much more sense from an application standpoint than a tooling standpoint. Having said that, I would also add that this capability is 1 of the more popular features in SDG (particularly from customers).

Re: [PROPOSAL]: deprecating create region using --template-region option

2018-02-07 Thread Kenneth Howe
+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,

Re: [PROPOSAL]: deprecating create region using --template-region option

2018-02-07 Thread Nick Reich
+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. On Wed, Feb 7, 2018 at 10:26 AM, Anilkumar Gingade wrote: >

Re: [PROPOSAL]: deprecating create region using --template-region option

2018-02-07 Thread Anilkumar Gingade
+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

[PROPOSAL]: deprecating create region using --template-region option

2018-02-07 Thread Jinmei Liao
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