-
Notifications
You must be signed in to change notification settings - Fork 51
: supervision: new enum Unhealthy #569
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
: supervision: new enum Unhealthy #569
Conversation
This pull request was exported from Phabricator. Differential Revision: D78498195 |
Summary: - introduced new type `supervision::Unhealthy` ```rust #[derive(Debug, Clone)] pub(crate) enum Unhealthy<Event> { SoFarSoGood, // Still healthy StreamClosed, // Event stream closed Crashed(Event), // Bad health event received } ``` - in `PyProcMesh` - replace: - from`Arc<Mutex<Option<Option<ProcEvent>>>>` - to `Arc<Mutex<Unhealthy<ProcEvent>>>` - in `PythonActorMesh` - replace: - from: `Arc<Mutex<Option<Option<ActorSupervisionEvent>>>>` - to: `Arc<Mutex<Unhealthy<ActorSupervisionEvent>>` Differential Revision: D78498195
Summary: - introduced new type `supervision::Unhealthy` ```rust #[derive(Debug, Clone)] pub(crate) enum Unhealthy<Event> { SoFarSoGood, // Still healthy StreamClosed, // Event stream closed Crashed(Event), // Bad health event received } ``` - in `PyProcMesh` - replace: - from`Arc<Mutex<Option<Option<ProcEvent>>>>` - to `Arc<Mutex<Unhealthy<ProcEvent>>>` - in `PythonActorMesh` - replace: - from: `Arc<Mutex<Option<Option<ActorSupervisionEvent>>>>` - to: `Arc<Mutex<Unhealthy<ActorSupervisionEvent>>` Differential Revision: D78498195
Summary: - introduced new type `supervision::Unhealthy` ```rust #[derive(Debug, Clone)] pub(crate) enum Unhealthy<Event> { SoFarSoGood, // Still healthy StreamClosed, // Event stream closed Crashed(Event), // Bad health event received } ``` - in `PyProcMesh` - replace: - from`Arc<Mutex<Option<Option<ProcEvent>>>>` - to `Arc<Mutex<Unhealthy<ProcEvent>>>` - in `PythonActorMesh` - replace: - from: `Arc<Mutex<Option<Option<ActorSupervisionEvent>>>>` - to: `Arc<Mutex<Unhealthy<ActorSupervisionEvent>>` Differential Revision: D78498195
Summary: - introduced new type `supervision::Unhealthy` ```rust #[derive(Debug, Clone)] pub(crate) enum Unhealthy<Event> { SoFarSoGood, // Still healthy StreamClosed, // Event stream closed Crashed(Event), // Bad health event received } ``` - in `PyProcMesh` - replace: - from`Arc<Mutex<Option<Option<ProcEvent>>>>` - to `Arc<Mutex<Unhealthy<ProcEvent>>>` - in `PythonActorMesh` - replace: - from: `Arc<Mutex<Option<Option<ActorSupervisionEvent>>>>` - to: `Arc<Mutex<Unhealthy<ActorSupervisionEvent>>` Differential Revision: D78498195
Summary: - introduced new type `supervision::Unhealthy` ```rust #[derive(Debug, Clone)] pub(crate) enum Unhealthy<Event> { SoFarSoGood, // Still healthy StreamClosed, // Event stream closed Crashed(Event), // Bad health event received } ``` - in `PyProcMesh` - replace: - from`Arc<Mutex<Option<Option<ProcEvent>>>>` - to `Arc<Mutex<Unhealthy<ProcEvent>>>` - in `PythonActorMesh` - replace: - from: `Arc<Mutex<Option<Option<ActorSupervisionEvent>>>>` - to: `Arc<Mutex<Unhealthy<ActorSupervisionEvent>>` Differential Revision: D78498195
Summary: - introduced new type `supervision::Unhealthy` ```rust #[derive(Debug, Clone)] pub(crate) enum Unhealthy<Event> { SoFarSoGood, // Still healthy StreamClosed, // Event stream closed Crashed(Event), // Bad health event received } ``` - in `PyProcMesh` - replace: - from`Arc<Mutex<Option<Option<ProcEvent>>>>` - to `Arc<Mutex<Unhealthy<ProcEvent>>>` - in `PythonActorMesh` - replace: - from: `Arc<Mutex<Option<Option<ActorSupervisionEvent>>>>` - to: `Arc<Mutex<Unhealthy<ActorSupervisionEvent>>` Differential Revision: D78498195
Summary: - introduced new type `supervision::Unhealthy` ```rust #[derive(Debug, Clone)] pub(crate) enum Unhealthy<Event> { SoFarSoGood, // Still healthy StreamClosed, // Event stream closed Crashed(Event), // Bad health event received } ``` - in `PyProcMesh` - replace: - from`Arc<Mutex<Option<Option<ProcEvent>>>>` - to `Arc<Mutex<Unhealthy<ProcEvent>>>` - in `PythonActorMesh` - replace: - from: `Arc<Mutex<Option<Option<ActorSupervisionEvent>>>>` - to: `Arc<Mutex<Unhealthy<ActorSupervisionEvent>>` Differential Revision: D78498195
17c2834
to
05b5449
Compare
This pull request was exported from Phabricator. Differential Revision: D78498195 |
05b5449
to
a0808e7
Compare
Summary: - introduced new type `supervision::Unhealthy` ```rust #[derive(Debug, Clone)] pub(crate) enum Unhealthy<Event> { SoFarSoGood, // Still healthy StreamClosed, // Event stream closed Crashed(Event), // Bad health event received } ``` - in `PyProcMesh` - replace: - from`Arc<Mutex<Option<Option<ProcEvent>>>>` - to `Arc<Mutex<Unhealthy<ProcEvent>>>` - in `PythonActorMesh` - replace: - from: `Arc<Mutex<Option<Option<ActorSupervisionEvent>>>>` - to: `Arc<Mutex<Unhealthy<ActorSupervisionEvent>>` Reviewed By: pablorfb-meta Differential Revision: D78498195
Summary: - introduced new type `supervision::Unhealthy` ```rust #[derive(Debug, Clone)] pub(crate) enum Unhealthy<Event> { SoFarSoGood, // Still healthy StreamClosed, // Event stream closed Crashed(Event), // Bad health event received } ``` - in `PyProcMesh` - replace: - from`Arc<Mutex<Option<Option<ProcEvent>>>>` - to `Arc<Mutex<Unhealthy<ProcEvent>>>` - in `PythonActorMesh` - replace: - from: `Arc<Mutex<Option<Option<ActorSupervisionEvent>>>>` - to: `Arc<Mutex<Unhealthy<ActorSupervisionEvent>>` Reviewed By: pablorfb-meta Differential Revision: D78498195
a0808e7
to
b36639a
Compare
Summary: - introduced new type `supervision::Unhealthy` ```rust #[derive(Debug, Clone)] pub(crate) enum Unhealthy<Event> { SoFarSoGood, // Still healthy StreamClosed, // Event stream closed Crashed(Event), // Bad health event received } ``` - in `PyProcMesh` - replace: - from`Arc<Mutex<Option<Option<ProcEvent>>>>` - to `Arc<Mutex<Unhealthy<ProcEvent>>>` - in `PythonActorMesh` - replace: - from: `Arc<Mutex<Option<Option<ActorSupervisionEvent>>>>` - to: `Arc<Mutex<Unhealthy<ActorSupervisionEvent>>` Reviewed By: pablorfb-meta Differential Revision: D78498195
b36639a
to
82d18e9
Compare
Summary: - introduced new type `supervision::Unhealthy` ```rust #[derive(Debug, Clone)] pub(crate) enum Unhealthy<Event> { SoFarSoGood, // Still healthy StreamClosed, // Event stream closed Crashed(Event), // Bad health event received } ``` - in `PyProcMesh` - replace: - from`Arc<Mutex<Option<Option<ProcEvent>>>>` - to `Arc<Mutex<Unhealthy<ProcEvent>>>` - in `PythonActorMesh` - replace: - from: `Arc<Mutex<Option<Option<ActorSupervisionEvent>>>>` - to: `Arc<Mutex<Unhealthy<ActorSupervisionEvent>>` Reviewed By: pablorfb-meta Differential Revision: D78498195
82d18e9
to
3b2bdc7
Compare
This pull request was exported from Phabricator. Differential Revision: D78498195 |
Summary: Pull Request resolved: pytorch-labs#569 - introduced new type `supervision::Unhealthy` ```rust #[derive(Debug, Clone)] pub(crate) enum Unhealthy<Event> { SoFarSoGood, // Still healthy StreamClosed, // Event stream closed Crashed(Event), // Bad health event received } ``` - in `PyProcMesh` - replace: - from`Arc<Mutex<Option<Option<ProcEvent>>>>` - to `Arc<Mutex<Unhealthy<ProcEvent>>>` - in `PythonActorMesh` - replace: - from: `Arc<Mutex<Option<Option<ActorSupervisionEvent>>>>` - to: `Arc<Mutex<Unhealthy<ActorSupervisionEvent>>` Reviewed By: pablorfb-meta Differential Revision: D78498195
3b2bdc7
to
e29cbee
Compare
This pull request was exported from Phabricator. Differential Revision: D78498195 |
Summary: Pull Request resolved: pytorch-labs#569 - introduced new type `supervision::Unhealthy` ```rust #[derive(Debug, Clone)] pub(crate) enum Unhealthy<Event> { SoFarSoGood, // Still healthy StreamClosed, // Event stream closed Crashed(Event), // Bad health event received } ``` - in `PyProcMesh` - replace: - from`Arc<Mutex<Option<Option<ProcEvent>>>>` - to `Arc<Mutex<Unhealthy<ProcEvent>>>` - in `PythonActorMesh` - replace: - from: `Arc<Mutex<Option<Option<ActorSupervisionEvent>>>>` - to: `Arc<Mutex<Unhealthy<ActorSupervisionEvent>>` Reviewed By: pablorfb-meta Differential Revision: D78498195
e29cbee
to
e5c742f
Compare
This pull request was exported from Phabricator. Differential Revision: D78498195 |
Summary: Pull Request resolved: pytorch-labs#569 - introduced new type `supervision::Unhealthy` ```rust #[derive(Debug, Clone)] pub(crate) enum Unhealthy<Event> { SoFarSoGood, // Still healthy StreamClosed, // Event stream closed Crashed(Event), // Bad health event received } ``` - in `PyProcMesh` - replace: - from`Arc<Mutex<Option<Option<ProcEvent>>>>` - to `Arc<Mutex<Unhealthy<ProcEvent>>>` - in `PythonActorMesh` - replace: - from: `Arc<Mutex<Option<Option<ActorSupervisionEvent>>>>` - to: `Arc<Mutex<Unhealthy<ActorSupervisionEvent>>` Reviewed By: pablorfb-meta Differential Revision: D78498195
e5c742f
to
88ad8eb
Compare
Summary: Pull Request resolved: pytorch-labs#569 - introduced new type `supervision::Unhealthy` ```rust #[derive(Debug, Clone)] pub(crate) enum Unhealthy<Event> { SoFarSoGood, // Still healthy StreamClosed, // Event stream closed Crashed(Event), // Bad health event received } ``` - in `PyProcMesh` - replace: - from`Arc<Mutex<Option<Option<ProcEvent>>>>` - to `Arc<Mutex<Unhealthy<ProcEvent>>>` - in `PythonActorMesh` - replace: - from: `Arc<Mutex<Option<Option<ActorSupervisionEvent>>>>` - to: `Arc<Mutex<Unhealthy<ActorSupervisionEvent>>` Reviewed By: pablorfb-meta Differential Revision: D78498195
This pull request was exported from Phabricator. Differential Revision: D78498195 |
88ad8eb
to
60a0441
Compare
This pull request has been merged in 7dd0b25. |
Summary:
supervision::Unhealthy
PyProcMesh
Arc<Mutex<Option<Option<ProcEvent>>>>
Arc<Mutex<Unhealthy<ProcEvent>>>
PythonActorMesh
Arc<Mutex<Option<Option<ActorSupervisionEvent>>>>
Arc<Mutex<Unhealthy<ActorSupervisionEvent>>
Differential Revision: D78498195