[ 
https://issues.apache.org/jira/browse/IGNITE-22562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17877279#comment-17877279
 ] 

Julia Bakulina commented on IGNITE-22562:
-----------------------------------------

[~PetrovMikhail] thank you for your review!

> Improve message about turning on statistics usage state from null to ON
> -----------------------------------------------------------------------
>
>                 Key: IGNITE-22562
>                 URL: https://issues.apache.org/jira/browse/IGNITE-22562
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Julia Bakulina
>            Assignee: Julia Bakulina
>            Priority: Minor
>              Labels: ise
>             Fix For: 2.17
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Currently, if you turn on statistics using
> {code:java}
> ./control.sh --property set --name 'statistics.usage.state' --val 'ON'{code}
> there will be the output below in ignite.log.
> {code:java}
> 2024-06-19 10:03:44.873 [INFO 
> ][disco-notifier-worker-#98][org.apache.ignite.internal.processors.query.stat.IgniteStatisticsManagerImpl]
>  Statistics usage state was changed from null to ON
> {code}
> If not to turn on statistics the log will contain the output below.
> {code:java}
> [2024-08-26T15:10:54,959][INFO ][main][IgniteStatisticsManagerImpl] 
> Statistics usage state was changed from null to null{code}
> According to [ignite 
> code|https://github.com/apache/ignite/blob/f9a2921346a8d8fa79bdb2286bd97cc7f9baacd9/modules/core/src/main/java/org/apache/ignite/internal/processors/query/stat/IgniteStatisticsManagerImpl.java#L60],
>  DEFAULT_STATISTICS_USAGE_STATE=ON thus null is by default ON.
> Thus the output message in ignite.log is unclear to the user whether the 
> stats is already ON or not stated.



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

Reply via email to