You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Sushil Mohanty (JIRA)" <ji...@apache.org> on 2016/03/31 12:51:25 UTC

[jira] [Updated] (LENS-995) QueryContextPriorityComparator should compare the priorities instead of cost

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

Sushil Mohanty updated LENS-995:
--------------------------------
    Attachment: LENS-995-3.patch

> QueryContextPriorityComparator should compare the priorities instead of cost
> ----------------------------------------------------------------------------
>
>                 Key: LENS-995
>                 URL: https://issues.apache.org/jira/browse/LENS-995
>             Project: Apache Lens
>          Issue Type: Improvement
>          Components: server
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Sushil Mohanty
>             Fix For: 2.6
>
>         Attachments: LENS-995-3.patch
>
>
> Right now, we are comparing queries on query cost and queries with same priority can change position in queue, because of cost values being different.
> Instead we should compare on priority instead of cost sothat the position of query does not change within the same priority bucket.



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