[jira] [Updated] (IGNITE-10896) Add ability to use simultaneous cache filtering options with control.sh --cache idle_verify

2020-07-15 Thread Ilya Kasnacheev (Jira)


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

Ilya Kasnacheev updated IGNITE-10896:
-
Component/s: control.sh

> Add ability to use simultaneous cache filtering options with control.sh 
> --cache idle_verify
> ---
>
> Key: IGNITE-10896
> URL: https://issues.apache.org/jira/browse/IGNITE-10896
> Project: Ignite
>  Issue Type: Improvement
>  Components: control.sh
>Reporter: ARomantsov
>Assignee: Denis Chudov
>Priority: Major
> Fix For: 2.8
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Now I can use only one of next options
> 1) --exclude-caches cache1,...,cacheN
> 2) --cache-filter ALL|SYSTEM|PERSISTENT|NOT_PERSISTENT
> 3) cache1,...,cacheN
> Trying to use two or more of this options currently results in error:
> {noformat}
> Error: Should use only one of option: --excludeCaches, --cache-filter or pass 
> caches explicitly
> {noformat}
> Instead, utility should do the following:
>  1) when two or more options specified, result cache set to make dump of 
> should be logical AND of results of each option applied individually.
>  ex. 
> {noformat}
>  cache.* --cache-filter PERSISTENT
> {noformat}
> should select all persistent caches starting from 'cache'
> {noformat}
>--cache-filter ALL
>--exclude-caches wrong-.*-caches
> {noformat}
> should select all caches but matching 'wrong-.*-caches' regexp
>  etc.
>  2) filtering options passed to control utility should be logged into result 
> dump file, so that user could understand that dump was taken from subset of 
> cluster caches
>  3) when result of filter or filters AND'ing is empty set of cache names, 
> proper error message should be given and no dump file generated.
> e.g. 
> {noformat}Error: can't find any cache matching cache names '--skup-zerus' and 
> cache filter 'PERSISTENT', dump won't be generated.{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (IGNITE-10896) Add ability to use simultaneous cache filtering options with control.sh --cache idle_verify

2019-01-23 Thread Max Shonichev (JIRA)


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

Max Shonichev updated IGNITE-10896:
---
Description: 
Now I can use only one of next options
1) --exclude-caches cache1,...,cacheN
2) --cache-filter ALL|SYSTEM|PERSISTENT|NOT_PERSISTENT
3) cache1,...,cacheN

Trying to use two or more of this options currently results in error:
{noformat}
Error: Should use only one of option: --excludeCaches, --cache-filter or pass 
caches explicitly
{noformat}

Instead, utility should do the following:
 1) when two or more options specified, result cache set to make dump of should 
be logical AND of results of each option applied individually.
 ex. 
{noformat}
 cache.* --cache-filter PERSISTENT
{noformat}
should select all persistent caches starting from 'cache'

{noformat}
   --cache-filter ALL
   --exclude-caches wrong-.*-caches
{noformat}
should select all caches but matching 'wrong-.*-caches' regexp
 etc.

 2) filtering options passed to control utility should be logged into result 
dump file, so that user could understand that dump was taken from subset of 
cluster caches

 3) when result of filter or filters AND'ing is empty set of cache names, 
proper error message should be given and no dump file generated.
e.g. 
{noformat}Error: can't find any cache matching cache names '--skup-zerus' and 
cache filter 'PERSISTENT', dump won't be generated.{noformat}



  was:
Now I can use only one of next options
1) --exclude-caches cache1,...,cacheN
2) --cache-filter ALL|SYSTEM|PERSISTENT|NOT_PERSISTENT
3) cache1,...,cacheN

Trying to use two or more of this options currently results in error:
{noformat}
Error: Should use only one of option: --excludeCaches, --cache-filter or pass 
caches explicitly
{noformat}

Instead, utility should do the following:
 1) when two or more options specified, result cache set to make dump of should 
be logical AND of results of each option applied individually.
 ex. 
{noformat}
 cache.* --cache-filter PERSISTENT
{noformat}
should select all persistent caches starting from 'cache'

{noformat}
   --cache-filter ALL
   --exclude-caches wrong-.*-caches
{noformat}
should select all caches but matching 'wrong-.*-caches' regexp
 etc.

 2) filtering options passed to control utility should be logged into result 
dump file, so that user could understand that dump was taken from subset of 
cluster caches

 3) when result of filter or filters AND'ing is empty set of cache names, 
proper error message should be given and no dump file generated.
e.g. 
{noformat}Error: can't find any cache with cache names '--skup-zerus' and cache 
filter 'PERSISTENT', dump won't be generated.{noformat}




> Add ability to use simultaneous cache filtering options with control.sh 
> --cache idle_verify
> ---
>
> Key: IGNITE-10896
> URL: https://issues.apache.org/jira/browse/IGNITE-10896
> Project: Ignite
>  Issue Type: Improvement
>Reporter: ARomantsov
>Priority: Major
> Fix For: 2.8
>
>
> Now I can use only one of next options
> 1) --exclude-caches cache1,...,cacheN
> 2) --cache-filter ALL|SYSTEM|PERSISTENT|NOT_PERSISTENT
> 3) cache1,...,cacheN
> Trying to use two or more of this options currently results in error:
> {noformat}
> Error: Should use only one of option: --excludeCaches, --cache-filter or pass 
> caches explicitly
> {noformat}
> Instead, utility should do the following:
>  1) when two or more options specified, result cache set to make dump of 
> should be logical AND of results of each option applied individually.
>  ex. 
> {noformat}
>  cache.* --cache-filter PERSISTENT
> {noformat}
> should select all persistent caches starting from 'cache'
> {noformat}
>--cache-filter ALL
>--exclude-caches wrong-.*-caches
> {noformat}
> should select all caches but matching 'wrong-.*-caches' regexp
>  etc.
>  2) filtering options passed to control utility should be logged into result 
> dump file, so that user could understand that dump was taken from subset of 
> cluster caches
>  3) when result of filter or filters AND'ing is empty set of cache names, 
> proper error message should be given and no dump file generated.
> e.g. 
> {noformat}Error: can't find any cache matching cache names '--skup-zerus' and 
> cache filter 'PERSISTENT', dump won't be generated.{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-10896) Add ability to use simultaneous cache filtering options with control.sh --cache idle_verify

2019-01-23 Thread Max Shonichev (JIRA)


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

Max Shonichev updated IGNITE-10896:
---
Description: 
Now I can use only one of next options
1) --exclude-caches cache1,...,cacheN
2) --cache-filter ALL|SYSTEM|PERSISTENT|NOT_PERSISTENT
3) cache1,...,cacheN

Trying to use two or more of this options currently results in error:
{noformat}
Error: Should use only one of option: --excludeCaches, --cache-filter or pass 
caches explicitly
{noformat}

Instead, utility should do the following:
 1) when two or more options specified, result cache set to make dump of should 
be logical AND of results of each option applied individually.
 ex. 
{noformat}
 cache.* --cache-filter PERSISTENT
{noformat}
should select all persistent caches starting from 'cache'

{noformat}
   --cache-filter ALL
   --exclude-caches wrong-.*-caches
{noformat}
should select all caches but matching 'wrong-.*-caches' regexp
 etc.

 2) filtering options passed to control utility should be logged into result 
dump file, so that user could understand that dump was taken from subset of 
cluster caches

 3) when result of filter or filters AND'ing is empty set of cache names, 
proper error message should be given and no dump file generated.
e.g. 
{noformat}Error: can't find any cache with cache names '--skup-zerus' and cache 
filter 'PERSISTENT', dump won't be generated.{noformat}



  was:
Now I can use only one of next options
1) --exclude-caches cache1,...,cacheN
2) --cache-filter ALL|SYSTEM|PERSISTENT|NOT_PERSISTENT
3) cache1,...,cacheN

Trying to use options



> Add ability to use simultaneous cache filtering options with control.sh 
> --cache idle_verify
> ---
>
> Key: IGNITE-10896
> URL: https://issues.apache.org/jira/browse/IGNITE-10896
> Project: Ignite
>  Issue Type: Improvement
>Reporter: ARomantsov
>Priority: Major
> Fix For: 2.8
>
>
> Now I can use only one of next options
> 1) --exclude-caches cache1,...,cacheN
> 2) --cache-filter ALL|SYSTEM|PERSISTENT|NOT_PERSISTENT
> 3) cache1,...,cacheN
> Trying to use two or more of this options currently results in error:
> {noformat}
> Error: Should use only one of option: --excludeCaches, --cache-filter or pass 
> caches explicitly
> {noformat}
> Instead, utility should do the following:
>  1) when two or more options specified, result cache set to make dump of 
> should be logical AND of results of each option applied individually.
>  ex. 
> {noformat}
>  cache.* --cache-filter PERSISTENT
> {noformat}
> should select all persistent caches starting from 'cache'
> {noformat}
>--cache-filter ALL
>--exclude-caches wrong-.*-caches
> {noformat}
> should select all caches but matching 'wrong-.*-caches' regexp
>  etc.
>  2) filtering options passed to control utility should be logged into result 
> dump file, so that user could understand that dump was taken from subset of 
> cluster caches
>  3) when result of filter or filters AND'ing is empty set of cache names, 
> proper error message should be given and no dump file generated.
> e.g. 
> {noformat}Error: can't find any cache with cache names '--skup-zerus' and 
> cache filter 'PERSISTENT', dump won't be generated.{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (IGNITE-10896) Add ability to use simultaneous cache filtering options with control.sh --cache idle_verify

2019-01-23 Thread Max Shonichev (JIRA)


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

Max Shonichev updated IGNITE-10896:
---
Summary: Add ability to use simultaneous cache filtering options with 
control.sh --cache idle_verify  (was: Add ability to use more than one key with 
control.sh --cache idle_verify)

> Add ability to use simultaneous cache filtering options with control.sh 
> --cache idle_verify
> ---
>
> Key: IGNITE-10896
> URL: https://issues.apache.org/jira/browse/IGNITE-10896
> Project: Ignite
>  Issue Type: Improvement
>Reporter: ARomantsov
>Priority: Major
> Fix For: 2.8
>
>
> Now I can use only one of next options
> 1) --exclude-caches cache1,...,cacheN
> 2) --cache-filter ALL|SYSTEM|PERSISTENT|NOT_PERSISTENT
> 3) cache1,...,cacheN
> Trying to use options



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)