You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jens Deppe (JIRA)" <ji...@apache.org> on 2016/01/07 19:48:39 UTC
[jira] [Created] (GEODE-747) Not able to create sub-region from
gfsh in the cluster configuration
Jens Deppe created GEODE-747:
--------------------------------
Summary: Not able to create sub-region from gfsh in the cluster configuration
Key: GEODE-747
URL: https://issues.apache.org/jira/browse/GEODE-747
Project: Geode
Issue Type: Bug
Components: management
Reporter: Jens Deppe
Received this from Gemfire forum
started a brand new locator and server, then try to create the region as following:
{noformat}
create region --name=/a --type=REPLICATE_PERSISTENT
create region --name=/a/b --type=REPLICATE_PERSISTENT
{noformat}
suppose it will create the parent / child regions, where /b is a sub-region nested in /a.
But once it's created, I found in
$GemFire Work Dir$\locator1\cluster_config\cluster\cluster.xml
They are two different regions without any parent-child relationship.
{noformat}
<?xml version="1.0" encoding="UTF-8"?>
<cache xsi:schemaLocation="http://schema.pivotal.io/gemfire/cache http://schema.pivotal.io/gemfire/cache/cache-8.1.xsd" lock-lease="120" lock-timeout="60" search-timeout="300" is-server="false" copy-on-read="false" version="8.1" xmlns="http://schema.pivotal.io/gemfire/cache" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<region name="a">
<region-attributes scope="distributed-ack" data-policy="persistent-replicate"/>
</region>
<region name="b">
<region-attributes scope="distributed-ack" data-policy="persistent-replicate"/>
</region>
</cache>
{noformat}
also
When I execute
{noformat}
create region --name=/b --type=PARTITION_PERSISTENT
{noformat}
it works
List regions showing below but no change in cluster.xml
{noformat}
gfsh>list regions
List of regions
a
a/b
b
{noformat}
Stop and start server getting below value
{noformat}
gfsh>stop server --name=cache1
gfsh>start server --name=cache1 --use-cluster-configuration
gfsh>list regions
List of regions
a
b
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)