Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-14015

Tracing SQL: tracing of SELECT queries causes incorrect span inheritance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.10
    • None
    • None
    • Docs Required, Release Notes Required

    Description

      Execution of SELECT queries with tracing enabled leaves span related to this query in MTC#span variable for user thread. So the trace of next operation from the user thread will be inherited from span related to previous query execution. We must clear MTC#span thread local variable after query execution ends.

      Attachments

        Issue Links

          Activity

            People

              PetrovMikhail Mikhail Petrov
              PetrovMikhail Mikhail Petrov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m