Update pgxn/neon/file_cache.c

Co-authored-by: Anastasia Lubennikova <anastasia@neon.tech>
This commit is contained in:
Konstantin Knizhnik
2023-10-30 19:14:00 +02:00
committed by GitHub
co-authored by Anastasia Lubennikova
parent da34a9ed89
commit 773a8836cc
+1 -1
View File
@@ -102,7 +102,7 @@ static shmem_request_hook_type prev_shmem_request_hook;
void PGDLLEXPORT FileCacheMonitorMain(Datum main_arg);
/*
* Local file cache is mandatory and Neon can work without it.
* Local file cache is optional and Neon can work without it.
* In case of any any errors with this cache, we should disable it but to not throw error.
* Also we should allow re-enable it if source of failure (lack of disk space, permissions,...) is fixed.
* All cache content should be invalidated to avoid reading of stale or corrupted data