Uploaded image for project: 'Apache Lens (Retired)'
  1. Apache Lens (Retired)
  2. LENS-753

Queue number for queries

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.4
    • api, client, server
    • None

    Description

      This is to add queue number for queries after they were launched, in order to give users an idea of the sequence in which their queries were launched. Or in other words, to give them an idea of how many queries were launched before them which are still competing for resources with their query.

      Giving queue numbers from waiting query collection may not be correct as they are not consistent. When a candidate query is picked up from waiting state, it is removed from the collection and checked for cost constraints. If it fails the constraints, the query is added back to the waiting query collection. This causes inconsistency in terms of indices of queries within the collection. Because of this inconsistency, user might see their queue number increasing.

      Attachments

        1. LENS-753.02.patch
          19 kB
          Akshay Goyal
        2. LENS-753.03.patch
          23 kB
          Akshay Goyal
        3. LENS-753.04.patch
          23 kB
          Akshay Goyal

        Issue Links

          Activity

            People

              akshaygoyal Akshay Goyal
              akshaygoyal Akshay Goyal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: