You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Sherry Guo (JIRA)" <ji...@apache.org> on 2015/10/22 22:32:27 UTC
[jira] [Commented] (SLIDER-657) Introduce --force switch for slider
destroy command
[ https://issues.apache.org/jira/browse/SLIDER-657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14969845#comment-14969845 ]
Sherry Guo commented on SLIDER-657:
-----------------------------------
Hi,
I worked on a patch for this. Please help review. Thanks.
> Introduce --force switch for slider destroy command
> ---------------------------------------------------
>
> Key: SLIDER-657
> URL: https://issues.apache.org/jira/browse/SLIDER-657
> Project: Slider
> Issue Type: Bug
> Components: client
> Affects Versions: Slider 0.60
> Reporter: Gour Saha
>
> Slider destroy has irrecoverable implications where directories and registries are permanently deleted. For some applications this could mean loosing valuable data. It might be a good idea to introduce a {{--force}} switch, so that admins/application-owners are given a chance to ensure they know what they are doing.
> This is something in-line with *git clean*. When invoked by default it fails with a message saying {{-f}} is mandatory (unless the git config variable clean.requireForce is set to false). If the user is confident he/she will re-run the command with the force switch.
> Slider could do something similar.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)