[core] Refactor task arguments and attach owner address#9152
[core] Refactor task arguments and attach owner address#9152stephanie-wang merged 25 commits intoray-project:masterfrom
Conversation
|
Can one of the admins verify this patch? |
|
Test FAILed. |
|
Test FAILed. |
src/ray/protobuf/common.proto
Outdated
| // ObjectID that the worker has a reference to. | ||
| bytes object_id = 1; | ||
| // The address of the object's owner. | ||
| Address owner_address = 3; |
|
Test FAILed. |
|
Test FAILed. |
|
Test PASSed. |
|
Test PASSed. |
|
Test PASSed. |
|
Test PASSed. |
|
Test PASSed. |
31808fb to
b8c22a7
Compare
|
Test PASSed. |
This reverts commit 4a326fc.
|
Test FAILed. |
|
Test PASSed. |
|
Test FAILed. |
…project#9152)" This reverts commit b42d6a1.
…ss (ray-project#9152)"" This reverts commit 3aaf1aa.
Why are these changes needed?
The owner address will be needed for ObjectIDs passed to the raylet for several reasons:
The owner address is available for ObjectIDs that the process has a reference to, but not for task arguments that are passed by reference. This PR attaches the owner's address to all arguments passed by reference in the task spec.
This PR also contains two refactors:
Checks
scripts/format.shto lint the changes in this PR.