Skip to content

Conversation

dantengsky
Copy link
Member

@dantengsky dantengsky commented Sep 22, 2025

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

Summary

Fix:
The merge of PR #18751 and #18759 introduced a semantic conflict where vacuum tests were still importing the old KVApi trait instead of the new KvApiExt trait. This caused compilation failures despite no git merge conflicts being detected.

Chore: add logging for meta garbage collection operations

  • Return approximate count of removed metadata keys from gc_drop_tables
  • Add extra logging throughout GC process for better observability
  • Update catalog interface to support metadata removal tracking
  • Note: DeleteByPrefix operations count as 1 but may remove multiple keys (currently not used in meta GC)

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test

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

The merge of PR databendlabs#18751 and databendlabs#18759 introduced a semantic conflict where
vacuum tests were still importing the old KVApi trait instead of the
new KvApiExt trait. This caused compilation failures despite no git
merge conflicts being detected.
@github-actions github-actions bot added the pr-refactor this PR changes the code base without new features or bugfix label Sep 22, 2025
@dantengsky dantengsky added the ci-cloud Build docker image for cloud test label Sep 22, 2025
@dantengsky dantengsky changed the title refactor: resolve post-merge compilation failure after KvApi refactoring chore: resolve post-merge compilation failure after KvApi refactoring Sep 22, 2025
@github-actions github-actions bot added the pr-chore this PR only has small changes that no need to record, like coding styles. label Sep 22, 2025
@dantengsky dantengsky removed the pr-refactor this PR changes the code base without new features or bugfix label Sep 22, 2025

This comment was marked as outdated.

@dantengsky dantengsky marked this pull request as ready for review September 22, 2025 06:56
- Return approximate count of removed metadata keys from gc_drop_tables
- Add extra logging throughout GC process for better observability
- Update catalog interface to support metadata removal tracking
- Note: DeleteByPrefix operations count as 1 but may remove multiple keys (currenyly not used in meta GC)
@dantengsky dantengsky force-pushed the chore-resolve-merge-conflict branch from daa8423 to e71db77 Compare September 22, 2025 10:45
@dantengsky dantengsky added ci-cloud Build docker image for cloud test and removed ci-cloud Build docker image for cloud test labels Sep 22, 2025
Copy link
Contributor

Docker Image for PR

  • tag: pr-18761-c7dfa25-1758541038

note: this image tag is only available for internal use.

@dantengsky dantengsky merged commit e09f5f0 into databendlabs:main Sep 22, 2025
177 of 179 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-cloud Build docker image for cloud test 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.

2 participants