ViktorBystrov72 opened a new pull request, #21112: URL: https://github.com/apache/hudi/pull/21112
### Describe the issue this Pull Request addresses Closes #21033. ### Summary and Changelog Store each shared incremental instant range once in a Source V2 enumerator checkpoint. Pending splits carry a range index, so restore shares the reconstructed range across those splits. ### Impact A local workload of 10,000 pending splits sharing 101 instants used 1,030,877 bytes in version 2, down from 20,768,896 bytes in version 1. It restored one shared range instance instead of 10,000. ### Risk Level Medium. Enumerator checkpoints use format version 2, with a version 1 read path for upgrades. Standalone split serialization continues to use version 1. The 62 focused serializer tests cover old checkpoints, several kinds of range, split position and status, and CDC splits. They ran with Flink 1.20.1 and the Hudi 1.2.0 bundle. A reader built before this change cannot read a version 2 enumerator checkpoint. ### Documentation Update None. ### Contributor's checklist - [x] Read through the contributor's guide - [x] Enough context is provided in the sections above - [x] Added regression 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]
