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

Method DoWriteTablet

src/tabletnode/remote_tabletnode.cc:687–696  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

685}
686
687void RemoteTabletNode::DoWriteTablet(google::protobuf::RpcController* controller,
688 const WriteTabletRequest* request,
689 WriteTabletResponse* response, google::protobuf::Closure* done,
690 WriteRpcTimer* timer) {
691 VLOG(8) << "run RPC (WriteTablet)";
692 int32_t row_num = request->row_list_size();
693 write_pending_counter.Sub(row_num);
694 tabletnode_impl_->WriteTablet(request, response, done, timer);
695 VLOG(8) << "finish RPC (WriteTablet)";
696}
697
698void RemoteTabletNode::DoScanTablet(google::protobuf::RpcController* controller,
699 const ScanTabletRequest* request, ScanTabletResponse* response,

Callers

nothing calls this directly

Calls 2

SubMethod · 0.80
WriteTabletMethod · 0.45

Tested by

no test coverage detected