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

tiup, tiproxy: add version flags to tiup cluster upgrade #16917

Merged
merged 4 commits into from Apr 16, 2024

Conversation

Oreoxmt
Copy link
Collaborator

@Oreoxmt Oreoxmt commented Apr 1, 2024

What is changed, added or deleted? (Required)

  • TiUP Cluster supports specifying versions of specific components:
Flags:
      --alertmanager-version string        Fix the version of alertmanager and no longer follows the cluster version.
      --blackbox-exporter-version string   Fix the version of blackbox-exporter and no longer follows the cluster version.
      --cdc-version string                 Fix the version of cdc and no longer follows the cluster version.
      --force                              Force upgrade without transferring PD leader
  -h, --help                               help for upgrade
      --ignore-config-check                Ignore the config check result
      --ignore-version-check               Ignore checking if target version is bigger than current version
      --node-exporter-version string       Fix the version of node-exporter and no longer follows the cluster version.
      --offline                            Upgrade a stopped cluster
      --pd-version string                  Fix the version of pv and no longer follows the cluster version.
      --post-upgrade-script string         (EXPERIMENTAL) Custom script to be executed on each server after the server is upgraded
      --pre-upgrade-script string          (EXPERIMENTAL) Custom script to be executed on each server before the server is upgraded
      --tidb-dashboard-version string      Fix the version of tidb-dashboard and no longer follows the cluster version.
      --tiflash-version string             Fix the version of tiflash and no longer follows the cluster version.
      --tikv-cdc-version string            Fix the version of tikv-cdc and no longer follows the cluster version.
      --tikv-version string                Fix the version of tikv and no longer follows the cluster version.
      --tiproxy-version string             Fix the version of tiproxy and no longer follows the cluster version.
      --transfer-timeout uint              Timeout in seconds when transferring PD and TiKV store leaders, also for TiCDC drain one capture (default 600)
  • Update the links in TiProxy overview doc

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions (in Chinese).

  • master (the latest development version)
  • v7.6 (TiDB 7.6 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.4 (TiDB 7.4 versions)
  • v7.3 (TiDB 7.3 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)
  • v5.4 (TiDB 5.4 versions)
  • v5.3 (TiDB 5.3 versions)
  • v5.2 (TiDB 5.2 versions)
  • v5.1 (TiDB 5.1 versions)
  • v5.0 (TiDB 5.0 versions)

What is the related PR or file link(s)?

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@Oreoxmt Oreoxmt added translation/from-docs-cn This PR is translated from a PR in pingcap/docs-cn. needs-cherry-pick-release-7.6 Should cherry pick this PR to release-7.6 branch. needs-cherry-pick-release-8.0 Should cherry pick this PR to release-8.0 branch. labels Apr 1, 2024
@Oreoxmt Oreoxmt self-assigned this Apr 1, 2024
@Oreoxmt
Copy link
Collaborator Author

Oreoxmt commented Apr 1, 2024

/cc @djshow832

@ti-chi-bot ti-chi-bot bot requested a review from djshow832 April 1, 2024 07:56
@ti-chi-bot ti-chi-bot bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 1, 2024
Copy link

ti-chi-bot bot commented Apr 11, 2024

@djshow832: 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.

@Oreoxmt Oreoxmt requested a review from hfxsd April 11, 2024 08:05
tiproxy/tiproxy-configuration.md Outdated Show resolved Hide resolved
tiup/tiup-component-cluster-upgrade.md Show resolved Hide resolved
Copy link

ti-chi-bot bot commented Apr 12, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-04-12 01:31:44.955318856 +0000 UTC m=+1185166.482859403: ☑️ agreed by hfxsd.

Oreoxmt and others added 2 commits April 16, 2024 11:37
Co-authored-by: xixirangrang <hfxsd@hotmail.com>
@Oreoxmt Oreoxmt added the lgtm label Apr 16, 2024
@Oreoxmt
Copy link
Collaborator Author

Oreoxmt commented Apr 16, 2024

/approve

Copy link

ti-chi-bot bot commented Apr 16, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Oreoxmt

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 added the approved label Apr 16, 2024
@ti-chi-bot ti-chi-bot bot merged commit 6810a92 into pingcap:master Apr 16, 2024
8 of 9 checks passed
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-7.6: #17209.

@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created to branch release-8.0: #17210.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm needs-1-more-lgtm needs-cherry-pick-release-7.6 Should cherry pick this PR to release-7.6 branch. needs-cherry-pick-release-8.0 Should cherry pick this PR to release-8.0 branch. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. translation/from-docs-cn This PR is translated from a PR in pingcap/docs-cn.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants