Caideyipi opened a new pull request, #19042:
URL: https://github.com/apache/iotdb/pull/19042

   ## Problem\nConsensus subscription WAL retention could stay stale when a 
live WAL rolled without a new ACK, and repeated cursor fast-forwards could 
revisit predecessor WAL files after they had been reclaimed. These windows can 
retain unnecessary WALs or stall replay recovery.\n\n## Changes\n- Re-evaluate 
the committed retention boundary after a live WAL rolls, even when committed 
progress is unchanged.\n- Allow ProgressWALIterator to realign to the live tail 
and skip already-passed WAL predecessors without rechecking reclaimed files.\n- 
Add focused unit coverage for both conditions.\n\n## Validation\n- 
ConsensusPrefetchingQueueTest: 53/53 passed.\n- ProgressWALIteratorTest: 32 
passed; 1 pre-existing skipped test.\n- Clean reactor/node-template rebuild and 
Tree/Table subscription P0 ITs passed in the separate Timecho MR 7295 
worktree.\n\nThe corresponding end-to-end ITs remain in Timecho MR 7295; this 
PR contains only the product fixes and focused unit tests.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to