Revert "Recover fenced rollback from current activation"
This reverts commita148802cb6. Rollback after fencing adopted whatever activation was projected under the shared Expected key, so a continuity abort's leftover activation could be demoted by a later deploy. The drift is closed at its source by the next commit: a continuity abort demotes its own exact activation. Rollback demotes the admitted generation's exact activation again. The doc paragraph is dropped; the9f00e7aparagraph above it stays until B4. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
9001b58f4b
commit
87fa57dd8c
3 changed files with 12 additions and 188 deletions
|
|
@ -5969,10 +5969,11 @@ impl Engine {
|
|||
if let Some(incumbent) = self.exact_incumbent(&snapshot, ¤t.value)? {
|
||||
let admitted_provider_anchor =
|
||||
self.provider_anchor_for_plan(&incumbent.value.plan)?;
|
||||
let expected_sha256 = topology.demote_current_activation_to_expected_only(
|
||||
let expected_sha256 = topology.demote_to_expected_only(
|
||||
&incumbent.value.expected,
|
||||
&admitted_provider_anchor,
|
||||
&self.idunn_anchor,
|
||||
&incumbent.value.activation,
|
||||
incumbent.value.leasing.lease(),
|
||||
)?;
|
||||
ensure!(
|
||||
expected_sha256 == incumbent.value.expected.canonical_sha256()?,
|
||||
|
|
|
|||
Loading…
Reference in a new issue