You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Zhenglin Tao (Jira)" <ji...@apache.org> on 2021/08/31 08:12:00 UTC

[jira] [Closed] (HAWQ-1803) Core dump in sub-transcation rollback

     [ https://issues.apache.org/jira/browse/HAWQ-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhenglin Tao closed HAWQ-1803.
------------------------------
    Fix Version/s: 3.1.0.0
       Resolution: Fixed

> Core dump in sub-transcation rollback
> -------------------------------------
>
>                 Key: HAWQ-1803
>                 URL: https://issues.apache.org/jira/browse/HAWQ-1803
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.0.0.0
>            Reporter: Zhenglin Tao
>            Assignee: Zhenglin Tao
>            Priority: Major
>             Fix For: 3.1.0.0
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)