Re: [DISCUSSION] Add cache statistics switch to control script

2021-06-17 Thread Shishkov Ilya
Hi, Andrey Thanks for your comments, I have updated the ticket. Initially, I assumed the 'VisorCacheToggleStatisticsTask' should be used. But, as I see, VisorCacheToggleStatisticsTask doesn't perform any checks of cache existence [1], and this work is done by the IgniteVisorCmd [2]. Moreover, it

Re: [DISCUSSION] Add cache statistics switch to control script

2021-06-16 Thread Andrey Gura
Hi, Ilya Could you please provide more details about how it should work (in issue description)? E.g. what if I pass the cache group name instead of the name of a particular cache? What if I will not pass any cache names? Also we don't use the word "statistics" anymore (while it is still called st

[DISCUSSION] Add cache statistics switch to control script

2021-06-16 Thread Shishkov Ilya
Dear Ignite Community! I propose to discuss the addition of a new feature for control script: cache statistics switch (enabling / disabling). Currently, cache statistics can be toggled only via IgniteVisorCmd or JMX. I've created the corresponding issue [1] and suggest adding an extra option to a '