jiaqizho commented on code in PR #1304:
URL: https://github.com/apache/cloudberry/pull/1304#discussion_r2272210152


##########
src/backend/utils/mmgr/portalmem.c:
##########
@@ -587,7 +588,7 @@ PortalDrop(Portal portal, bool isTopCommit)
        if (portal->resowner &&
                (!isTopCommit || portal->status == PORTAL_FAILED))
        {
-               bool            isCommit = (portal->status != PORTAL_FAILED);
+               bool            isCommit = (portal->status != PORTAL_FAILED) && 
!portal->stop_requested_in_motion;

Review Comment:
   Current transaction still committed, Check `stopRequested ` just to prevent 
`resowner` triggering warning.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cloudberry.apache.org
For additional commands, e-mail: commits-h...@cloudberry.apache.org

Reply via email to