Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-4645

gfsh help: Improve description of create region '--if-not-exists' option

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4.0
    • 1.5.0
    • gfsh

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dbarnes Dave Barnes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m