diff --git a/src/ray/raylet/scheduling/local_resource_manager.cc b/src/ray/raylet/scheduling/local_resource_manager.cc index de8e6df4dfea..75537ec7e4de 100644 --- a/src/ray/raylet/scheduling/local_resource_manager.cc +++ b/src/ray/raylet/scheduling/local_resource_manager.cc @@ -404,7 +404,7 @@ std::optional LocalResourceManager::CreateSyncMessage( resources_data.set_resources_available_changed(true); msg.set_node_id(local_node_id_.Binary()); - msg.set_version(curr_version); + msg.set_version(version_); msg.set_message_type(message_type); std::string serialized_msg; RAY_CHECK(resources_data.SerializeToString(&serialized_msg));