Skip to content

Prempt the condition to check whether MDT can be rolled back before running rollback in data table #16100

@hudi-bot

Description

@hudi-bot

Currently, while restoring, after we have processed N rollbacks in data table (rollbacks are not yet committed), we call metadata writer update method which then checks if there is at least a base file upto the point being restored. If not, then it aborts and the N rollback processing is wasted. The check in metadata writer update can be moved upfront.  

JIRA info

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions