backport #39231
This commit is contained in:
@ -233,7 +233,10 @@ Status ExecEnv::_init(const std::vector<StorePath>& store_paths,
|
||||
_load_stream_mgr = std::make_unique<LoadStreamMgr>(num_flush_threads);
|
||||
_new_load_stream_mgr = NewLoadStreamMgr::create_shared();
|
||||
_internal_client_cache = new BrpcClientCache<PBackendService_Stub>();
|
||||
_function_client_cache = new BrpcClientCache<PFunctionService_Stub>();
|
||||
_streaming_client_cache =
|
||||
new BrpcClientCache<PBackendService_Stub>("baidu_std", "single", "streaming");
|
||||
_function_client_cache =
|
||||
new BrpcClientCache<PFunctionService_Stub>(config::function_service_protocol);
|
||||
_stream_load_executor = StreamLoadExecutor::create_shared(this);
|
||||
_routine_load_task_executor = new RoutineLoadTaskExecutor(this);
|
||||
RETURN_IF_ERROR(_routine_load_task_executor->init());
|
||||
@ -631,6 +634,7 @@ void ExecEnv::destroy() {
|
||||
SAFE_DELETE(_routine_load_task_executor);
|
||||
// _stream_load_executor
|
||||
SAFE_DELETE(_function_client_cache);
|
||||
SAFE_DELETE(_streaming_client_cache);
|
||||
SAFE_DELETE(_internal_client_cache);
|
||||
|
||||
SAFE_DELETE(_bfd_parser);
|
||||
|
||||
Reference in New Issue
Block a user