Skip to content
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

[Spark] Fix metadata cleanup by retaining a checkpoint before the cutoff window. Alternative fix #4146

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

felipepessoto
Copy link
Contributor

Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (fill in here)

Description

Delete eligible delta log files only if there's a checkpoint newer than them before the cutoff window.

Resolves #606

Unit tests based on #2673

How was this patch tested?

Unit Tests

Does this PR introduce any user-facing changes?

Yes, tables with low rate of commit/checkpoints will have increased log retention beyond the cutoff window

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MetadataCleanUp may make the present versions not available
1 participant