Alberto Bustamante Reyes created GEODE-9444: -----------------------------------------------
Summary: Improve gfsh error message when creating persistent region with no persistent gw sender Key: GEODE-9444 URL: https://issues.apache.org/jira/browse/GEODE-9444 Project: Geode Issue Type: Improvement Components: gfsh Reporter: Alberto Bustamante Reyes The error shown in gfsh if you try to create a persistent region with a non-persistent gateway sender is not describing the problem. {code} Cluster-1 gfsh>create region --name=testregion --type=PARTITION_PERSISTENT --disk-store=regionstore --gateway-sender-id=sender Member | Status | Message ------- | ------ | ----------------------------------------------------------------------------------------------------------- server1 | ERROR | An exception was caught while registering PartitionedRegion /testregion. dumpPRId: prIdToPR Map@657410168: server2 | ERROR | An exception was caught while registering PartitionedRegion /testregion. dumpPRId: prIdToPR Map@985461106: {code} You have to check the server logs to check what happened: {code} [warn 2021/07/21 16:30:43.348 CEST <Function Execution Processor2> tid=0x3a] Initialization failed for Region /testregion org.apache.geode.internal.cache.PartitionedRegionException: An exception was caught while registering PartitionedRegion /testregion. dumpPRId: prIdToPR Map@657410168: , caused by org.apache.geode.internal.cache.wan.GatewaySenderConfigurationException: Non persistent gateway sender sender can not be attached to persistent region /testregion {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)