Fix a couple of wait event descriptions.
authorNathan Bossart <[email protected]>
Tue, 20 Aug 2024 18:43:20 +0000 (13:43 -0500)
committerNathan Bossart <[email protected]>
Tue, 20 Aug 2024 18:43:20 +0000 (13:43 -0500)
The descriptions for ProcArrayGroupUpdate and XactGroupUpdate claim
that these events mean we are waiting for the group leader "at end
of a parallel operation," but neither pertains to parallel
operations.  This commit reverts these descriptions to their
wording before commit 3048898e73, i.e., "end of a parallel
operation" is changed to "transaction end."

Author: Sameer Kumar
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/CAGPeHmh6UMrKQHKCmX%2B5vV5TH9P%3DKw9en3k68qEem6J%3DyrZPUA%40mail.gmail.com
Back-through: 13

src/backend/utils/activity/wait_event_names.txt

index d10ca723dc834c4869ab62782451a5f8066c0052..8efb4044d6f1dc6b750666b0e73286d4867b8d3c 100644 (file)
@@ -143,7 +143,7 @@ MULTIXACT_CREATION  "Waiting for a multixact creation to complete."
 PARALLEL_BITMAP_SCAN   "Waiting for parallel bitmap scan to become initialized."
 PARALLEL_CREATE_INDEX_SCAN "Waiting for parallel <command>CREATE INDEX</command> workers to finish heap scan."
 PARALLEL_FINISH    "Waiting for parallel workers to finish computing."
-PROCARRAY_GROUP_UPDATE "Waiting for the group leader to clear the transaction ID at end of a parallel operation."
+PROCARRAY_GROUP_UPDATE "Waiting for the group leader to clear the transaction ID at transaction end."
 PROC_SIGNAL_BARRIER    "Waiting for a barrier event to be processed by all backends."
 PROMOTE    "Waiting for standby promotion."
 RECOVERY_CONFLICT_SNAPSHOT "Waiting for recovery conflict resolution for a vacuum cleanup."
@@ -158,7 +158,7 @@ SYNC_REP    "Waiting for confirmation from a remote server during synchronous repli
 WAL_RECEIVER_EXIT  "Waiting for the WAL receiver to exit."
 WAL_RECEIVER_WAIT_START    "Waiting for startup process to send initial data for  replication."
 WAL_SUMMARY_READY  "Waiting for a new WAL summary to be generated."
-XACT_GROUP_UPDATE  "Waiting for the group leader to update transaction status at end of a parallel operation."
+XACT_GROUP_UPDATE  "Waiting for the group leader to update transaction status at transaction end."
 
 ABI_compatibility: