From ce1b208e419b8115fe42e76640802dab33dd484f Mon Sep 17 00:00:00 2001 From: fangfengbin <869218239a@zju.edu.cn> Date: Fri, 15 Jan 2021 14:48:18 +0800 Subject: [PATCH] [GCS]Remove unused class variable (#13454) --- src/ray/gcs/gcs_client/service_based_accessor.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/ray/gcs/gcs_client/service_based_accessor.h b/src/ray/gcs/gcs_client/service_based_accessor.h index 9d7c53743..85f579b96 100644 --- a/src/ray/gcs/gcs_client/service_based_accessor.h +++ b/src/ray/gcs/gcs_client/service_based_accessor.h @@ -120,8 +120,6 @@ class ServiceBasedActorInfoAccessor : public ActorInfoAccessor { GUARDED_BY(mutex_); ServiceBasedGcsClient *client_impl_; - - Sequencer sequencer_; }; /// \class ServiceBasedNodeInfoAccessor @@ -181,13 +179,6 @@ class ServiceBasedNodeInfoAccessor : public NodeInfoAccessor { /// server restarts from a failure. FetchDataOperation fetch_node_data_operation_; - // Mutex to protect the cached_resource_usage_ field. - absl::Mutex mutex_; - - /// Save the resource usage data, so we can resend it again when GCS server restarts - /// from a failure. - rpc::ReportResourceUsageRequest cached_resource_usage_ GUARDED_BY(mutex_); - void HandleNotification(const rpc::GcsNodeInfo &node_info); ServiceBasedGcsClient *client_impl_;