mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
do not fetch from dead Plasma Manager (#2116)
This commit is contained in:
parent
4584193308
commit
9ff3d57429
1 changed files with 3 additions and 1 deletions
|
@ -45,7 +45,9 @@ const std::vector<std::string> db_client_table_get_ip_addresses(
|
||||||
for (auto const &manager_id : manager_ids) {
|
for (auto const &manager_id : manager_ids) {
|
||||||
DBClient client = redis_cache_get_db_client(db_handle, manager_id);
|
DBClient client = redis_cache_get_db_client(db_handle, manager_id);
|
||||||
RAY_CHECK(!client.manager_address.empty());
|
RAY_CHECK(!client.manager_address.empty());
|
||||||
manager_vector.push_back(client.manager_address);
|
if (client.is_alive) {
|
||||||
|
manager_vector.push_back(client.manager_address);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int64_t end_time = current_time_ms();
|
int64_t end_time = current_time_ms();
|
||||||
|
|
Loading…
Add table
Reference in a new issue