Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-1795

Long Running Queries Are Calculated Incorrectly

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 7.4, 7.5
    • 7.4.1, 7.6
    • AdminApi
    • None

    Description

      The long running query logic in DQPCore uses millisecs when comparing to the query threshhold which is in seconds. It should both be in seconds.

      // check if only need long running queries.
      long elapsedTime = System.currentTimeMillis() - req.getStartTime();
      if (longRunningQueryThreshold == -1 || elapsedTime > longRunningQueryThreshold) {
      results.add(req);
      }

      Attachments

        Activity

          People

            rhn-engineering-shawkins Steven Hawkins
            rhn-engineering-tejones Ted Jones
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: