[doc] Fix inconsistent doc about ObjectID bytes (#15072)

This commit is contained in:
Siyuan (Ryans) Zhuang 2021-04-01 17:14:30 -07:00 committed by GitHub
parent 4fba05ae4d
commit 6ad379864e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,9 +48,9 @@ The following table shows the layouts of all kinds of task id.
Note: Dummy actor id is an `ActorID` whose unique part is nil.
```
#### ObjectID (20 bytes)
#### ObjectID (28 bytes)
An `ObjectID` contains 2 parts:
- `index bytes`: 4 bytes to indicate the index of the object within its creator task.
1 <= idx <= num_return_objects is reserved for the task's return objects, while
idx > num_return_objects is available for the task's put objects.
- `TaskID`: 16 bytes to indicate the ID of the task to which this object belongs.
- `TaskID`: 24 bytes to indicate the ID of the task to which this object belongs.