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 support for TiKV flow control #384

Merged
merged 1 commit into from
Sep 29, 2024
Merged

Conversation

v01dstar
Copy link

Replacing RocksDB's write stall mechanism with TiKV flow control.

This includes:
#251 add disable write stall option
#241 expose ingest level info, so that flow control knows which type of limit to apply. e.g. ingest to 0 is considered a flush, while, ingest to non-zero level is considered a compaction.
base_background_compaction related code in #251 is removed, since it has been deprecated in RocksDB

@ti-chi-bot ti-chi-bot bot added the dco-signoff: yes Indicates the PR's author has signed the dco. label Sep 27, 2024
@v01dstar v01dstar requested a review from Connor1996 September 27, 2024 07:39
@ti-chi-bot ti-chi-bot bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 27, 2024
@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Sep 27, 2024
@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Sep 27, 2024
@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Sep 29, 2024
@ti-chi-bot ti-chi-bot bot added the lgtm label Sep 29, 2024
Copy link

ti-chi-bot bot commented Sep 29, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Connor1996, glorv, 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,glorv]

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 Sep 29, 2024
Copy link

ti-chi-bot bot commented Sep 29, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-09-27 07:45:55.943739846 +0000 UTC m=+1811225.684163781: ☑️ agreed by Connor1996.
  • 2024-09-27 08:20:21.124748308 +0000 UTC m=+1813290.865172247: ☑️ agreed by glorv.
  • 2024-09-27 20:42:59.958443334 +0000 UTC m=+41935.378656348: ✖️🔁 reset by v01dstar.
  • 2024-09-29 02:22:55.172281666 +0000 UTC m=+148730.592494678: ☑️ agreed by glorv.
  • 2024-09-29 02:29:09.855047863 +0000 UTC m=+149105.275260874: ☑️ agreed by LykxSassinator.

@ti-chi-bot ti-chi-bot bot merged commit 6e7e469 into tikv:8.10.tikv Sep 29, 2024
5 checks passed
@v01dstar v01dstar deleted the flow-control branch September 29, 2024 05:20
@v01dstar
Copy link
Author

Please merge this with #393, next time upgrading RocksDB

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/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants