Skip to content

Commit

Permalink
[Core] Fix the unnecessary logs (#36931)
Browse files Browse the repository at this point in the history
This error log could be very spammy.
  • Loading branch information
rkooo567 authored Jul 7, 2023
1 parent e55e1fe commit b4b3f90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ray/gcs/gcs_server/gcs_job_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ void GcsJobManager::HandleGetAllJobInfo(rpc::GetAllJobInfoRequest request,
const Status &status,
const rpc::NumPendingTasksReply &num_pending_tasks_reply) {
if (!status.ok()) {
RAY_LOG(ERROR) << "Failed to get is_running_tasks from core worker: "
<< status.ToString();
RAY_LOG(WARNING) << "Failed to get is_running_tasks from core worker: "
<< status.ToString();
}
bool is_running_tasks = num_pending_tasks_reply.num_pending_tasks() > 0;
reply->mutable_job_info_list(i)->set_is_running_tasks(is_running_tasks);
Expand Down

0 comments on commit b4b3f90

Please sign in to comment.