MCPcopy Create free account
hub / github.com/baidu/tera / DoCmdCtrl

Method DoCmdCtrl

src/tabletnode/remote_tabletnode.cc:723–732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

721}
722
723void RemoteTabletNode::DoCmdCtrl(google::protobuf::RpcController* controller,
724 const TsCmdCtrlRequest* request, TsCmdCtrlResponse* response,
725 google::protobuf::Closure* done) {
726 uint64_t id = request->sequence_id();
727 int64_t start_micros = get_micros();
728 LOG(INFO) << "run RPC (CmdCtrl) id: " << id;
729 tabletnode_impl_->CmdCtrl(request, response, done);
730 LOG(INFO) << "finish RPC (CmdCtrl) id: " << id << ", cost "
731 << (get_micros() - start_micros) / 1000 << "ms.";
732}
733
734void RemoteTabletNode::DoComputeSplitKey(google::protobuf::RpcController* controller,
735 const SplitTabletRequest* request,

Callers

nothing calls this directly

Calls 2

get_microsFunction · 0.50
CmdCtrlMethod · 0.45

Tested by

no test coverage detected