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

Clear ThreadLocal Contexts when query failed before scaning HBase

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • v1.5.4
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: