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

Method GetLatestCompactions

be/src/exec/catalog-op-executor.cc:485–498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

483}
484
485Status CatalogOpExecutor::GetLatestCompactions(
486 const TGetLatestCompactionsRequest& req, TGetLatestCompactionsResponse* result) {
487 int attempt = 0; // Used for debug action only.
488 CatalogServiceConnection::RpcStatus rpc_status =
489 CatalogServiceConnection::DoRpcWithRetry(
490 env_->catalogd_lightweight_req_client_cache(),
491 *ExecEnv::GetInstance()->GetCatalogdAddress().get(),
492 &CatalogServiceClientWrapper::GetLatestCompactions, req,
493 FLAGS_catalog_client_connection_num_retries,
494 FLAGS_catalog_client_rpc_retry_interval_ms,
495 [&attempt]() { return CatalogRpcDebugFn(&attempt); }, result);
496 RETURN_IF_ERROR(rpc_status.status);
497 return Status::OK();
498}
499
500Status CatalogOpExecutor::SetEventProcessorStatus(
501 const TSetEventProcessorStatusRequest& req,

Callers

nothing calls this directly

Calls 5

CatalogRpcDebugFnFunction · 0.85
OKFunction · 0.85
GetCatalogdAddressMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected