File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
nexus/reconfigurator/execution/src Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,14 @@ pub(crate) async fn deploy_db_metadata_nexus_records(
2121 nexus_id : OmicronZoneUuid ,
2222) -> Result < ( ) , anyhow:: Error > {
2323 // To determine what state to use for new records, we need to know which is
24- // the currently active Nexus generation. That is necessarily the
24+ // the currently active Nexus generation. This is not quite the same as the
25+ // blueprint's `nexus_generation`. That field describes which generation
26+ // the system is *trying* to put in control. It gets bumped in order to
27+ // trigger the handoff process. But between when it gets bumped and when
28+ // the handoff has finished, that generation number is ahead of the one
29+ // currently in control.
30+ //
31+ // The actual generation number that's currently active is necessarily the
2532 // generation number of the Nexus instance that's doing the execution.
2633 let active_generation = blueprint
2734 . all_nexus_zones ( BlueprintZoneDisposition :: is_in_service)
You can’t perform that action at this time.
0 commit comments