You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by Kirk Lund <kl...@pivotal.io> on 2016/02/18 20:04:13 UTC

Valid characters in Region names

I was just looking into a ticket filed because /= was used as the Region
name and this caused problems in JMX ObjectNames. I have two questions: 1)
do we really want /= to be a valid Region name? 2) do we have a complete
list somewhere of all the non-alphanumeric characters that are usable in
Region names?

-Kirk

Re: Valid characters in Region names

Posted by vf...@pivotal.io.
+1

My experience is that most users should have few or no issues using the list defined by William. In part as we have in the past discouraged the use of other characters and so it should be rare that someone used something outside this list. 

Vince

Sent from my iPhone

> On Mar 1, 2016, at 14:56, William Markito <wm...@pivotal.io> wrote:
> 
> That would be changed from now on as it's too much open ended and
> troublesome to support in other subsystems such as JMX beans... Note that
> "-" is still in the list, other symbols would not be allowed like "+" or
> "@" - Which are very odd and should be very rare.
> 
> On Tue, Mar 1, 2016 at 2:52 PM, Anilkumar Gingade <ag...@pivotal.io>
> wrote:
> 
>> From the existing javadoc it looks like, application can have any chars in
>> region name except the "/".
>> 
>> Changing this one may have implication on existing GemFire customers....
>> 
>> In the past we had to make changes in OQL to support chars like "+", "-",
>> "@"...(since customers used this in their region names)...
>> 
>> -Anil.
>> 
>> 
>> On Tue, Mar 1, 2016 at 2:44 PM, Udo Kohlmeyer <uk...@pivotal.io>
>> wrote:
>> 
>>> +1
>>> 
>>>> On 2/03/2016 9:35 am, William Markito wrote:
>>>> 
>>>> Folks, it doesn't look like we have actually finished this thread...
>>>> 
>>>> What do you guys think about the following pattern:
>>>> "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz123456-_"  ?
>>>> 
>>>> I'm not specifying a regexp to avoid problems with unicode and to keep
>> it
>>>> only ASCII-only...  Stackoveflow has some suggestions like
>>>> "^\\p{ASCII}*$" but
>>>> I'd be careful and try to keep it strict to the ones specified in the
>> list
>>>> above.
>>>> 
>>>> Thanks
>>>> 
>>>> 
>>>> On Thu, Feb 18, 2016 at 11:19 AM, Darrel Schneider <
>> dschneider@pivotal.io
>>>> wrote:
>>>> 
>>>> The public javadocs on Region#getName say:
>>>>> Returns the name of this region. A region's name
>>>>>    * can be any non-empty String providing it does not
>>>>>    * contain the name separator, a forward slash (/).
>>>>> 
>>>>> Here is the code from LocalRegion that validates the name:
>>>>>   static void validateRegionName(String name)
>>>>>   {
>>>>>     if (name == null) {
>>>>>       throw new
>> IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_BE_NULL.toLocalizedString());
>>>>>     }
>>>>>     if (name.length() == 0) {
>>>>>       throw new
>> IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_BE_EMPTY.toLocalizedString());
>>>>>     }
>>>>>     if (name.indexOf(SEPARATOR) >= 0) {
>>>>>       throw new
>> IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_CONTAIN_THE_SEPARATOR_0.toLocalizedString(SEPARATOR));
>>>>>     }
>>>>>   }
>>>>> 
>>>>> 
>>>>> On Thu, Feb 18, 2016 at 11:09 AM, William Markito <wmarkito@pivotal.io
>>> 
>>>>> wrote:
>>>>> 
>>>>> I don't think we should allow non-alphanumeric region names...   And
>>>>> would
>>>>> 
>>>>>> be really nice to have a list or a pattern documenting what's valid.
>>>>>> 
>>>>>> 
>>>>>> On Thu, Feb 18, 2016 at 11:04 AM Kirk Lund <kl...@pivotal.io> wrote:
>>>>>> 
>>>>>> I was just looking into a ticket filed because /= was used as the
>>>>>> Region
>>>>> 
>>>>>> name and this caused problems in JMX ObjectNames. I have two
>> questions:
>>>>>> 1)
>>>>>> 
>>>>>>> do we really want /= to be a valid Region name? 2) do we have a
>>>>>> complete
>>>>> 
>>>>>> list somewhere of all the non-alphanumeric characters that are usable
>>>>>> in
>>>>> 
>>>>>> Region names?
>>>>>>> 
>>>>>>> -Kirk
>>>>>>> 
>>>>>>> --
>>>>>> ~/William
> 
> 
> 
> -- 
> 
> ~/William

Re: Valid characters in Region names

Posted by William Markito <wm...@pivotal.io>.
That would be changed from now on as it's too much open ended and
troublesome to support in other subsystems such as JMX beans... Note that
"-" is still in the list, other symbols would not be allowed like "+" or
"@" - Which are very odd and should be very rare.

On Tue, Mar 1, 2016 at 2:52 PM, Anilkumar Gingade <ag...@pivotal.io>
wrote:

> From the existing javadoc it looks like, application can have any chars in
> region name except the "/".
>
> Changing this one may have implication on existing GemFire customers....
>
> In the past we had to make changes in OQL to support chars like "+", "-",
> "@"...(since customers used this in their region names)...
>
> -Anil.
>
>
> On Tue, Mar 1, 2016 at 2:44 PM, Udo Kohlmeyer <uk...@pivotal.io>
> wrote:
>
> > +1
> >
> > On 2/03/2016 9:35 am, William Markito wrote:
> >
> >> Folks, it doesn't look like we have actually finished this thread...
> >>
> >> What do you guys think about the following pattern:
> >> "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz123456-_"  ?
> >>
> >> I'm not specifying a regexp to avoid problems with unicode and to keep
> it
> >> only ASCII-only...  Stackoveflow has some suggestions like
> >> "^\\p{ASCII}*$" but
> >> I'd be careful and try to keep it strict to the ones specified in the
> list
> >> above.
> >>
> >> Thanks
> >>
> >>
> >> On Thu, Feb 18, 2016 at 11:19 AM, Darrel Schneider <
> dschneider@pivotal.io
> >> >
> >> wrote:
> >>
> >> The public javadocs on Region#getName say:
> >>> Returns the name of this region. A region's name
> >>>     * can be any non-empty String providing it does not
> >>>     * contain the name separator, a forward slash (/).
> >>>
> >>> Here is the code from LocalRegion that validates the name:
> >>>    static void validateRegionName(String name)
> >>>    {
> >>>      if (name == null) {
> >>>        throw new
> >>>
> >>>
> >>>
> IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_BE_NULL.toLocalizedString());
> >>>      }
> >>>      if (name.length() == 0) {
> >>>        throw new
> >>>
> >>>
> >>>
> IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_BE_EMPTY.toLocalizedString());
> >>>      }
> >>>      if (name.indexOf(SEPARATOR) >= 0) {
> >>>        throw new
> >>>
> >>>
> >>>
> IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_CONTAIN_THE_SEPARATOR_0.toLocalizedString(SEPARATOR));
> >>>      }
> >>>    }
> >>>
> >>>
> >>> On Thu, Feb 18, 2016 at 11:09 AM, William Markito <wmarkito@pivotal.io
> >
> >>> wrote:
> >>>
> >>> I don't think we should allow non-alphanumeric region names...   And
> >>>>
> >>> would
> >>>
> >>>> be really nice to have a list or a pattern documenting what's valid.
> >>>>
> >>>>
> >>>> On Thu, Feb 18, 2016 at 11:04 AM Kirk Lund <kl...@pivotal.io> wrote:
> >>>>
> >>>> I was just looking into a ticket filed because /= was used as the
> >>>>>
> >>>> Region
> >>>
> >>>> name and this caused problems in JMX ObjectNames. I have two
> questions:
> >>>>>
> >>>> 1)
> >>>>
> >>>>> do we really want /= to be a valid Region name? 2) do we have a
> >>>>>
> >>>> complete
> >>>
> >>>> list somewhere of all the non-alphanumeric characters that are usable
> >>>>>
> >>>> in
> >>>
> >>>> Region names?
> >>>>>
> >>>>> -Kirk
> >>>>>
> >>>>> --
> >>>> ~/William
> >>>>
> >>>>
> >>
> >>
> >
>



-- 

~/William

Re: Valid characters in Region names

Posted by Anilkumar Gingade <ag...@pivotal.io>.
>From the existing javadoc it looks like, application can have any chars in
region name except the "/".

Changing this one may have implication on existing GemFire customers....

In the past we had to make changes in OQL to support chars like "+", "-",
"@"...(since customers used this in their region names)...

-Anil.


On Tue, Mar 1, 2016 at 2:44 PM, Udo Kohlmeyer <uk...@pivotal.io> wrote:

> +1
>
> On 2/03/2016 9:35 am, William Markito wrote:
>
>> Folks, it doesn't look like we have actually finished this thread...
>>
>> What do you guys think about the following pattern:
>> "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz123456-_"  ?
>>
>> I'm not specifying a regexp to avoid problems with unicode and to keep it
>> only ASCII-only...  Stackoveflow has some suggestions like
>> "^\\p{ASCII}*$" but
>> I'd be careful and try to keep it strict to the ones specified in the list
>> above.
>>
>> Thanks
>>
>>
>> On Thu, Feb 18, 2016 at 11:19 AM, Darrel Schneider <dschneider@pivotal.io
>> >
>> wrote:
>>
>> The public javadocs on Region#getName say:
>>> Returns the name of this region. A region's name
>>>     * can be any non-empty String providing it does not
>>>     * contain the name separator, a forward slash (/).
>>>
>>> Here is the code from LocalRegion that validates the name:
>>>    static void validateRegionName(String name)
>>>    {
>>>      if (name == null) {
>>>        throw new
>>>
>>>
>>> IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_BE_NULL.toLocalizedString());
>>>      }
>>>      if (name.length() == 0) {
>>>        throw new
>>>
>>>
>>> IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_BE_EMPTY.toLocalizedString());
>>>      }
>>>      if (name.indexOf(SEPARATOR) >= 0) {
>>>        throw new
>>>
>>>
>>> IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_CONTAIN_THE_SEPARATOR_0.toLocalizedString(SEPARATOR));
>>>      }
>>>    }
>>>
>>>
>>> On Thu, Feb 18, 2016 at 11:09 AM, William Markito <wm...@pivotal.io>
>>> wrote:
>>>
>>> I don't think we should allow non-alphanumeric region names...   And
>>>>
>>> would
>>>
>>>> be really nice to have a list or a pattern documenting what's valid.
>>>>
>>>>
>>>> On Thu, Feb 18, 2016 at 11:04 AM Kirk Lund <kl...@pivotal.io> wrote:
>>>>
>>>> I was just looking into a ticket filed because /= was used as the
>>>>>
>>>> Region
>>>
>>>> name and this caused problems in JMX ObjectNames. I have two questions:
>>>>>
>>>> 1)
>>>>
>>>>> do we really want /= to be a valid Region name? 2) do we have a
>>>>>
>>>> complete
>>>
>>>> list somewhere of all the non-alphanumeric characters that are usable
>>>>>
>>>> in
>>>
>>>> Region names?
>>>>>
>>>>> -Kirk
>>>>>
>>>>> --
>>>> ~/William
>>>>
>>>>
>>
>>
>

Re: Valid characters in Region names

Posted by Udo Kohlmeyer <uk...@pivotal.io>.
+1

On 2/03/2016 9:35 am, William Markito wrote:
> Folks, it doesn't look like we have actually finished this thread...
>
> What do you guys think about the following pattern:
> "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz123456-_"  ?
>
> I'm not specifying a regexp to avoid problems with unicode and to keep it
> only ASCII-only...  Stackoveflow has some suggestions like "^\\p{ASCII}*$" but
> I'd be careful and try to keep it strict to the ones specified in the list
> above.
>
> Thanks
>
>
> On Thu, Feb 18, 2016 at 11:19 AM, Darrel Schneider <ds...@pivotal.io>
> wrote:
>
>> The public javadocs on Region#getName say:
>> Returns the name of this region. A region's name
>>     * can be any non-empty String providing it does not
>>     * contain the name separator, a forward slash (/).
>>
>> Here is the code from LocalRegion that validates the name:
>>    static void validateRegionName(String name)
>>    {
>>      if (name == null) {
>>        throw new
>>
>> IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_BE_NULL.toLocalizedString());
>>      }
>>      if (name.length() == 0) {
>>        throw new
>>
>> IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_BE_EMPTY.toLocalizedString());
>>      }
>>      if (name.indexOf(SEPARATOR) >= 0) {
>>        throw new
>>
>> IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_CONTAIN_THE_SEPARATOR_0.toLocalizedString(SEPARATOR));
>>      }
>>    }
>>
>>
>> On Thu, Feb 18, 2016 at 11:09 AM, William Markito <wm...@pivotal.io>
>> wrote:
>>
>>> I don't think we should allow non-alphanumeric region names...   And
>> would
>>> be really nice to have a list or a pattern documenting what's valid.
>>>
>>>
>>> On Thu, Feb 18, 2016 at 11:04 AM Kirk Lund <kl...@pivotal.io> wrote:
>>>
>>>> I was just looking into a ticket filed because /= was used as the
>> Region
>>>> name and this caused problems in JMX ObjectNames. I have two questions:
>>> 1)
>>>> do we really want /= to be a valid Region name? 2) do we have a
>> complete
>>>> list somewhere of all the non-alphanumeric characters that are usable
>> in
>>>> Region names?
>>>>
>>>> -Kirk
>>>>
>>> --
>>> ~/William
>>>
>
>


Re: Valid characters in Region names

Posted by kareem shabazz <ka...@gmail.com>.
+1

--
Kareem




On Wed, Mar 2, 2016 at 9:20 AM -0800, "Kirk Lund" <kl...@pivotal.io> wrote:










+1


On Tue, Mar 1, 2016 at 2:35 PM, William Markito  wrote:

> Folks, it doesn't look like we have actually finished this thread...
>
> What do you guys think about the following pattern:
> "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz123456-_"  ?
>
> I'm not specifying a regexp to avoid problems with unicode and to keep it
> only ASCII-only...  Stackoveflow has some suggestions like "^\\p{ASCII}*$"
> but
> I'd be careful and try to keep it strict to the ones specified in the list
> above.
>
> Thanks
>
>
> On Thu, Feb 18, 2016 at 11:19 AM, Darrel Schneider 
> wrote:
>
> > The public javadocs on Region#getName say:
> > Returns the name of this region. A region's name
> >    * can be any non-empty String providing it does not
> >    * contain the name separator, a forward slash (/).
> >
> > Here is the code from LocalRegion that validates the name:
> >   static void validateRegionName(String name)
> >   {
> >     if (name == null) {
> >       throw new
> >
> >
> IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_BE_NULL.toLocalizedString());
> >     }
> >     if (name.length() == 0) {
> >       throw new
> >
> >
> IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_BE_EMPTY.toLocalizedString());
> >     }
> >     if (name.indexOf(SEPARATOR) >= 0) {
> >       throw new
> >
> >
> IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_CONTAIN_THE_SEPARATOR_0.toLocalizedString(SEPARATOR));
> >     }
> >   }
> >
> >
> > On Thu, Feb 18, 2016 at 11:09 AM, William Markito 
> > wrote:
> >
> > > I don't think we should allow non-alphanumeric region names...   And
> > would
> > > be really nice to have a list or a pattern documenting what's valid.
> > >
> > >
> > > On Thu, Feb 18, 2016 at 11:04 AM Kirk Lund  wrote:
> > >
> > > > I was just looking into a ticket filed because /= was used as the
> > Region
> > > > name and this caused problems in JMX ObjectNames. I have two
> questions:
> > > 1)
> > > > do we really want /= to be a valid Region name? 2) do we have a
> > complete
> > > > list somewhere of all the non-alphanumeric characters that are usable
> > in
> > > > Region names?
> > > >
> > > > -Kirk
> > > >
> > > --
> > > ~/William
> > >
> >
>
>
>
> --
>
> ~/William
>






Re: Valid characters in Region names

Posted by Kirk Lund <kl...@pivotal.io>.
+1


On Tue, Mar 1, 2016 at 2:35 PM, William Markito <wm...@pivotal.io> wrote:

> Folks, it doesn't look like we have actually finished this thread...
>
> What do you guys think about the following pattern:
> "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz123456-_"  ?
>
> I'm not specifying a regexp to avoid problems with unicode and to keep it
> only ASCII-only...  Stackoveflow has some suggestions like "^\\p{ASCII}*$"
> but
> I'd be careful and try to keep it strict to the ones specified in the list
> above.
>
> Thanks
>
>
> On Thu, Feb 18, 2016 at 11:19 AM, Darrel Schneider <ds...@pivotal.io>
> wrote:
>
> > The public javadocs on Region#getName say:
> > Returns the name of this region. A region's name
> >    * can be any non-empty String providing it does not
> >    * contain the name separator, a forward slash (/).
> >
> > Here is the code from LocalRegion that validates the name:
> >   static void validateRegionName(String name)
> >   {
> >     if (name == null) {
> >       throw new
> >
> >
> IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_BE_NULL.toLocalizedString());
> >     }
> >     if (name.length() == 0) {
> >       throw new
> >
> >
> IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_BE_EMPTY.toLocalizedString());
> >     }
> >     if (name.indexOf(SEPARATOR) >= 0) {
> >       throw new
> >
> >
> IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_CONTAIN_THE_SEPARATOR_0.toLocalizedString(SEPARATOR));
> >     }
> >   }
> >
> >
> > On Thu, Feb 18, 2016 at 11:09 AM, William Markito <wm...@pivotal.io>
> > wrote:
> >
> > > I don't think we should allow non-alphanumeric region names...   And
> > would
> > > be really nice to have a list or a pattern documenting what's valid.
> > >
> > >
> > > On Thu, Feb 18, 2016 at 11:04 AM Kirk Lund <kl...@pivotal.io> wrote:
> > >
> > > > I was just looking into a ticket filed because /= was used as the
> > Region
> > > > name and this caused problems in JMX ObjectNames. I have two
> questions:
> > > 1)
> > > > do we really want /= to be a valid Region name? 2) do we have a
> > complete
> > > > list somewhere of all the non-alphanumeric characters that are usable
> > in
> > > > Region names?
> > > >
> > > > -Kirk
> > > >
> > > --
> > > ~/William
> > >
> >
>
>
>
> --
>
> ~/William
>

Re: Valid characters in Region names

Posted by William Markito <wm...@pivotal.io>.
Folks, it doesn't look like we have actually finished this thread...

What do you guys think about the following pattern:
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz123456-_"  ?

I'm not specifying a regexp to avoid problems with unicode and to keep it
only ASCII-only...  Stackoveflow has some suggestions like "^\\p{ASCII}*$" but
I'd be careful and try to keep it strict to the ones specified in the list
above.

Thanks


On Thu, Feb 18, 2016 at 11:19 AM, Darrel Schneider <ds...@pivotal.io>
wrote:

> The public javadocs on Region#getName say:
> Returns the name of this region. A region's name
>    * can be any non-empty String providing it does not
>    * contain the name separator, a forward slash (/).
>
> Here is the code from LocalRegion that validates the name:
>   static void validateRegionName(String name)
>   {
>     if (name == null) {
>       throw new
>
> IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_BE_NULL.toLocalizedString());
>     }
>     if (name.length() == 0) {
>       throw new
>
> IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_BE_EMPTY.toLocalizedString());
>     }
>     if (name.indexOf(SEPARATOR) >= 0) {
>       throw new
>
> IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_CONTAIN_THE_SEPARATOR_0.toLocalizedString(SEPARATOR));
>     }
>   }
>
>
> On Thu, Feb 18, 2016 at 11:09 AM, William Markito <wm...@pivotal.io>
> wrote:
>
> > I don't think we should allow non-alphanumeric region names...   And
> would
> > be really nice to have a list or a pattern documenting what's valid.
> >
> >
> > On Thu, Feb 18, 2016 at 11:04 AM Kirk Lund <kl...@pivotal.io> wrote:
> >
> > > I was just looking into a ticket filed because /= was used as the
> Region
> > > name and this caused problems in JMX ObjectNames. I have two questions:
> > 1)
> > > do we really want /= to be a valid Region name? 2) do we have a
> complete
> > > list somewhere of all the non-alphanumeric characters that are usable
> in
> > > Region names?
> > >
> > > -Kirk
> > >
> > --
> > ~/William
> >
>



-- 

~/William

Re: Valid characters in Region names

Posted by Darrel Schneider <ds...@pivotal.io>.
The public javadocs on Region#getName say:
Returns the name of this region. A region's name
   * can be any non-empty String providing it does not
   * contain the name separator, a forward slash (/).

Here is the code from LocalRegion that validates the name:
  static void validateRegionName(String name)
  {
    if (name == null) {
      throw new
IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_BE_NULL.toLocalizedString());
    }
    if (name.length() == 0) {
      throw new
IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_BE_EMPTY.toLocalizedString());
    }
    if (name.indexOf(SEPARATOR) >= 0) {
      throw new
IllegalArgumentException(LocalizedStrings.LocalRegion_NAME_CANNOT_CONTAIN_THE_SEPARATOR_0.toLocalizedString(SEPARATOR));
    }
  }


On Thu, Feb 18, 2016 at 11:09 AM, William Markito <wm...@pivotal.io>
wrote:

> I don't think we should allow non-alphanumeric region names...   And would
> be really nice to have a list or a pattern documenting what's valid.
>
>
> On Thu, Feb 18, 2016 at 11:04 AM Kirk Lund <kl...@pivotal.io> wrote:
>
> > I was just looking into a ticket filed because /= was used as the Region
> > name and this caused problems in JMX ObjectNames. I have two questions:
> 1)
> > do we really want /= to be a valid Region name? 2) do we have a complete
> > list somewhere of all the non-alphanumeric characters that are usable in
> > Region names?
> >
> > -Kirk
> >
> --
> ~/William
>

Re: Valid characters in Region names

Posted by Michael Stolz <ms...@pivotal.io>.
There is a stated position in the commercial GemFire documentation as
follows:

To get the full range of Pivotal GemFire capabilities for your cached data
regions, follow GemFire's region naming guidelines:
The safest approach when naming your regions is to use only alphanumeric
characters and the underscore character and to keep your region names
short.
This permits you the full range of GemFire region configurations and allow
you to perform all available GemFire operations on the region.
Follow these guidelines for naming regions:
• Do not use the separator slash character ‘ / ’.
• Do not begin region names with two underscore characters "__" as this is
reserved for internal GemFire use.
• To run queries against your data, restrict your region names to
alphanumeric characters and the underscore character.


For Geode we should probably tighten that up just a bit further by changing
the last bullet to:
• Restrict your region names to alphanumeric characters and the underscore
character.



--
Mike Stolz
Principal Engineer, GemFire Product Manager
Mobile: 631-835-4771

On Thu, Feb 18, 2016 at 2:09 PM, William Markito <wm...@pivotal.io>
wrote:

> I don't think we should allow non-alphanumeric region names...   And would
> be really nice to have a list or a pattern documenting what's valid.
>
>
> On Thu, Feb 18, 2016 at 11:04 AM Kirk Lund <kl...@pivotal.io> wrote:
>
> > I was just looking into a ticket filed because /= was used as the Region
> > name and this caused problems in JMX ObjectNames. I have two questions:
> 1)
> > do we really want /= to be a valid Region name? 2) do we have a complete
> > list somewhere of all the non-alphanumeric characters that are usable in
> > Region names?
> >
> > -Kirk
> >
> --
> ~/William
>

Re: Valid characters in Region names

Posted by William Markito <wm...@pivotal.io>.
I don't think we should allow non-alphanumeric region names...   And would
be really nice to have a list or a pattern documenting what's valid.


On Thu, Feb 18, 2016 at 11:04 AM Kirk Lund <kl...@pivotal.io> wrote:

> I was just looking into a ticket filed because /= was used as the Region
> name and this caused problems in JMX ObjectNames. I have two questions: 1)
> do we really want /= to be a valid Region name? 2) do we have a complete
> list somewhere of all the non-alphanumeric characters that are usable in
> Region names?
>
> -Kirk
>
-- 
~/William