Count shared command shards once during suffix verification

This commit is contained in:
gloamxun committed 2026-12-02 02:11:10 +08:00
1 parent 7981493caf
commit ccb278fceb
3 files changed
+88 -23

No files matched your search

@@ -276,9 +276,9 @@ impl Executor {
}
let (history, old_history) =
Self::collect_event_usage_pair(&self.events, &old.events, collector());
let mut live = collector().tracking_aliases();
let mut old_live = collector().tracking_aliases();
self.state.collect_compared_statistics(&old.state, &mut live, &mut old_live)?;
let (live, old_live) = self.state.collect_compared_statistics(
&old.state, collector().tracking_aliases(),
)?;
let mut live = self.collect_live_usage(None, None, live);
let old_live = old.collect_live_usage(None, None, old_live);
// The splice translates the cumulative counters separately.