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

Add is_bottommost_level in compaction filter context #374

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

v01dstar
Copy link

@v01dstar v01dstar commented Sep 22, 2024

This is a cherry-pick of 8e20349

Adding is_bottommost_level info, so that MVCC storage engine built on top of RocksDB can decide whether to GC tombstones during compaction. i.e. If the compaction involves the bottommost level, tombstones can be discarded, otherwise, they need to be kept in order to GC old versions in the lower levels in the future.

We had 2 other compaction filter related changes but are no longer needed now:

@ti-chi-bot ti-chi-bot bot added dco-signoff: yes Indicates the PR's author has signed the dco. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Sep 22, 2024
Copy link

ti-chi-bot bot commented Sep 23, 2024

@LykxSassinator: adding LGTM is restricted to approvers and reviewers in OWNERS files.

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@v01dstar v01dstar force-pushed the compaction-filter branch 2 times, most recently from 9d91c8d to 1570d85 Compare September 24, 2024 17:23
@ti-chi-bot ti-chi-bot bot added approved size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Sep 24, 2024
@ti-chi-bot ti-chi-bot bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Sep 25, 2024
@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Sep 26, 2024
@Connor1996
Copy link
Member

/merge

@LykxSassinator
Copy link

/approve

@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Sep 26, 2024
Copy link

ti-chi-bot bot commented Sep 26, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-09-26 05:34:38.938635237 +0000 UTC m=+1716948.679059176: ☑️ agreed by Connor1996.
  • 2024-09-26 05:43:07.008368326 +0000 UTC m=+1717456.748792265: ☑️ agreed by LykxSassinator.

@LykxSassinator
Copy link

/merge

@LykxSassinator
Copy link

/approve

Copy link

ti-chi-bot bot commented Sep 26, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Connor1996, LykxSassinator

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [Connor1996,LykxSassinator]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@LykxSassinator
Copy link

/merge

@ti-chi-bot ti-chi-bot bot merged commit d3f9ec5 into tikv:8.10.tikv Sep 26, 2024
5 checks passed
@v01dstar v01dstar deleted the compaction-filter branch September 26, 2024 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved dco-signoff: yes Indicates the PR's author has signed the dco. lgtm size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants