robertmu opened a new pull request, #28: URL: https://github.com/apache/cloudberry-gpbackup/pull/28
Temporarily modifies the table locking logic to use a standard `LOCK TABLE ... IN ACCESS SHARE MODE` command when running against Cloudberry. This change is necessary because Cloudberry, which is based on PostgreSQL 14, does not support the `COORDINATOR ONLY` clause that was introduced in GPDB 7 as a performance optimization. The use of this unsupported syntax was causing `gpbackup` to panic during the initial table locking phase. A TODO comment has been added to both modified functions (`LockTables` and `LockTableNoWait`) to indicate that this is a workaround. The logic should be reverted to use the `COORDINATOR ONLY` optimization once Cloudberry implements this feature for feature and performance parity with GPDB 7. See https://github.com/apache/cloudberry/issues/1265 -- 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