mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
Update ID specification doc (#13356)
This commit is contained in:
parent
4aeb0ea550
commit
d09df55b14
2 changed files with 10 additions and 7 deletions
3
release/long_running_tests/.anyscale.yaml
Normal file
3
release/long_running_tests/.anyscale.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
cluster:
|
||||
config: /Users/sangbincho/work/ray/release/long_running_tests/cluster.yaml
|
||||
project_id: prj_6MX3Zj1mE77UEcwTfOinSl
|
|
@ -10,19 +10,19 @@ Ray ID Specification
|
|||
| unique bytes | JobID 4B
|
||||
+-----------------+
|
||||
|
||||
4B 4B
|
||||
12B 4B
|
||||
+-----------------+-----------------+
|
||||
| unique bytes | JobID | ActorID 8B
|
||||
| unique bytes | JobID | ActorID 16B
|
||||
+-----------------+-----------------+
|
||||
|
||||
8B 8B
|
||||
8B 16B
|
||||
+-----------------------------------+-----------------------------------+
|
||||
| unique bytes | ActorID | TaskID 16B
|
||||
| unique bytes | ActorID | TaskID 24B
|
||||
+-----------------------------------+-----------------------------------+
|
||||
|
||||
4B 16B
|
||||
4B 24B
|
||||
+-----------------+-----------------------------------------------------------------------+
|
||||
| index bytes | TaskID | ObjectID 20B
|
||||
| index bytes | TaskID | ObjectID 28B
|
||||
+-----------------+-----------------------------------------------------------------------+
|
||||
|
||||
```
|
||||
|
@ -30,7 +30,7 @@ Ray ID Specification
|
|||
`JobID` is generated by `GCS` to ensure uniqueness. Its length is 4 bytes.
|
||||
|
||||
#### ActorID (8 bytes)
|
||||
An `ActorID` contains two parts: 1) 4 unique bytes, and 2) its `JobID`.
|
||||
An `ActorID` contains two parts: 1) 12 unique bytes, and 2) its `JobID`.
|
||||
|
||||
#### TaskID (16 bytes)
|
||||
A `TaskID` contains two parts: 1) 8 unique bytes, and 2) its `ActorID`.
|
||||
|
|
Loading…
Add table
Reference in a new issue