Skip to content

Commit dbfb4eb

Browse files
committed
Undo accasipnal changes from 10.0
1 parent daf54f2 commit dbfb4eb

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
int rc = 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy