mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 12:45:44 +08:00
Deprecate rsync to all nodes (#11563)
This commit is contained in:
@@ -1034,6 +1034,14 @@ def rsync_up(cluster_config_file, source, target, cluster_name, all_nodes,
|
||||
"""Upload specific files to a Ray cluster."""
|
||||
cli_logger.configure(log_style, log_color, verbose)
|
||||
|
||||
if all_nodes:
|
||||
cli_logger.warning(
|
||||
"WARNING: the `all_nodes` option is deprecated and will be "
|
||||
"removed in the future. "
|
||||
"Rsync to worker nodes is not reliable since workers may be "
|
||||
"added during autoscaling. Please use the `file_mounts` "
|
||||
"feature instead for consistent file sync in autoscaling clusters")
|
||||
|
||||
rsync(
|
||||
cluster_config_file,
|
||||
source,
|
||||
|
||||
Reference in New Issue
Block a user