You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "nabarun (JIRA)" <ji...@apache.org> on 2018/10/03 21:38:27 UTC
[jira] [Closed] (GEODE-5206) Add an 'ignoreFailure' flag to
CliFunctionResult
[ https://issues.apache.org/jira/browse/GEODE-5206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nabarun closed GEODE-5206.
--------------------------
> Add an 'ignoreFailure' flag to CliFunctionResult
> ------------------------------------------------
>
> Key: GEODE-5206
> URL: https://issues.apache.org/jira/browse/GEODE-5206
> Project: Geode
> Issue Type: Improvement
> Components: gfsh
> Reporter: Jens Deppe
> Assignee: Jens Deppe
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.7.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> Various commands have the ability to be idempotent with a {{--skip-if-exists}} (typically creation) or {{\-\-if-exists}} (typically deletion). This flag is passed to the function performing the actual work. With new cluster config POJOs we want to have the functions *only* accept the POJO as an argument. To that end the function should be able to set this new flag if the action fails because of a missing or already existing component. It will then be up to the command to process the returned {{CliFunctionResult}} to determine what to present to the user.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)