mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Track the oldest XID that can be safely looked up in CLOG.
This provides infrastructure for looking up arbitrary, user-supplied XIDs without a risk of scary-looking failures from within the clog module. Normally, the oldest XID that can be safely looked up in CLOG is the same as the oldest XID that can reused without causing wraparound, and the latter is already tracked. However, while truncation is in progress, the values are different, so we must keep track of them separately. Craig Ringer, reviewed by Simon Riggs and by me. Discussion: http://postgr.es/m/CAMsr+YHQiWNEi0daCTboS40T+V5s_+dst3PYv_8v2wNVH+Xx4g@mail.gmail.com
This commit is contained in:
@ -1017,6 +1017,10 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser
|
||||
<entry><literal>OldSnapshotTimeMapLock</></entry>
|
||||
<entry>Waiting to read or update old snapshot control information.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>CLogTruncationLock</></entry>
|
||||
<entry>Waiting to truncate the transaction log or waiting for transaction log truncation to finish.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>clog</></entry>
|
||||
<entry>Waiting for I/O on a clog (transaction status) buffer.</entry>
|
||||
|
Reference in New Issue
Block a user