mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Update src/Interpreters/Context.cpp
This commit is contained in:
parent
44162c28c0
commit
79a6be08d1
@ -2029,6 +2029,8 @@ void Context::reloadConfig() const
|
||||
|
||||
void Context::shutdown()
|
||||
{
|
||||
// Disk selector might not be initialized if there was some error during
|
||||
// its initialization. Don't try to initialize it again on shutdown.
|
||||
if (shared->merge_tree_disk_selector)
|
||||
{
|
||||
for (auto & [disk_name, disk] : getDisksMap())
|
||||
|
Loading…
Reference in New Issue
Block a user