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

Remove direct references to TopLevelAllocator from unit tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.3.0
    • Execution - Flow
    • None

    Description

      The RootAllocatorFactory should be used throughout the code to allow us to change allocators via configuration or other software choices. Some unit tests still reference TopLevelAllocator directly. We also need to do a better job of handling exceptions that can be handled by close()ing an allocator that isn't in the proper state (remaining open child allocators, outstanding buffers, etc).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cwestin Chris Westin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: