HuSen8891 commented on code in PR #1020: URL: https://github.com/apache/cloudberry/pull/1020#discussion_r2020378581
########## src/backend/access/transam/parallel.c: ########## @@ -1680,6 +1680,9 @@ void GpDestroyParallelDSMEntry() ParallelEntryTag tag; + if (!ParallelSession || !ParallelSession->segment) + return; Review Comment: > If there is no parallel, the two variables won't be set, and don't need to be reset. Do we really need reset that? We reset these two variables uniformly here ? -- 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