Revert "Continue commit from refreshed topology receipt"
This reverts commit 55e5d559d6.
This commit is contained in:
parent
55e5d559d6
commit
7a61c77420
2 changed files with 6 additions and 11 deletions
|
|
@ -307,12 +307,6 @@ record, refuses if a projected write lease remains, and demotes the projection
|
|||
to Expected-only. The admitted receipt does not overwrite a newer signed
|
||||
activation, and no operator edits the CultCache projection by hand.
|
||||
|
||||
At admission commit, Idunn stores each newly authenticated Odin sequence in
|
||||
the live transaction receipt. That receipt refresh is progress owned by the
|
||||
same transaction, so commit continues from the returned snapshot; the final
|
||||
compare-exchange rejects a later concurrent change. A live provider heartbeat
|
||||
does not defer admission to another scheduler tick indefinitely.
|
||||
|
||||
Idunn starts and recovers from its own durable admitted state. Odin is the first
|
||||
managed semantic daemon, never an Idunn bootstrap dependency. Odin's initial
|
||||
admission is the sole graph-bootstrap exception: Idunn uses its root-admitted
|
||||
|
|
|
|||
|
|
@ -4585,11 +4585,9 @@ impl Engine {
|
|||
else {
|
||||
return Ok(());
|
||||
};
|
||||
// `admit_latest_topology` compare-checks the transaction before it
|
||||
// writes and returns the updated snapshot. Its own sequence receipt
|
||||
// refresh is progress, not an external mutation; continuing from this
|
||||
// snapshot prevents a live publisher from starving the final commit.
|
||||
// The terminal compare-exchange still rejects any later mutation.
|
||||
if ready_current.envelope != current.envelope {
|
||||
return Ok(());
|
||||
}
|
||||
ensure!(
|
||||
is_semantic_ready(&authenticated),
|
||||
"latest Odin observation is not Ready at admission commit"
|
||||
|
|
@ -4662,6 +4660,9 @@ impl Engine {
|
|||
else {
|
||||
return Ok(());
|
||||
};
|
||||
if commit_current.envelope != ready_current.envelope {
|
||||
return Ok(());
|
||||
}
|
||||
ensure!(
|
||||
is_semantic_ready(&authenticated),
|
||||
"latest Odin observation is not Ready after the final admission challenge"
|
||||
|
|
|
|||
Loading…
Reference in a new issue