mirror of
https://github.com/wassname/ray.git
synced 2026-07-02 15:23:01 +08:00
[xray] Put GCS data into the redis data shard (#2298)
This commit is contained in:
committed by
Robert Nishihara
parent
d75b39f6df
commit
762bdf646e
@@ -2288,10 +2288,9 @@ def connect(info,
|
||||
driver_task.execution_dependencies_string(), 0,
|
||||
ray.local_scheduler.task_to_string(driver_task))
|
||||
else:
|
||||
# TODO(rkn): When we shard the GCS in xray, we will need to change
|
||||
# this to use _execute_command.
|
||||
global_state.redis_client.execute_command(
|
||||
"RAY.TABLE_ADD", ray.gcs_utils.TablePrefix.RAYLET_TASK,
|
||||
global_state._execute_command(
|
||||
driver_task.task_id(), "RAY.TABLE_ADD",
|
||||
ray.gcs_utils.TablePrefix.RAYLET_TASK,
|
||||
ray.gcs_utils.TablePubsub.RAYLET_TASK,
|
||||
driver_task.task_id().id(),
|
||||
driver_task._serialized_raylet_task())
|
||||
|
||||
Reference in New Issue
Block a user