Skip to content

Commit

Permalink
add a log for DGB Invoker
Browse files Browse the repository at this point in the history
Signed-off-by: Schrodinger ZHU Yifan <[email protected]>
  • Loading branch information
SchrodingerZhu committed Jan 10, 2022
1 parent 3ed6bd4 commit f7e63a3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dbms/src/Server/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1229,6 +1229,11 @@ int Server::main(const std::vector<std::string> & /*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);

Expand Down

0 comments on commit f7e63a3

Please sign in to comment.