Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-1992

Clear ThreadLocal Contexts when query failed before scaning HBase

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.5.4
    • Component/s: None
    • Labels:
      None

      Description

      currently, we call `OLAPContext.clearThreadLocalContexts()` function before scaning HBase.
      if query failed before scaning HBase, we would get wrong `realization` of the query in the log possibly.
      Because the thread pool of Tomcat multiplexed the thread and didn't clear ThreadLocal variable.

        Attachments

        1. KYLIN-1992.patch
          1 kB
          Kaisen Kang

          Activity

            People

            • Assignee:
              kangkaisen Kaisen Kang
              Reporter:
              kangkaisen Kaisen Kang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: