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

Commitdbfb4eb

Browse files
committed
Undo accasipnal changes from 10.0
1 parentdaf54f2 commitdbfb4eb

File tree

1 file changed

+2
-4
lines changed
  • src/backend/storage/file

1 file changed

+2
-4
lines changed

‎src/backend/storage/file/cfs.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,7 @@ static bool cfs_gc_file(char* map_path)
483483

484484
rc=WaitLatch(MyLatch,
485485
WL_TIMEOUT |WL_POSTMASTER_DEATH,
486-
CFS_DISABLE_TIMEOUT/* ms */,
487-
WAIT_EVENT_CFS_GC_ENABLE);
486+
CFS_DISABLE_TIMEOUT/* ms */);
488487
if (cfs_stop|| (rc&WL_POSTMASTER_DEATH)) {
489488
exit(1);
490489
}
@@ -855,8 +854,7 @@ bool cfs_control_gc(bool enabled)
855854
while (pg_atomic_read_u32(&cfs_state->n_active_gc)!=0) {
856855
intrc=WaitLatch(MyLatch,
857856
WL_TIMEOUT |WL_POSTMASTER_DEATH,
858-
CFS_DISABLE_TIMEOUT/* ms */,
859-
WAIT_EVENT_CFS_GC_ENABLE);
857+
CFS_DISABLE_TIMEOUT/* ms */);
860858
if (rc&WL_POSTMASTER_DEATH) {
861859
exit(1);
862860
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp