danny0405 opened a new pull request, #20900:
URL: https://github.com/apache/hudi/pull/20900

   ### Describe the issue this Pull Request addresses
   
   `HoodieContinuousSplitEnumerator` declares a private `splitProvider` that 
shadows the protected field in `AbstractHoodieSplitEnumerator`. Both 
constructors store the same provider, so a reader has to trace both assignments 
to see that split discovery and assignment share one instance.
   
   ### Summary and Changelog
   
   Remove the subclass field and its constructor assignment. The existing 
`super(...)` call initializes the provider used by both enumerators.
   
   ### Impact
   
   This cleanup is internal to the Flink source. Split discovery, assignment, 
and checkpointing continue to use the same provider.
   
   ### Risk Level
   
   low
   
   The constructor already passes the provider directly to the superclass. All 
19 tests in `TestHoodieContinuousSplitEnumerator` passed against the recompiled 
class, including coverage for split discovery, pending-split limits, and 
checkpoint state.
   
   ### Documentation Update
   
   none
   
   ### Contributor's checklist
   
   - [x] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [x] Enough context is provided in the sections above
   - [ ] Adequate tests were added if applicable (existing tests cover this 
cleanup).
   


-- 
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