[ 
https://issues.apache.org/jira/browse/IGNITE-23655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nikolay Izhikov updated IGNITE-23655:
-------------------------------------
    Description: 
Ignite provides idle_verify command to check partitions copies control sums - 
https://ignite.apache.org/docs/latest/tools/control-script#verifying-partition-checksums

idle_verify is long running command, especially on large clusters.
Currently, only way to cancel idle_verify run via {{control.sh --kill compute 
$session_id}} call.
But, it's inconvinient for a user, because, session_id search in jobs, tasks 
system view required.

Note, there can be only one idle_verify invocation in cluster at a time.

To help admin, let's introduce short cut command to cancel idle_verify. Format

{{control.sh --cache idle_verify --cancel}} - similar to other cancel command 
(snapshot, etc).

https://cwiki.apache.org/confluence/display/IGNITE/IEP-81+Cluster+Management+API
 - description of command (management API framework).

Commands to start with:
https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/management/cache/CacheIdleVerifyCommand.java
https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/management/cache/CacheIdleVerifyDumpCommand.java

  was:
Ignite provides idle_verify command to check partitions copies control sums - 
https://ignite.apache.org/docs/latest/tools/control-script#verifying-partition-checksums

idle_verify is long running command, especially on large clusters.
Currently, only way to cancel idle_verify run via {{control.sh --kill compute 
$session_id}} call.
But, it's inconvinient for a use, because, session_id search in jobs, tasks 
system view required.

Note, there can be only one idle_verify invocation in cluster at a time.

To help admin, let's introduce short cut command to cancel idle_verify. Format

{{control.sh --cache idle_verify --cancel}} - similar to other cancel command 
(snapshot, etc).

https://cwiki.apache.org/confluence/display/IGNITE/IEP-81+Cluster+Management+API
 - description of command (management API framework).

Commands to start with:
https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/management/cache/CacheIdleVerifyCommand.java
https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/management/cache/CacheIdleVerifyDumpCommand.java


> Command to cancel idle_verify run
> ---------------------------------
>
>                 Key: IGNITE-23655
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23655
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Nikolay Izhikov
>            Priority: Major
>              Labels: IEP-81, ise
>
> Ignite provides idle_verify command to check partitions copies control sums - 
> https://ignite.apache.org/docs/latest/tools/control-script#verifying-partition-checksums
> idle_verify is long running command, especially on large clusters.
> Currently, only way to cancel idle_verify run via {{control.sh --kill compute 
> $session_id}} call.
> But, it's inconvinient for a user, because, session_id search in jobs, tasks 
> system view required.
> Note, there can be only one idle_verify invocation in cluster at a time.
> To help admin, let's introduce short cut command to cancel idle_verify. Format
> {{control.sh --cache idle_verify --cancel}} - similar to other cancel command 
> (snapshot, etc).
> https://cwiki.apache.org/confluence/display/IGNITE/IEP-81+Cluster+Management+API
>  - description of command (management API framework).
> Commands to start with:
> https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/management/cache/CacheIdleVerifyCommand.java
> https://github.com/apache/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/management/cache/CacheIdleVerifyDumpCommand.java



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to