Uploaded image for project: 'Apache HAWQ (Retired)'
  1. Apache HAWQ (Retired)
  2. HAWQ-1803

Core dump in sub-transcation rollback

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0.0
    • 3.1.0.0
    • Core
    • None

    Description

      For error handling on analyzeRelation failure in analyzeStmt,
      RollbackAndReleaseCurrentSubTransaction would be called and finally
      result in AtEOSubXact_SPI for resource release.

      However, the sub-transaction ID of the ANALYZE statement does not match
      that of the original SPI invoke. And this would result in an early
      release of the SPI's memory context, leading to memory corruption when
      there is still any other queries following the ANALYZE statement.

      Attachments

        Activity

          People

            ztao1987 Zhenglin Tao
            ztao1987 Zhenglin Tao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: