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

   ### Describe the issue this Pull Request addresses
   
   Fix the bootstrap initialization for bounded source.
   
   ### Summary and Changelog
   
   The bounded-source pipeline in Pipelines.bootstrap() decided whether to skip 
the generic index-bootstrap operator by checking only 
isGlobalRecordLevelIndex(conf). That left non-global (partitioned) Record Level 
Index configs out of the exemption, so a bounded/batch job using partitioned 
RLI would incorrectly still wire in the bootstrap operator — even though 
RLI-based bucket assignment (via the metadata table / 
DynamicBucketAssignOperator) doesn't consume that bootstrapped state.
   
   The fix widens the check to isGlobalRecordLevelIndex(conf) || 
isRecordLevelIndex(conf), so both global and partitioned RLI skip the redundant 
bootstrap step for bounded sources, unless INDEX_BOOTSTRAP_ENABLED is 
explicitly set (which still forces bootstrap regardless of index type).
   
   
   ### Impact
   
   none
   
   ### Risk Level
   
   none
   
   ### Documentation Update
   
   none
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Enough context is provided in the sections above
   - [ ] Adequate tests were added if applicable
   


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