This is an automated email from the ASF dual-hosted git repository. yjhjstz pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit e56be3872cfb07e5e460dba6cb9af01e31c31dcd Author: Huansong Fu <[email protected]> AuthorDate: Tue Mar 12 07:38:11 2024 -0700 Remove a duplicated pfree code from ResolveRecoveryConflictWithVirtualXIDs This old snipet was supposed to be removed with commit https://github.com/greenplum-db/gpdb/commit/611fed371227, but it wasn't. That resulted in running pfree on the same memory twice when doing query conflict checks. Remove it now. --- src/backend/storage/ipc/standby.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/backend/storage/ipc/standby.c b/src/backend/storage/ipc/standby.c index 414cdc5154..687ce03767 100644 --- a/src/backend/storage/ipc/standby.c +++ b/src/backend/storage/ipc/standby.c @@ -420,13 +420,6 @@ ResolveRecoveryConflictWithVirtualXIDs(VirtualTransactionId *waitlist, } } - /* Reset ps display if we changed it */ - if (new_status) - { - set_ps_display(new_status); - pfree(new_status); - } - /* The virtual transaction is gone now, wait for the next one */ waitlist++; } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
