Files
lmxopcua/tests
Joseph Doherty 0dfe8371b7 fix(dataconn): #1115 a snapshot is not reset by the partition change history rolling past it
The #1026 scale gate (2048 projected items, rig seed --scale 2048) never opened: every
cohort snapshot reset with 'Snapshot catch-up expired' while ~1024 changes of any source
(even the cohort's own first values) landed on its partition. SnapshotLease required the
bounded change history (MaxSnapshotCatchUpItems) to still reach its capture watermark,
but nothing reads that history for a snapshot: every production capture comes with its
interest lease, which already catches up from each own source's last change when the
history rolled past it (#994). Live: with the history bound raised to 262144 the same
cohort opened all 2048 items Good in 4.6 s; at the default it never got past ~120.

Drops the reach check (epoch/control/own-source checks unchanged) and the now-unread
per-item cursor positions. The old pin that asserted the reset now asserts no reset and
that the interest still reports both changed sources.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-12-05 03:34:02 -05:00
..