-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[core] [7/N] Cleanup gcs server shared pointer #49089
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -226,12 +226,14 @@ class GcsServer { | |
rpc::ClientCallManager client_call_manager_; | ||
/// Node manager client pool. | ||
std::unique_ptr<rpc::NodeManagerClientPool> raylet_client_pool_; | ||
/// The gcs resource manager. | ||
std::unique_ptr<GcsResourceManager> gcs_resource_manager_; | ||
/// The cluster resource scheduler. | ||
std::shared_ptr<ClusterResourceScheduler> cluster_resource_scheduler_; | ||
/// [cluster_task_manager_] depends on [cluster_resource_scheduler_]. | ||
/// The cluster task manager. | ||
std::shared_ptr<ClusterTaskManager> cluster_task_manager_; | ||
std::unique_ptr<ClusterTaskManager> cluster_task_manager_; | ||
/// [gcs_resource_manager_] depends on [cluster_task_manager_]. | ||
/// The gcs resource manager. | ||
std::unique_ptr<GcsResourceManager> gcs_resource_manager_; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. resource manager depends on cluster resource manager, so defined later. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you change those into comments. I'm still worried people will move things around without realizing there is order requirements. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure, updated. |
||
/// The autoscaler state manager. | ||
std::unique_ptr<GcsAutoscalerStateManager> gcs_autoscaler_state_manager_; | ||
/// The gcs node manager. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cluster task manager depends on cluster resource manager, so defined later.