avamingli commented on code in PR #852:
URL: https://github.com/apache/cloudberry/pull/852#discussion_r1908353417


##########
src/backend/commands/vacuum.c:
##########
@@ -2003,8 +2003,13 @@ vac_update_datfrozenxid(void)
        /* chicken out if bogus data found */
        if (bogus)
        {
-               /* Cherry-pick from GPDB FIXME: is it right for PG14? */
-               UnLockDatabaseFrozenIds(ExclusiveLock);
+               /*
+                * Cherry-pick from GPDB FIXME: is it right for PG14?
+                * Ignore this for error.
+                */
+#if 0
+                UnLockDatabaseFrozenIds(ExclusiveLock);

Review Comment:
   It seems that GPDB attempted to resolve a critical bug, but it will 
encounter issues when transitioning to PG14. To manage this, I’ve implemented a 
code fix using macros, so that if we encounter the bug again, we can easily 
address it and save ourselves the hassle of troubleshooting in the future.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to