Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-1214

Remove resource_parameters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0.0-incubating
    • None
    • None

    Description

      The reasons are:

      1) It is not used anymore.

      2) Have seen crash due to this. The scenario is that:

      The datalocality memory context on which resource_parameters is palloc-ed is reset before calculate_planner_segment_num() finishes, thus later access to resource_parameters could lead to crash or wrong results. A code path example which could lead to segfault is:

      ProcessUtility()>PerformCursorOpen()>_copyPlannedStmt()->_copyQueryResourceParameters()

      Attachments

        Issue Links

          Activity

            People

              Paul Guo Paul Guo
              Paul Guo Paul Guo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: