MCPcopy Create free account
hub / github.com/apache/impala / RespondSuccess

Method RespondSuccess

be/src/kudu/rpc/rpc_context.cc:70–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void RpcContext::RespondSuccess() {
71 if (AreResultsTracked()) {
72 result_tracker_->RecordCompletionAndRespond(call_->header().request_id(),
73 response_pb_);
74 } else {
75 VLOG(4) << call_->remote_method().service_name() << ": Sending RPC success response for "
76 << call_->ToString() << ":" << std::endl << SecureDebugString(*response_pb_);
77 TRACE_EVENT_ASYNC_END2("rpc_call", "RPC", this,
78 "response", pb_util::PbTracer::TracePb(*response_pb_),
79 "trace", trace()->DumpToString());
80 call_->RespondSuccess(*response_pb_);
81 delete this;
82 }
83}
84
85void RpcContext::RespondNoCache() {
86 if (AreResultsTracked()) {

Callers 15

DoAddMethod · 0.45
DoSendTwoStringsMethod · 0.45
DoPushStringsMethod · 0.45
DoSleepMethod · 0.45
DoSleepWithSidecarMethod · 0.45
AddMethod · 0.45
EchoMethod · 0.45
WhoAmIMethod · 0.45
TestInvalidResponseMethod · 0.45
AddExactlyOnceMethod · 0.45
DoSleepMethod · 0.45

Calls 7

SecureDebugStringFunction · 0.85
request_idMethod · 0.80
headerMethod · 0.80
service_nameMethod · 0.80
DumpToStringMethod · 0.80
ToStringMethod · 0.45

Tested by 15

DoAddMethod · 0.36
DoSendTwoStringsMethod · 0.36
DoPushStringsMethod · 0.36
DoSleepMethod · 0.36
DoSleepWithSidecarMethod · 0.36
AddMethod · 0.36
EchoMethod · 0.36
WhoAmIMethod · 0.36
TestInvalidResponseMethod · 0.36
AddExactlyOnceMethod · 0.36
DoSleepMethod · 0.36