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

ASF GitHub Bot commented on DRILL-6081:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/drill/pull/1088


> Duration of completed queries is continuously increasing
> --------------------------------------------------------
>
>                 Key: DRILL-6081
>                 URL: https://issues.apache.org/jira/browse/DRILL-6081
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.13.0
>            Reporter: Anton Gozhiy
>            Assignee: Arina Ielchiieva
>            Priority: Major
>              Labels: ready-to-commit
>             Fix For: 1.13.0
>
>
> Steps:
> 1. Execute some query (for example "select * from sys.version")
> 2. Go to the profiles page: http://node1:8047/profiles
> 3. Open the details page for the query
> 4. Expand the duration section
> Expected result:
> The duration should be adequate and shouldn't be changed after the page reload
> Actual result:
> The duration is continuously increasing (You should reload page to notice 
> that)
> ||Planning||Queued||Execution||Total||
> |0.092 sec|0.012 sec|59 min 36.487 sec        |59 min 36.591 sec|
> Workaround: none
> Note:
> The issue introduced after the following fix:
> https://issues.apache.org/jira/browse/DRILL-5963
> *ROOT CAUSE*
> After refactoring made in DRILL-5963 making query start / queue / end time 
> was moved to another abstraction {{queryStateProcessor}}. On Foreman close 
> {{queryStateProcessor}} was closed after final query profile was stored thus 
> query end time was never updated. To fix this issue we need to close 
> {{queryStateProcessor}} before writing query final profile.



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

Reply via email to