Remove unused logging job id field (#12266)

This commit is contained in:
Edward Oakes
2020-11-23 13:00:15 -06:00
committed by GitHub
parent 084f03797b
commit c99c376d66
-5
View File
@@ -1169,11 +1169,6 @@ def connect(node,
raise ValueError(
"Invalid worker mode. Expected DRIVER, WORKER or LOCAL.")
# TODO (Alex): `current_logging_job` tracks the current job so that we know
# when to switch log files. If all logging functionaility was moved to c++,
# the functionaility in `_raylet.pyx::switch_worker_log_if_necessary` could
# be moved to `CoreWorker::SetCurrentTaskId()`.
worker.current_logging_job_id = None
redis_address, redis_port = node.redis_address.split(":")
gcs_options = ray._raylet.GcsClientOptions(
redis_address,