Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6435

MappingSet is stateful, so it can't be shared between threads

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.14.0
    • None

    Description

      There are several instances where static MappingSet instances are used (for example NestedLoopJoinBatch and BaseSortWrapper). This causes instance reuse across threads when queries are executed concurrently. As MappingSet is a stateful class with visitor design pattern, such reuse causes invalid state.

      Attachments

        Issue Links

          Activity

            People

              vrozov Vlad Rozov
              vrozov Vlad Rozov
              Paul Rogers Paul Rogers
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: