Skip to content

Commit 598030c

Browse files
committed
Fix CFS GC recovery
1 parent 4b609bd commit 598030c

File tree

1 file changed

+5
-0
lines changed
  • src/backend/storage/file

1 file changed

+5
-0
lines changed

src/backend/storage/file/cfs.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,11 @@ static bool cfs_gc_file(char* map_path, bool background)
764764
remove_backups = false;
765765
goto ReplaceMap;
766766
}
767+
else
768+
{
769+
/* No backups - nothing has to be recovered. Just release GC lock */
770+
break;
771+
}
767772
}
768773
else
769774
{

0 commit comments

Comments
 (0)