-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HUDI-8769] Limit instantsToArchive to avoid expensive locks blocking ingestion and table services #12491
base: master
Are you sure you want to change the base?
[HUDI-8769] Limit instantsToArchive to avoid expensive locks blocking ingestion and table services #12491
Conversation
Where do I add tests for v1 archival ? They seem to have been deleted in 1.0 and moved to a new location. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this might contradict with "hoodie.keep.min.commits". So, the question we might need to ask ourselves is, why not adjusting "hoodie.keep.min.commits" and "hoodie.keep.max.commits" help here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we add tests please
I'm wondering why there are so many active instants on the timeline, the ingestion still not perform well if there are too many small files within the timeline. And listing cost should be huge. |
The table can be in a bad state and user enabled table services with the right configs. |
Maybe a better solution is just archive the instants in one shot from the HUDI CLI cmd. |
Change Logs
Archival takes a lock before archiving instants when a large timeline with tens of thousands instants is pruned to few hundreds this blocks other table services from completion because they can't acquire the lock.
Impact
Avoids blocking ingestion and other table services for archiving large timelines.
Risk level (write none, low medium or high below)
Low
Documentation Update
Contributor's checklist