Continue commit from refreshed topology receipt
This commit is contained in:
parent
a148802cb6
commit
55e5d559d6
2 changed files with 11 additions and 6 deletions
|
|
@ -4585,9 +4585,11 @@ impl Engine {
|
|||
else {
|
||||
return Ok(());
|
||||
};
|
||||
if ready_current.envelope != current.envelope {
|
||||
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.
|
||||
ensure!(
|
||||
is_semantic_ready(&authenticated),
|
||||
"latest Odin observation is not Ready at admission commit"
|
||||
|
|
@ -4660,9 +4662,6 @@ 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