You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dave Barnes (JIRA)" <ji...@apache.org> on 2018/02/09 18:09:00 UTC

[jira] [Created] (GEODE-4645) gfsh help: Improve description of create region '--if-not-exists' option

Dave Barnes created GEODE-4645:
----------------------------------

             Summary: gfsh help: Improve description of create region '--if-not-exists' option
                 Key: GEODE-4645
                 URL: https://issues.apache.org/jira/browse/GEODE-4645
             Project: Geode
          Issue Type: Improvement
          Components: gfsh
            Reporter: Dave Barnes


The create region option `--if-not-exists` (formerly `--skip-if-exists`) is described as follows in the gfsh help:

  Skip region creation if the region already exists.

This is inaccurate, as `create region` *never* creates a duplicate region if one already exists. The option merely de-escalates the response level from "throw an error and stop" to "print an informational message and continue."

Here's a suggested replacement for the help message based on the User Guide (edit as you see fit):

  By default, an attempt to create a duplicate region is reported as an error. If this option is specified without a value or is specified with a value of `true`, then gfsh displays a "Skipping..." acknowledgement, but does not throw an error.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)