Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8f8f115

Browse files
Update more obsolete multixact.c comments.
Update some remaining comments in multixact.c that still described SLRUtruncation as happening in the checkpointer, rather than during VACUUM.Follow-up to commit5212d44.Shi yu, with tweaks by me.Author: Shi yu <shiy.fnst@fujitsu.com>Discussion:https://postgr.es/m/OSZPR01MB631066BF246F8F74E83222FCFDC69@OSZPR01MB6310.jpnprd01.prod.outlook.com
1 parent1249371 commit8f8f115

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/access/transam/multixact.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ typedef struct MultiXactStateData
261261
* we compute it (using nextMXact if none are valid). Each backend is
262262
* required not to attempt to access any SLRU data for MultiXactIds older
263263
* than its own OldestVisibleMXactId[] setting; this is necessary because
264-
* thecheckpointer could truncate away such data at any instant.
264+
* therelevant SLRU data can be concurrently truncated away.
265265
*
266266
* The oldest valid value among all of the OldestMemberMXactId[] and
267267
* OldestVisibleMXactId[] entries is considered by vacuum as the earliest
@@ -669,8 +669,8 @@ MultiXactIdSetOldestMember(void)
669669
*
670670
* We set the OldestVisibleMXactId for a given transaction the first time
671671
* it's going to inspect any MultiXactId. Once we have set this, we are
672-
* guaranteed thatthe checkpointer won't truncate off SLRU data for
673-
*MultiXactIds at or after our OldestVisibleMXactId.
672+
* guaranteed thatSLRU data for MultiXactIds >= our own OldestVisibleMXactId
673+
*won't be truncated away.
674674
*
675675
* The value to set is the oldest of nextMXact and all the valid per-backend
676676
* OldestMemberMXactId[] entries. Because of the locking we do, we can be

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp