Skip to content

Commit ec774fe

Browse files
authored
[core] Add the definition of parent_task_id in protobuf (#51328)
Signed-off-by: kaihsun <kaihsun@anyscale.com>
1 parent 6329eaa commit ec774fe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ray/protobuf/common.proto

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,10 @@ message TaskSpec {
460460
bytes job_id = 5;
461461
// Task ID of the task.
462462
bytes task_id = 6;
463-
// Task ID of the parent task.
463+
// Task ID of the parent task. If the parent is a normal task, it will be the task's ID.
464+
// If the parent runs in a concurrent actor (async actor or threaded actor),
465+
// it will be the actor's creation task ID.
466+
// See https://github.com/ray-project/ray/pull/32157 for more context.
464467
bytes parent_task_id = 7;
465468
// A count of the number of tasks submitted by the parent task before this one.
466469
uint64 parent_counter = 8;

0 commit comments

Comments
 (0)