From 7fcce785edc403d312ae182b789b5c556764a66e Mon Sep 17 00:00:00 2001 From: Ian Rodney Date: Thu, 19 Nov 2020 11:00:19 -0800 Subject: [PATCH] [hotfix] Fix windows build (#12146) * [hotfix] fix windows * remove debug logs --- src/ray/core_worker/task_manager.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/ray/core_worker/task_manager.cc b/src/ray/core_worker/task_manager.cc index be9c6858f..cb70483bc 100644 --- a/src/ray/core_worker/task_manager.cc +++ b/src/ray/core_worker/task_manager.cc @@ -460,11 +460,8 @@ std::vector TaskManager::GetPendingChildrenTasks( const TaskID &parent_task_id) const { std::vector ret_vec; absl::MutexLock lock(&mu_); - RAY_LOG(ERROR) << " calling get children tasks"; - RAY_LOG(ERROR) << "NUMBER OF PENDING TASKS: " << num_pending_tasks_; for (auto it : submissible_tasks_) { - RAY_LOG(ERROR) << "Getting tasks!! " << it.second.spec.TaskId(); - if (it.second.pending and it.second.spec.ParentTaskId() == parent_task_id) { + if ((it.second.pending) && (it.second.spec.ParentTaskId() == parent_task_id)) { ret_vec.push_back(it.first); } }