mirror of
https://github.com/wassname/ray.git
synced 2026-08-14 12:40:23 +08:00
Update ID specification doc (#13356)
This commit is contained in:
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user