Repository navigation
[8/n] [reconfigurator] add target release generation to blueprint - #8199
Conversation
Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
| /// * the target release is ignored in favor of the install dataset | ||
| /// * this field is set to 6 | ||
| /// | ||
| /// Once the target release generation is updated to 6 or higher, |
There was a problem hiding this comment.
The wording on this is correct but I read it incorrectly the first time through, because "the target release generation" is pretty similar to the name of this field; I was confused about how the target release generation might be set to 6 in the future when we've already set this field to 6. The event we're waiting for here is "an operator sets a new target release" (which will necessarily bump the generation number up to 6), right? And we also have to have cleared all the mupdate overrides in the meantime (or as a part of that new release being set)?
There was a problem hiding this comment.
I've updated it to have a more active voice:
/// Once an operator sets a new target release, its generation will be 6 or
/// higher. Reconfigurator will then know that it is back in charge of
/// driving the system to the target release.
And we also have to have cleared all the mupdate overrides in the meantime (or as a part of that new release being set)?
I believe that's right, yes.
Created using spr 1.3.6-beta.1
As described in RFD 556, we need this field as a backstop against Nexus overriding a freshly-conducted mupdate.
There is small semantic change here compared to RFD 556, though not one of much consequence:
This has two advantages:
target_release_minimum_generationno longer needs to be anOption<Generation>; it can be aGenerationinstead. That's because we always insert a generation 1 in the target_release table as "unspecified", meaning to use the install dataset. So setting this field to generation 1 just means "use the install dataset".