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

Commit9b7049c

Browse files
author
Sokolov Yura
committed
cfs: fix cfs_gc_lock
1 parent3b855b0 commit9b7049c

File tree

1 file changed

+1
-1
lines changed
  • src/backend/storage/file

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ cfs_gc_lock(pg_atomic_uint32* lock)
631631
uint32count=pg_atomic_fetch_add_u32(lock,CFS_GC_LOCK);
632632
longdelay=CFS_LOCK_MIN_TIMEOUT;
633633

634-
while ((count& (CFS_GC_LOCK-1))!=1)
634+
while ((count& (CFS_GC_LOCK-1))!=0)
635635
{
636636
pg_usleep(delay);
637637
count=pg_atomic_read_u32(lock);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp