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

Commit84cc142

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 parentbfac8f8 commit84cc142

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
@@ -1603,7 +1603,9 @@ SlruSyncFileTag(SlruCtl ctl, const FileTag *ftag, char *path)
16031603
if (fd<0)
16041604
return-1;
16051605

1606+
pgstat_report_wait_start(WAIT_EVENT_SLRU_FLUSH_SYNC);
16061607
result=pg_fsync(fd);
1608+
pgstat_report_wait_end();
16071609
save_errno=errno;
16081610

16091611
CloseTransientFile(fd);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp