mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
[core/autoscaler] Restore use_gcs_for_bootstrap (#23413)
Certain external integrations rely on ray._private.use_gcs_for_bootstrap to determine if Ray is using the gcs to bootstrap. The current version of Ray always uses the gcs to bootstrap, so this should just return True.
This commit is contained in:
parent
9b1a3f9f9a
commit
f91a134dc6
1 changed files with 9 additions and 0 deletions
|
@ -244,3 +244,12 @@ class GcsClient:
|
|||
f"Failed to list prefix {prefix} "
|
||||
f"due to error {reply.status.message}"
|
||||
)
|
||||
|
||||
|
||||
def use_gcs_for_bootstrap():
|
||||
"""In the current version of Ray, we always use the GCS to bootstrap.
|
||||
(This was previously controlled by a feature flag.)
|
||||
|
||||
This function is included for the purposes of backwards compatibility.
|
||||
"""
|
||||
return True
|
||||
|
|
Loading…
Add table
Reference in a new issue