[jira] [Created] (IGNITE-4007) SQL: QueryMetrics.minimumTime() is always zero.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-4007) SQL: QueryMetrics.minimumTime() is always zero.

Anton Vinogradov (Jira)
Alexey Kuznetsov created IGNITE-4007:
----------------------------------------

             Summary: SQL: QueryMetrics.minimumTime() is always zero.
                 Key: IGNITE-4007
                 URL: https://issues.apache.org/jira/browse/IGNITE-4007
             Project: Ignite
          Issue Type: Bug
          Components: SQL
    Affects Versions: 1.6
            Reporter: Alexey Kuznetsov
            Assignee: Alexey Kuznetsov
             Fix For: 1.8


 QueryMetrics.minimumTime() is always zero, because internal AtomicInteger initialized with zero and code that change minTime looks like
{code}minTime.setIfLess(duration);{code}
Obviously that execution time is always >=0 and any number is always is greate than zero and metrics never updated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)