mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
fix workload entity storage start
This commit is contained in:
parent
93bcf2d8bc
commit
31e2205c4e
@ -86,6 +86,7 @@
|
|||||||
#include <Disks/registerDisks.h>
|
#include <Disks/registerDisks.h>
|
||||||
#include <Common/Scheduler/Nodes/registerSchedulerNodes.h>
|
#include <Common/Scheduler/Nodes/registerSchedulerNodes.h>
|
||||||
#include <Common/Scheduler/Nodes/registerResourceManagers.h>
|
#include <Common/Scheduler/Nodes/registerResourceManagers.h>
|
||||||
|
#include <Common/Scheduler/Workload/IWorkloadEntityStorage.h>
|
||||||
#include <Common/Config/ConfigReloader.h>
|
#include <Common/Config/ConfigReloader.h>
|
||||||
#include <Server/HTTPHandlerFactory.h>
|
#include <Server/HTTPHandlerFactory.h>
|
||||||
#include "MetricsTransmitter.h"
|
#include "MetricsTransmitter.h"
|
||||||
@ -2089,7 +2090,7 @@ try
|
|||||||
/// Load user-defined SQL functions.
|
/// Load user-defined SQL functions.
|
||||||
global_context->getUserDefinedSQLObjectsStorage().loadObjects();
|
global_context->getUserDefinedSQLObjectsStorage().loadObjects();
|
||||||
/// Load WORKLOADs and RESOURCEs.
|
/// Load WORKLOADs and RESOURCEs.
|
||||||
global_context->getWorkloadEntityStorage().loadObjects();
|
global_context->getWorkloadEntityStorage().loadEntities();
|
||||||
}
|
}
|
||||||
catch (...)
|
catch (...)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user