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

chore: refine vacuum #16743

Merged
merged 1 commit into from
Nov 1, 2024
Merged

Conversation

dantengsky
Copy link
Member

@dantengsky dantengsky commented Oct 31, 2024

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

If only orphans left, the vacuum should continue working as expected (purge all the orphans).

Instead of using prefix extracted from the "path" of object belong to the GC root, using block/bloom_filter_index/segment prefix directly.

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Breaking Change (fix or feature that could cause existing functionality not to work as expected)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

This change is Reviewable

@github-actions github-actions bot added the pr-chore this PR only has small changes that no need to record, like coding styles. label Oct 31, 2024
If only orphans left, the vacuum should works as expected.
@dantengsky dantengsky marked this pull request as ready for review November 1, 2024 00:36
@BohuTANG BohuTANG merged commit 9a24a43 into databendlabs:main Nov 1, 2024
78 checks passed
dantengsky added a commit that referenced this pull request Nov 1, 2024
…6744)

* chore: refine vacuum

If only orphans left, the vacuum should works as expected.

* try trigger CI

* ignore RUSTSEC-2024-0376 temporarily

* tweak ut case

* tweak logic test

* sync logic test `18_0011_alter_own_username` with main

Avoid bendsql version issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-chore this PR only has small changes that no need to record, like coding styles.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants