MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / start

Method start

src/Server/GRPCServer.cpp:821–836  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

819 }
820
821 void Call::start(const std::function<void(void)> & on_finish_call_callback)
822 {
823 auto runner_function = [this, on_finish_call_callback]
824 {
825 try
826 {
827 run();
828 }
829 catch (...)
830 {
831 tryLogCurrentException("GRPCServer");
832 }
833 on_finish_call_callback();
834 };
835 call_thread = ThreadFromGlobalPool(runner_function);
836 }
837
838 void Call::run()
839 {

Callers 14

processInputMethod · 0.45
onNewCallMethod · 0.45
createServerFunction · 0.45
runImplMethod · 0.45
processInsertQueryMethod · 0.45
processDataMethod · 0.45
processCopyQueryMethod · 0.45
initializeMainThreadMethod · 0.45
RestCatalogTestServerMethod · 0.45

Calls 8

initGRPCLoggingFunction · 0.85
makeCredentialsFunction · 0.85
runFunction · 0.50
tryLogCurrentExceptionFunction · 0.50
ExceptionClass · 0.50
configMethod · 0.45
toStringMethod · 0.45
getIntMethod · 0.45

Tested by 1

RestCatalogTestServerMethod · 0.36