Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-1162

LP Bug: 1443246 - WRONG QUERY_STATUS/QUERY_SUB_STATUS for canceled queries in METRIC_QUERY_TABLE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • connectivity-mxosrvr
    • None

    Description

      Two scenarios for this issue

      1. Cancel a running query with sql command control query cancel qid "MXID11000013602212294668646838350000000000906U3333300_32053_XX".
      In "REPOS".METRIC_QUERY_TABLE, it has value for EXEC_END_UTC_TS. But QUERY_STATUS is COMPLETED and no value for QUERY_SUB_STATUS. Should either of the status tells that the query was canceled?

      2. Kill the trafci client while a select query is still running.
      In "REPOS".METRIC_QUERY_TABLE, it has value for EXEC_END_UTC_TS. But QUERY_STATUS remains 'EXECUTING' and no value for QUERY_SUB_STATUS. Should either of the status tells that the query was canceled?

      Attachments

        Activity

          People

            jiegao Gao Jie
            fengqian FengQiang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: