Update LRUFileCache.cpp

This commit is contained in:
Kseniia Sumarokova 2022-07-19 14:43:11 +02:00 committed by GitHub
parent af7acb1782
commit f7bb69ef7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -843,7 +843,9 @@ void LRUFileCache::loadCacheInfoIntoMemory(std::lock_guard<std::mutex> & cache_l
if (!files.empty())
throw Exception(
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};
for (; key_prefix_it != fs::directory_iterator(); ++key_prefix_it)