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

Fix the fail start of tiflash because of the zero division when getting cpu number #9602

Merged
merged 4 commits into from
Nov 15, 2024

Conversation

xzhangxian1008
Copy link
Contributor

What problem does this PR solve?

Issue Number: close #9212

Problem Summary:

What is changed and how it works?


Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

Fix the that fail to start tiflash because of the zero division when getting cpu number

@ti-chi-bot ti-chi-bot bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Nov 12, 2024
@xzhangxian1008
Copy link
Contributor Author

/cc @yibin87 @Lloyd-Pottiger

@ti-chi-bot ti-chi-bot bot added approved needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Nov 12, 2024
@xzhangxian1008
Copy link
Contributor Author

/cc @yibin87

Copy link
Contributor

@yibin87 yibin87 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

ti-chi-bot bot commented Nov 15, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Lloyd-Pottiger, yibin87

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 [Lloyd-Pottiger,yibin87]

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 lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Nov 15, 2024
Copy link
Contributor

ti-chi-bot bot commented Nov 15, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-11-12 08:46:15.735503205 +0000 UTC m=+345937.926372195: ☑️ agreed by Lloyd-Pottiger.
  • 2024-11-15 03:06:28.20481276 +0000 UTC m=+584750.395681756: ☑️ agreed by yibin87.

@Lloyd-Pottiger
Copy link
Contributor

/retest

@xzhangxian1008
Copy link
Contributor Author

/run-unit-test

@xzhangxian1008
Copy link
Contributor Author

/retest

@ti-chi-bot ti-chi-bot bot merged commit 1af89a5 into pingcap:master Nov 15, 2024
5 checks passed
@xzhangxian1008 xzhangxian1008 deleted the fix-9212 branch November 15, 2024 09:36
@xzhangxian1008
Copy link
Contributor Author

/cherrypick release-8.5

@ti-chi-bot
Copy link
Member

@xzhangxian1008: new pull request created to branch release-8.5: #9623.

In response to this:

/cherrypick release-8.5

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 ti-community-infra/tichi repository.

@xzhangxian1008
Copy link
Contributor Author

/cherrypick release-8.1

@ti-chi-bot
Copy link
Member

@xzhangxian1008: new pull request created to branch release-8.1: #9624.

In response to this:

/cherrypick release-8.1

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 ti-community-infra/tichi repository.

@xzhangxian1008
Copy link
Contributor Author

/cherrypick release-7.5

@xzhangxian1008
Copy link
Contributor Author

/cherrypick release-7.1

@ti-chi-bot
Copy link
Member

@xzhangxian1008: new pull request created to branch release-7.5: #9625.

In response to this:

/cherrypick release-7.5

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 ti-community-infra/tichi repository.

@xzhangxian1008
Copy link
Contributor Author

/cherrypick release-6.5

ti-chi-bot pushed a commit to ti-chi-bot/tiflash that referenced this pull request Nov 15, 2024
@ti-chi-bot
Copy link
Member

@xzhangxian1008: new pull request created to branch release-7.1: #9626.

In response to this:

/cherrypick release-7.1

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 ti-community-infra/tichi repository.

ti-chi-bot pushed a commit to ti-chi-bot/tiflash that referenced this pull request Nov 15, 2024
@ti-chi-bot
Copy link
Member

@xzhangxian1008: new pull request created to branch release-6.5: #9627.

In response to this:

/cherrypick release-6.5

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 ti-community-infra/tichi repository.

ti-chi-bot bot pushed a commit that referenced this pull request Nov 15, 2024
ti-chi-bot bot pushed a commit that referenced this pull request Nov 21, 2024
…ng cpu number (#9602) (#9625)

close #9212

Co-authored-by: xzhangxian1008 <[email protected]>
Co-authored-by: JaySon <[email protected]>
ti-chi-bot bot added a commit that referenced this pull request Nov 21, 2024
…ng cpu number (#9602) (#9624)

close #9212

Co-authored-by: xzhangxian1008 <[email protected]>
Co-authored-by: JaySon <[email protected]>
Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
ti-chi-bot bot pushed a commit that referenced this pull request Nov 21, 2024
…ng cpu number (#9602) (#9626)

close #9212

Signed-off-by: ti-chi-bot <[email protected]>

Co-authored-by: xzhangxian1008 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm release-note Denotes a PR that will be considered when it comes time to generate release notes. 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.

Failed to start TiFlash when some CPUs are offline
4 participants