forked from ray-project/ray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Part 4] Support passing metadata to Ray error object. (ray-project#2…
…0714) This will allow us to pass protobuf-defined metadata to the error object. It will allow us to propagate meaningful metadata (e.g., function names for ObjectLostError, ip address for ObjectLostError within raylet, or many useful metadata for ActorDiedError). ### Impl We will allow the error object to include "payload". The payload will be the protobuf message that includes metadata. ``` # Prev ACTOR_DIED (metadata) | (empty) # New ACTOR_DIED (metadata) | Serialized protobuf message (body) ``` Note that currently, the body is serialized message pack that contains serialized protobuf. This needs to be cleaned up in the future.
- Loading branch information
Showing
3 changed files
with
123 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters