mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 03:12:43 +00:00
Fix lock order inversion
This commit is contained in:
parent
04557b9678
commit
c272f4befb
@ -1016,6 +1016,7 @@ FileSegmentsHolderPtr FileCache::getSnapshot()
|
||||
{
|
||||
assertInitialized();
|
||||
|
||||
auto cache_lock = cache_guard.lock();
|
||||
auto lock = metadata.lock();
|
||||
performDelayedRemovalOfDeletedKeysFromMetadata(lock);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user