mirror of
https://github.com/postgres/postgres.git
synced 2025-08-06 18:42:54 +03:00
Add wait event for fsync of WAL segments
This has been visibly a forgotten spot in the first implementation of
wait events for I/O added by 249cf07
, and what has been missing is a
fsync call for WAL segments which is a wrapper reacting on the value of
GUC wal_sync_method.
Reported-by: Konstantin Knizhnik
Author: Konstantin Knizhnik
Reviewed-by: Craig Ringer, Michael Paquier
Discussion: https://postgr.es/m/4a243897-0ad8-f471-aa40-242591f2476e@postgrespro.ru
This commit is contained in:
@@ -1674,6 +1674,10 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser
|
||||
<entry><literal>WALSenderTimelineHistoryRead</literal></entry>
|
||||
<entry>Waiting for a read from a timeline history file during walsender timeline command.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>WALSync</literal></entry>
|
||||
<entry>Waiting for a WAL file to reach stable storage.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><literal>WALSyncMethodAssign</literal></entry>
|
||||
<entry>Waiting for data to reach stable storage while assigning WAL sync method.</entry>
|
||||
|
Reference in New Issue
Block a user