ViktorBystrov72 opened a new pull request, #21111: URL: https://github.com/apache/hudi/pull/21111
### Describe the issue this Pull Request addresses Closes #20920. ### Summary and Changelog Keep the current archive record when flushing a full batch during the LSM timeline downgrade. The downgrade now converts and buffers that record after writing the previous batch. ### Impact Archived instants are preserved when a version 8 table is downgraded to version 7. ### Risk Level Low. The batch size and flush order stay the same. The regression test exercises 10, 11, and 21 records. A JDK 21 probe ran the actual flusher with stub archive I/O. For 11 records, the base emitted 10 and the fix emitted 11 in order. The Maven suite remains to run in CI. ### Documentation Update None. ### Contributor's checklist - [x] Read through the contributor's guide - [x] Enough context is provided in the sections above - [x] Added a regression test -- 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]
