ViktorBystrov72 opened a new pull request, #21094: URL: https://github.com/apache/hudi/pull/21094
### Describe the issue this Pull Request addresses Closes #21032. ### Summary and Changelog The Source V2 enumerator reuses one registered-reader snapshot per assignment pass. A continuous request with an empty split queue queues the reader, subscribes to availability, and rechecks the queue after subscribing. A replacement reader makes a fresh request for its subtask before it can receive a split. ### Impact With 512 idle readers, a JDK 21 probe using the enumerator methods and a Flink-style copying registry measured 131,328 registry snapshots before the change and zero after it. For an assignment pass with work available, the enumerator takes one snapshot for all waiting readers. ### Risk Level Low. The regression covers waiting readers and split discovery. The JDK probe also exercised skewed affinity, failed readers, returned splits, and bounded end-of-input. The Flink JUnit suite is pending upstream CI. ### Documentation Update None. ### Contributor's checklist - [x] Read through the contributor's guide - [x] Enough context is provided in the sections above - [x] Adequate tests were added -- 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]
