mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 10:22:10 +00:00
Remove redundant code
This commit is contained in:
parent
c35deb8094
commit
876fb55156
@ -962,11 +962,6 @@ void FileCache::performDelayedRemovalOfDeletedKeysFromMetadata(const CacheMetada
|
||||
/// In this case it will work fine because on each attempt to add any key to cache
|
||||
/// we perform this delayed removal of deleted keys.
|
||||
|
||||
/// We must also lock the key.
|
||||
/// FIXME: I forgot why.
|
||||
auto key_metadata = it->second;
|
||||
auto key_lock = key_metadata->lock();
|
||||
|
||||
/// Remove key from metadata.
|
||||
metadata.erase(it);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user