Skip to content

Commit

Permalink
[Core] Improve log message for shutting down raylet in gcs (ray-proje…
Browse files Browse the repository at this point in the history
…ct#41875)

The old drain API will eventually be removed after we delete autoscaler v1. This PR just fixes the log message to not confuse with the log message from real drain API.

Signed-off-by: Jiajun Yao <[email protected]>
  • Loading branch information
jjyao authored Dec 13, 2023
1 parent 6ddc4d3 commit 1efb858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ray/gcs/gcs_server/gcs_node_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ void GcsNodeManager::HandleDrainNode(rpc::DrainNodeRequest request,
}

void GcsNodeManager::DrainNode(const NodeID &node_id) {
RAY_LOG(INFO) << "Draining node info, node id = " << node_id;
RAY_LOG(INFO) << "Shutting down raylet, node id = " << node_id;
auto node = RemoveNode(node_id, /* is_intended = */ true);
if (!node) {
RAY_LOG(INFO) << "Node " << node_id << " is already removed";
Expand Down

0 comments on commit 1efb858

Please sign in to comment.