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

Commitaeb6f4b

Browse files
committed
Re-add tracking of wait event SLRUFlushSync
SLRUFlushSync has been accidently removed duringdee663f, that has movedthe flush of the SLRU files to the checkpointer, so add it back. Theissue has been noticed by Thomas when checking for orphaned waitevents.Author: Thomas MunroReviewed-by: Bharath RupireddyDiscussion:https://postgr.es/m/CA+hUKGK6tqm59KuF1z+h5Y8fsWcu5v8+84kduSHwRzwjB2aa_A@mail.gmail.com
1 parent0e8e5e8 commitaeb6f4b

File tree

1 file changed

+2
-0
lines changed
  • src/backend/access/transam

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1602,7 +1602,9 @@ SlruSyncFileTag(SlruCtl ctl, const FileTag *ftag, char *path)
16021602
if (fd<0)
16031603
return-1;
16041604

1605+
pgstat_report_wait_start(WAIT_EVENT_SLRU_FLUSH_SYNC);
16051606
result=pg_fsync(fd);
1607+
pgstat_report_wait_end();
16061608
save_errno=errno;
16071609

16081610
CloseTransientFile(fd);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp