[
https://issues.apache.org/jira/browse/IGNITE-15445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Pereslegin updated IGNITE-15445:
--------------------------------------
Description:
Currently, there is no way to delete caches using the control.sh script.
This feature is available through JMX, REST, SQL (partially), and
ignitevisor.sh.
However, ignitevisor.sh is not very convenient to use - it needs to start a
separate daemon node.
We should add this feature to the control script.
Suggested command syntax.
{noformat}
--cache destroy [cacheName1,...,cacheNameN] [--destroy-all-caches]
[--skip-existence-check]
Permanently destroy specified caches.
Parameters:
--destroy-all-caches - permanently destroy all user-created caches.
--skip-existence-check - disable check for cache existence, otherwise,
the command will fail if at least one of the specified caches does not exist.
{noformat}
was:
Currently, there is no way to delete caches using the control.sh script.
This feature is available through JMX, REST, SQL (partially), and
ignitevisor.sh.
However, ignitevisor.sh is not very convenient to use - it needs to start a
separate daemon node.
We should add this feature to the control script.
Suggested command syntax.
{noformat}
--cache destroy [cacheName1,...,cacheNameN] [--destroy-all-caches]
[--skip-existence-check]
Permanently destroy specified caches.
Parameters:
--destroy-all-caches - permanently destroy all user-created caches.
--skip-existence-check - disable check for cache existence, otherwise,
the command will fail if at least one of the specified caches does not exist.
{noformat}
> Add cache drop (delete, destroy) command to control.sh script
> -------------------------------------------------------------
>
> Key: IGNITE-15445
> URL: https://issues.apache.org/jira/browse/IGNITE-15445
> Project: Ignite
> Issue Type: Improvement
> Components: control.sh
> Reporter: Pavel Pereslegin
> Assignee: Pavel Pereslegin
> Priority: Major
> Labels: ise
> Fix For: 2.12
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently, there is no way to delete caches using the control.sh script.
> This feature is available through JMX, REST, SQL (partially), and
> ignitevisor.sh.
> However, ignitevisor.sh is not very convenient to use - it needs to start a
> separate daemon node.
> We should add this feature to the control script.
> Suggested command syntax.
> {noformat}
> --cache destroy [cacheName1,...,cacheNameN] [--destroy-all-caches]
> [--skip-existence-check]
> Permanently destroy specified caches.
> Parameters:
> --destroy-all-caches - permanently destroy all user-created caches.
> --skip-existence-check - disable check for cache existence, otherwise,
> the command will fail if at least one of the specified caches does not exist.
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)