From dec2d7918acd3eb87508788f40a15acf2b341607 Mon Sep 17 00:00:00 2001 From: Ruiyang Wang Date: Tue, 20 Aug 2024 21:51:42 -0700 Subject: [PATCH] fix num_filtered Signed-off-by: Ruiyang Wang --- src/ray/gcs/gcs_server/gcs_node_manager.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ray/gcs/gcs_server/gcs_node_manager.cc b/src/ray/gcs/gcs_server/gcs_node_manager.cc index 9856232daa81..fe55fb3944d2 100644 --- a/src/ray/gcs/gcs_server/gcs_node_manager.cc +++ b/src/ray/gcs/gcs_server/gcs_node_manager.cc @@ -202,8 +202,8 @@ void GcsNodeManager::HandleGetAllNodeInfo(rpc::GetAllNodeInfoRequest request, } return true; }; - size_t num_added = 0; - size_t num_filtered = 0; + int64_t num_added = 0; + int64_t num_filtered = 0; auto add_to_response = [limit, reply, filter_fn, &num_added, &num_filtered]( const absl::flat_hash_map> &nodes) {