You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #6503 changed Nexus to attempt to automatically restart instances which are in the Failed state. Now that we do this, we should probably change the allowable instance state transitions to permit a user to stop an instance that is Failed, as a way to say "stop trying to restart this instance" (as Stopped instances are not restarted).
This would have slightly different semantics from changing the instance's auto-restart policy using a future instance-reconfigure API. Stopping a Failed instance would mean "stop trying to restart this now; if it is later started and then transitions to Failed again, continue using whatever its auto-restart policy is", while changing the auto-restart policy would mean "don't try to automatically restart this even if it's eventually restarted again".1
If we do this, we should definitely also make SagaUnwound instances appear as Failed rather than Stopped, as I discussed in #6638 (comment).
Footnotes
Unless, of course, the user changes the auto-restart policy again. ↩
The text was updated successfully, but these errors were encountered:
PR #6503 changed Nexus to attempt to automatically restart instances
which are in the `Failed` state. Now that we do this, we should probably
change the allowable instance state transitions to permit a user to stop
an instance that is `Failed`, as a way to say "stop trying to restart
this instance" (as `Stopped` instances are not restarted). This branch
changes `Nexus::instance_request_state` and
`select_instance_change_action` to permit stopping a `Failed` instance.
Fixes#6640
I believe this also fixes#2825, along with #6455 (which allowed
restarting `Failed` instances).
PR #6503 changed Nexus to attempt to automatically restart instances
which are in the `Failed` state. Now that we do this, we should probably
change the allowable instance state transitions to permit a user to stop
an instance that is `Failed`, as a way to say "stop trying to restart
this instance" (as `Stopped` instances are not restarted). This branch
changes `Nexus::instance_request_state` and
`select_instance_change_action` to permit stopping a `Failed` instance.
Fixes#6640
I believe this also fixes#2825, along with #6455 (which allowed
restarting `Failed` instances).
PR #6503 changed Nexus to attempt to automatically restart instances which are in the
Failed
state. Now that we do this, we should probably change the allowable instance state transitions to permit a user to stop an instance that isFailed
, as a way to say "stop trying to restart this instance" (asStopped
instances are not restarted).This would have slightly different semantics from changing the instance's auto-restart policy using a future instance-reconfigure API. Stopping a
Failed
instance would mean "stop trying to restart this now; if it is later started and then transitions toFailed
again, continue using whatever its auto-restart policy is", while changing the auto-restart policy would mean "don't try to automatically restart this even if it's eventually restarted again".1If we do this, we should definitely also make
SagaUnwound
instances appear asFailed
rather thanStopped
, as I discussed in #6638 (comment).Footnotes
Unless, of course, the user changes the auto-restart policy again. ↩
The text was updated successfully, but these errors were encountered: