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

[no-release-notes]: go/store/nbs: Improve cleanup if we encounter an error during GC. #8782

Merged
merged 2 commits into from
Jan 24, 2025

Conversation

reltuk
Copy link
Contributor

@reltuk reltuk commented Jan 22, 2025

During GC if we encounter an error we should cleanup the table writer. We can do it without finalizing the file, writing its index, etc. This improves the error path to be more correct and to leave less lingering state around.

…error during GC.

During GC if we encounter an error we should cleanup the table
writer. We can do it without finalizing the file, writing its
index, etc. This improves the error path to be more correct and
to leave less lingering state around.
@reltuk reltuk requested a review from max-hoffman January 22, 2025 22:13
Copy link
Contributor

@max-hoffman max-hoffman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, separating concerns makes sense

@coffeegoddd
Copy link
Contributor

@reltuk DOLT

comparing_percentages
100.000000 to 100.000000
version result total
591e29c ok 5937457
version total_tests
591e29c 5937457
correctness_percentage
100.0

@reltuk reltuk merged commit 25657eb into main Jan 24, 2025
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants