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/27 06:45:00 UTC
[jira] [Created] (HAWQ-1803) Core dump in sub-transcation rollback
Zhenglin Tao created HAWQ-1803:
----------------------------------
Summary: 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
Reporter: Zhenglin Tao
Assignee: Ruilong Huo
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)