geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (GEODE-4645) gfsh help: Improve description of create region '--if-not-exists' option
Date Tue, 13 Feb 2018 18:57:00 GMT


ASF subversion and git services commented on GEODE-4645:

Commit c03072ddb5454b878f23510405a779261237e0a5 in geode's branch refs/heads/develop from
[;h=c03072d ]

GEODE-4645: Update help string for create region --if-not-exists (#1431)

> gfsh help: Improve description of create region '--if-not-exists' option
> ------------------------------------------------------------------------
>                 Key: GEODE-4645
>                 URL:
>             Project: Geode
>          Issue Type: Improvement
>          Components: gfsh
>    Affects Versions: 1.4.0
>            Reporter: Dave Barnes
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
> 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

View raw message