feat: report recent ViewFeedback over persistent sync streams
The Issue & Context
Before this PR, ViewFeedback data was not reliably collected or reported over persistent sync streams, leading to incomplete or outdated shard access metrics and inefficient coordination between components.
Root Cause Analysis
The previous implementation lacked a dedicated mechanism to track and persist shard-level planning accesses and feedback windows, causing feedback data to be transient and uncoordinated across StreamingNode, Syncer, and Coordinator components.
Solution Strategy & Architectural Pattern
This PR introduces a dedicated handler in StreamingNode to collect planning accesses by ShardID and detach windows periodically or by size with cooldowns; Syncer seeds persistent streams from ChannelManager snapshots and manages bounded feedback batches without replay; Coordinator retains ordered windows for 2 minutes, reverts expired counts, and publishes immutable snapshots without costly read-side operations; request rates per shard are calculated precisely over actual window spans and aggregated efficiently in O(1) time.
Key Takeaway for Contributors
Designing distributed feedback reporting requires carefully balancing timely data detachment, state persistence, and efficient aggregation to maintain accurate metrics without expensive locking or copying.