mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 19:45:11 +00:00
Update FileCache.cpp
This commit is contained in:
parent
ebc7e30fdf
commit
9325787884
@ -550,6 +550,9 @@ FileCache::FileSegmentCell * FileCache::addCell(
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
/// Avoid errors like
|
||||
/// std::__1::__fs::filesystem::filesystem_error: filesystem error: in create_directories: No space left on device
|
||||
/// and mark file segment with SKIP_CACHE state
|
||||
tryLogCurrentException(__PRETTY_FUNCTION__);
|
||||
result_state = FileSegment::State::SKIP_CACHE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user