You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Streamed layers count unread dates, <Null> text and non-UTF-8 text twice when a window is read again before the notice pass #2615
SourceLayer::saw_unread_dates, saw_null_text and (from #2325) saw_not_utf8 add each view batch's counts until the notice pass says them. When a view reads the same window twice before that pass (after a reset, say), the same values are counted twice, so the "so far" count in the notice can be higher than the values that layer actually holds.
The notice already says "so far" and points to Load All Features for the full count, so nothing is lost, but the number is wrong. A fix applies to all three accumulators together: either keep the latest batch per window instead of summing, or track which rows were counted. Raised in review of #2325 (thread on crates/map/src/lib.rs).
Activity
fix(map): a streamed layer counts unread dates, <Null> and non-UTF-8 …