This is an automated email from the ASF dual-hosted git repository.
woblerr pushed a change to branch upgrade-go-1.25
in repository https://gitbox.apache.org/repos/asf/cloudberry-backup.git
at 3570a020 Fix gp_segment_configuration lock e2e test.
This branch includes the following new commits:
new 5253c120 Fix deadlock e2e test transaction handling. The test held
locks with raw BEGIN/COMMIT SQL on DBConn and then reused the same connection
for polling. With pgx v5 this can release the raw transaction lock, so gpbackup
was not blocked and the test observed 0 deadlock traps.
new 365aedf5 Fix pgx v5 PgError handling. After moving to pgx v5, database
errors are returned as pgx/v5/pgconn.PgError. The old jackc/pgconn type
assertions no longer matched, so backup lock handling could treat unexpected
errors as lock-not-available, and restore COPY errors could lose their CONTEXT.
new 2861f472 Fix lock e2e test transaction handling. The deadlock and
signal handler e2e tests still held locks with raw BEGIN/COMMIT SQL on DBConn
and reused those connections for pg_locks polling. With pgx v5 this can release
the raw transaction lock or leave goroutines polling on closed connections,
causing missing blocked-lock counts and DBConn.Get panics. Use explicit
transactions, dedicated lock and polling connections, and synchronize
goroutines before closing test connections.
new 3570a020 Fix gp_segment_configuration lock e2e test.
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]