mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 12:01:58 +00:00
Update LRUFileCache.cpp
This commit is contained in:
parent
af7acb1782
commit
f7bb69ef7a
@ -843,7 +843,9 @@ void LRUFileCache::loadCacheInfoIntoMemory(std::lock_guard<std::mutex> & cache_l
|
|||||||
if (!files.empty())
|
if (!files.empty())
|
||||||
throw Exception(
|
throw Exception(
|
||||||
REMOTE_FS_OBJECT_CACHE_ERROR,
|
REMOTE_FS_OBJECT_CACHE_ERROR,
|
||||||
"Cache already initialized: this can be result of a first attempt during cache initialization. Please, check log for error messages");
|
"Cache initialization is partially made. "
|
||||||
|
"This can be a result of a first attempt to initialize cache. "
|
||||||
|
"Please, check log for error messages");
|
||||||
|
|
||||||
fs::directory_iterator key_prefix_it{cache_base_path};
|
fs::directory_iterator key_prefix_it{cache_base_path};
|
||||||
for (; key_prefix_it != fs::directory_iterator(); ++key_prefix_it)
|
for (; key_prefix_it != fs::directory_iterator(); ++key_prefix_it)
|
||||||
|
Loading…
Reference in New Issue
Block a user