prashantwason opened a new pull request #3083:
URL: https://github.com/apache/hudi/pull/3083
## What is the purpose of the pull request
Metadata Table cannot be bootstrapped when any action is in progress. This
is detected by the presence of inflight or requested instants. The bootsrapping
is initiated in preWrite and postWrite of each commit. So bootstrapping will be
retried again until it succeeds.
Also added metrics for when the bootstrapping fails or a table is
re-bootstrapped. This will help detect tables which are not getting
bootstrapped.
## Brief change log
Detect any non-complete operation on the dataset. If found, do not start the
bootstrap of metadata table.
## Verify this pull request
- Added / updated tests in TestHoodieBackedMetadata
## 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]