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

   
   ## *Tips*
   - *Thank you very much for contributing to Apache Hudi.*
   - *Please review https://hudi.apache.org/contribute/how-to-contribute before 
opening a pull request.*
   
   ## What is the purpose of the pull request
   
   Patch to ensure `StreamWriteOperatorCoordinator` do re-commit during restart 
when the `write.tasks` parameter changes.
   
   For details, please check out 
[HUDI-4521](https://issues.apache.org/jira/browse/HUDI-4521).
   
   
   ## Brief change log
   
   - Persist `write.tasks` parameter (i.e., parallelism) in writers' ckp states.
   - Include `parallelism` and `total event number` in the bootstrap metadata 
event.
   - Use `parallelism` & `total event number` to determine whether or not to do 
the re-commit, rather than relying on the slot number (i.e., the current 
`write.tasks` setup).
   
   ## Verify this pull request
   
   Unit tests is added to verify the changes.
   
   ## Committer checklist
   
    - [x] Has a corresponding JIRA in PR title & commit
    
    - [x] Commit message is descriptive of the change
    
    - [ ] CI is green
   
    - [ ] Necessary doc changes done or have another open PR
          
    - [ ] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA.
   


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