MCPcopy Create free account
hub / github.com/4paradigm/OpenMLDB / GetTaskStatus

Method GetTaskStatus

src/client/ns_client.cc:836–845  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

834}
835
836bool NsClient::GetTaskStatus(::fedb::api::TaskStatusResponse& response) {
837 ::fedb::api::TaskStatusRequest request;
838 bool ret = client_.SendRequest(
839 &::fedb::nameserver::NameServer_Stub::GetTaskStatus, &request,
840 &response, FLAGS_request_timeout_ms, 1);
841 if (!ret || response.code() != 0) {
842 return false;
843 }
844 return true;
845}
846
847bool NsClient::LoadTable(const std::string& name, const std::string& endpoint,
848 uint32_t pid,

Callers

nothing calls this directly

Calls 2

SendRequestMethod · 0.80
codeMethod · 0.80

Tested by

no test coverage detected