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

Revert "Snapshot release triggered compaction without multiple tombstones" #396

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

v01dstar
Copy link

@v01dstar v01dstar commented Oct 28, 2024

Revert "Revert " Revert "Snapshot release triggered compaction without multiple tombstones (facebook#8357)" (facebook#8410)" (facebook#8438)"

We observed:

  1. Performance regression
  2. Compaction pattern change, especially during TiDB's add index test (using ingestions). We observed abnormal "compaction pending bytes", irregular write batching ("done by others" were significantly lower), flush, level 0 compaction were impacted, level 0 files accumulation (triggered write stall).

We also tried the new option introduced in facebook#11701 for delaying such compactions, but it did not resolve the issue.

So, we are reverting the commit.
This reverts commit f89423a.

Maintainer's node:
We need to cherry-pick this in future RocksDB upgrades, until new improvements are proposed in upstream.

@ti-chi-bot ti-chi-bot bot added dco-signoff: yes Indicates the PR's author has signed the dco. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Oct 28, 2024
@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Oct 29, 2024
@ti-chi-bot ti-chi-bot bot added the lgtm label Oct 29, 2024
Copy link

ti-chi-bot bot commented Oct 29, 2024

[APPROVALNOTIFIER] This PR is APPROVED

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

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 [LykxSassinator,overvenus]

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

@ti-chi-bot ti-chi-bot bot removed the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Oct 29, 2024
Copy link

ti-chi-bot bot commented Oct 29, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-10-29 02:37:20.377488311 +0000 UTC m=+317353.216643857: ☑️ agreed by overvenus.
  • 2024-10-29 02:46:28.055712397 +0000 UTC m=+317900.894867939: ☑️ agreed by LykxSassinator.

@ti-chi-bot ti-chi-bot bot merged commit cf9cd5b into tikv:8.10.tikv Oct 29, 2024
5 checks passed
@v01dstar v01dstar deleted the revert-compaction branch October 29, 2024 05:12
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/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants