From c8f7165bae7344c0fb0d5265b7736de8ed26d91c Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 15 Nov 2026 18:49:12 +0000 Subject: remakes: a signed place already held is kept like any write that loses Where the new epoch holds as high a `seq` at a signed place as the old one reads, the chain isn't replayed: it was counted as superseded and left out even with `--superseded-writes quarantine`, unlike every other write a newer one superseded. Now it goes to the quarantine then too. --- src/remake/delta.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/remake') diff --git a/src/remake/delta.rs b/src/remake/delta.rs index 388eae7..0d87564 100644 --- a/src/remake/delta.rs +++ b/src/remake/delta.rs @@ -158,7 +158,15 @@ pub(crate) fn replay_newest( ordered.insert((made, ordered.len()), (when, place.clone(), envelope, user)); } } - Chain::Held => stats.superseded += 1, + Chain::Held => { + stats.superseded += 1; + if superseded == Superseded::Quarantine { + stats.quarantined.push(( + place, + "the new epoch holds as high a `seq` there".to_owned(), + )); + } + } Chain::Broken(why) => stats.quarantined.push((place, why)), } } -- cgit v1.3.1