diff --git a/dbms/src/Server/Server.cpp b/dbms/src/Server/Server.cpp index c36cb87fd15..8cd2984e482 100644 --- a/dbms/src/Server/Server.cpp +++ b/dbms/src/Server/Server.cpp @@ -1229,6 +1229,11 @@ int Server::main(const std::vector & /*args*/) settings.elastic_threadpool_init_cap, std::chrono::milliseconds(settings.elastic_threadpool_shrink_period_ms)); + // check debug invoker + if (global_context->getSettingsRef().enable_debug_invoker) { + LOG_FMT_WARNING(log, "!!!DANGEROUS!!! DBG Invoker is enabled, please keep it disabled in production env."); + } + /// Then, startup grpc server to serve raft and/or flash services. FlashGrpcServerHolder flash_grpc_server_holder(*this, raft_config, log);