danny0405 opened a new pull request #2581:
URL: https://github.com/apache/hudi/pull/2581
… files
## What is the purpose of the pull request
The index should bootstrap from existing base files if there are, in the
design, we load all the keys for one partition if we found that the key
does not exist in the index for `processElement`, if there are many
records for this partition, the processing may block and trigger back
pressure. When all the records are loaded, we only need to check the
state each time a record is tagged.
## Brief change log
- Modify BucketAssignFunction to load existing records for indexing
## Verify this pull request
Added UTs.
## Committer checklist
- [ ] Has a corresponding JIRA in PR title & commit
- [ ] 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.
For queries about this service, please contact Infrastructure at:
[email protected]