-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go back to using instance state when observing migrations
The instance runtime state machine in sled agent requires that an inbound migration appear to be completed only once (so that there's only one "move the destination Propolis ID to the current Propolis ID and clear the destination ID" operation per successful migration). This operation (clearing the instance's active migration ID) is itself what prevents future Propolis state updates from being interpreted as a completed migration (once the migration ID is cleared from sled agent's runtime state, it will no longer match the old ID that Propolis is reporting). In the brave new world where sled agent doesn't track instance runtime state at all, substantially all of this code will be removed: there will be no instance runtime state to transition to anything; sled agent will just pass migration statuses straight through to Nexus.
- Loading branch information
Showing
3 changed files
with
13 additions
and
10 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