Caideyipi opened a new pull request, #18778: URL: https://github.com/apache/iotdb/pull/18778
## Summary - Reuse the committed WAL retention boundary while committed writer progress advances monotonically, the boundary WAL file still exists, and its cached commit requirement remains uncovered. - Recompute the boundary when those conditions change. The replay cursor continues to constrain WAL retention. - Add regression coverage for boundary reuse, advancement, progress rollback, and replay cursor protection. ## Motivation In the reported partial-topic subscription workload, filtered writer entries repeatedly refreshed WAL retention. The CPU profile concentrated in WAL metadata reads during those refreshes. Reusing an unchanged, still uncovered boundary avoids reopening the same WAL file for each filtered entry. ## Verification - `git diff --check` passed. - The focused regression test was not rerun after correcting its WAL entry helper because local tests were stopped at the requester's direction. -- 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]
