aboutsummaryrefslogtreecommitdiffstats
path: root/src/remake
diff options
context:
space:
mode:
Diffstat (limited to 'src/remake')
-rw-r--r--src/remake/delta.rs10
1 files changed, 9 insertions, 1 deletions
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)),
}
}