Skip to content

Commit

Permalink
[fix](cloud) initial startup failure due to unconfigured metadata node (
Browse files Browse the repository at this point in the history
  • Loading branch information
XLPE authored Jan 4, 2025
1 parent fe8a334 commit 4341a55
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion be/src/cloud/cloud_meta_mgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,11 @@ class MetaServiceProxy {
static size_t num_proxies = 1;
static std::atomic<size_t> index(0);
static std::unique_ptr<MetaServiceProxy[]> proxies;

if (config::meta_service_endpoint.empty()) {
return Status::InvalidArgument(
"Meta service endpoint is empty. Please configure manually or wait for "
"heartbeat to obtain.");
}
std::call_once(
proxies_flag, +[]() {
if (config::meta_service_connection_pooled) {
Expand Down

0 comments on commit 4341a55

Please sign in to comment.