Ensure unique log file names across same-node raylets. (#9561)

This commit is contained in:
Clark Zinzow 2020-07-20 15:03:11 -06:00 committed by GitHub
parent 4e2e3bd348
commit 9b1772253f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -647,7 +647,8 @@ class Node:
use_profiler (bool): True if we should start the process in the
valgrind profiler.
"""
raylet_out_name, raylet_err_name = self.get_log_file_names("raylet")
raylet_out_name, raylet_err_name = self.get_log_file_names(
"raylet", unique=True)
stdout_file, stderr_file = (open_log(raylet_out_name),
open_log(raylet_err_name))
process_info = ray.services.start_raylet(