suryaprasanna opened a new pull request, #5341:
URL: https://github.com/apache/hudi/pull/5341
## What is the purpose of the pull request
*This pull request adds support for compacted log blocks and also handle
various rollback scenarios when there are some valid data blocks between
rollback block and their corresponding target block. With RFC-48 a new action
type called logcompaction is introduced, this change helps to iterate the log
blocks within the log files.*
## Brief change log
- *For data and delete blocks introduce new field called
isCompactedLogBlock*
- *Change the iteration logic in AbstractHoodieLogRecordReader to support
handling various multiwriter scenarios.*
- *Fix issue when rollback blocks are farther from their target blocks*
- *Include test case to verify the new isCompactedLogBlock check*
## Verify this pull request
*This pull request change is already covered by existing tests, and also
added new test case to verify the changes*.
- *Added
TestHoodieLogFormat.testAvroLogRecordReaderWithMixedInsertsCorruptsRollbackAndMergedLogBlock
to verify the change.*
## 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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]