From 263fcecf5e8f691781dc56d734f53e6d9f624403 Mon Sep 17 00:00:00 2001 From: Yi Cheng Date: Mon, 9 May 2022 21:46:27 +0000 Subject: [PATCH] fix comment --- src/ray/raylet/scheduling/local_resource_manager.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/ray/raylet/scheduling/local_resource_manager.h b/src/ray/raylet/scheduling/local_resource_manager.h index 745a851184d6..f857a87313b9 100644 --- a/src/ray/raylet/scheduling/local_resource_manager.h +++ b/src/ray/raylet/scheduling/local_resource_manager.h @@ -108,11 +108,6 @@ class LocalResourceManager : public syncer::ReporterInterface { void ReleaseWorkerResources(std::shared_ptr task_allocation); - int64_t Version() { - UpdateAvailableObjectStoreMemResource(); - return version_; - } - /// Populate the relevant parts of the heartbeat table. This is intended for /// sending resource usage of raylet to gcs. In particular, this should fill in /// resources_available and resources_total. @@ -260,7 +255,7 @@ class LocalResourceManager : public syncer::ReporterInterface { // Specify custom resources that consists of unit-size instances. std::unordered_set custom_unit_instance_resources_{}; - // Version of this resource. It will incr by one whenever when the state changed. + // Version of this resource. It will incr by one whenever the state changed. int64_t version_ = 0; FRIEND_TEST(ClusterResourceSchedulerTest, SchedulingUpdateTotalResourcesTest);