mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Merge pull request #8801 from vitlibar/fix-race-system-reload-all-dictionaries
Fix race when executing SYSTEM RELOAD ALL DICTIONARIES.
This commit is contained in:
commit
f563d7f4b3
@ -540,6 +540,7 @@ public:
|
||||
|
||||
Strings getAllTriedToLoadNames() const
|
||||
{
|
||||
std::lock_guard lock{mutex};
|
||||
Strings names;
|
||||
for (auto & [name, info] : infos)
|
||||
if (info.triedToLoad())
|
||||
|
Loading…
Reference in New Issue
Block a user