mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 18:32:29 +00:00
Remove fixme
This commit is contained in:
parent
5b7f214ea9
commit
5ee5e2c339
@ -591,9 +591,8 @@ void FileCache::iterateCacheAndCollectKeyLocks(
|
||||
|
||||
void FileCache::removeFileSegment(LockedKey & locked_key, FileSegmentPtr file_segment, const CacheGuard::Lock & cache_lock)
|
||||
{
|
||||
/// FIXME:
|
||||
/// We must hold pointer to file segment while removing it (because we remove file segment under file segment lock).
|
||||
/// But this should not be obligatory.
|
||||
/// We must hold pointer to file segment while removing it
|
||||
/// (because we remove file segment under file segment lock).
|
||||
|
||||
chassert(file_segment->key() == locked_key.getKey());
|
||||
locked_key.removeFileSegment(file_segment->offset(), file_segment->lock(), cache_lock);
|
||||
|
Loading…
Reference in New Issue
Block a user