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 enable_pipelined_commit as deprecated option #397

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

v01dstar
Copy link

enable_pipelined_commit was introduced by TiKV before, but got renamed to enable_multi_batch_write later. However, there are some versions of TiKV still running with enable_pipelined_commit (either false or true) persisted in OPTIONS-xxxx file under RocksDB directory, when upgrading these TiKVs, they will panic because of "load_latest_options" who reads the OPTIONS-xxxx does not recognize the option.

Now, add this option as a deprecated option, so that, it won't cause a InvalidArgument panic, nor will it be serialized in OPTIONS-xxxx files anymore.

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

@CalvinNeo CalvinNeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ti-chi-bot ti-chi-bot bot added the lgtm label Oct 30, 2024
Copy link

ti-chi-bot bot commented Oct 30, 2024

[APPROVALNOTIFIER] This PR is APPROVED

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

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

ti-chi-bot bot commented Oct 30, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-10-30 01:59:17.55144863 +0000 UTC m=+401470.390604170: ☑️ agreed by LykxSassinator.
  • 2024-10-30 02:45:04.987748319 +0000 UTC m=+404217.826903862: ☑️ agreed by CalvinNeo.

@ti-chi-bot ti-chi-bot bot merged commit d425a86 into tikv:8.10.tikv Oct 30, 2024
5 checks passed
@v01dstar v01dstar deleted the add-deprecated-option branch November 6, 2024 19:06
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/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants