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

pdms: remove shutdown component and add test for scaler&upgrader #5554

Merged
merged 5 commits into from
Feb 28, 2024

Conversation

HuSharp
Copy link
Contributor

@HuSharp HuSharp commented Feb 23, 2024

What problem does this PR solve?

Fix the bug that modifing tso config did not take effect

Closes #5553, related tikv/pd#7519

What is changed and how does it work?

Tests

  • Unit test
  • Manual test

Release Notes

Please refer to Release Notes Language Style Guide before writing the release note.


@HuSharp HuSharp requested a review from csuzhangxc February 23, 2024 07:31
@ti-chi-bot ti-chi-bot bot requested a review from shonge February 23, 2024 07:31
@ti-chi-bot ti-chi-bot bot added the size/XXL label Feb 23, 2024
@HuSharp HuSharp removed the request for review from shonge February 23, 2024 07:31
Signed-off-by: husharp <jinhao.hu@pingcap.com>
@HuSharp HuSharp force-pushed the add_scaler_and_upgrader_test branch from 2989d69 to e753190 Compare February 23, 2024 07:32
@HuSharp
Copy link
Contributor Author

HuSharp commented Feb 23, 2024

/run-all-tests

@codecov-commenter
Copy link

codecov-commenter commented Feb 23, 2024

Codecov Report

Attention: Patch coverage is 22.22222% with 21 lines in your changes are missing coverage. Please review.

Project coverage is 61.47%. Comparing base (d691de8) to head (19b9537).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5554      +/-   ##
==========================================
+ Coverage   61.32%   61.47%   +0.15%     
==========================================
  Files         235      235              
  Lines       30083    30097      +14     
==========================================
+ Hits        18449    18503      +54     
+ Misses       9793     9740      -53     
- Partials     1841     1854      +13     
Flag Coverage Δ
unittest 61.47% <22.22%> (+0.15%) ⬆️

@HuSharp
Copy link
Contributor Author

HuSharp commented Feb 26, 2024

/run-pull-e2e-kind-serial

@HuSharp
Copy link
Contributor Author

HuSharp commented Feb 26, 2024

/run-pull-e2e-kind-tngm

Signed-off-by: husharp <jinhao.hu@pingcap.com>
@HuSharp HuSharp changed the title pdms: add test for scaler&upgrader pdms: remove shutdown component and add test for scaler&upgrader Feb 26, 2024
@HuSharp
Copy link
Contributor Author

HuSharp commented Feb 26, 2024

/run-all-tests

2 similar comments
@HuSharp
Copy link
Contributor Author

HuSharp commented Feb 27, 2024

/run-all-tests

@HuSharp
Copy link
Contributor Author

HuSharp commented Feb 27, 2024

/run-all-tests

Signed-off-by: husharp <jinhao.hu@pingcap.com>
@HuSharp
Copy link
Contributor Author

HuSharp commented Feb 27, 2024

/run-all-tests

1 similar comment
@HuSharp
Copy link
Contributor Author

HuSharp commented Feb 27, 2024

/run-all-tests

@HuSharp
Copy link
Contributor Author

HuSharp commented Feb 28, 2024

@csuzhangxc friendly ping :)

Copy link
Member

@csuzhangxc csuzhangxc left a comment

Choose a reason for hiding this comment

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

rest LGTM

pkg/manager/member/pd_ms_member_manager.go Outdated Show resolved Hide resolved
Signed-off-by: husharp <jinhao.hu@pingcap.com>
@ti-chi-bot ti-chi-bot bot added the lgtm label Feb 28, 2024
Copy link
Contributor

ti-chi-bot bot commented Feb 28, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: csuzhangxc

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

Copy link
Contributor

ti-chi-bot bot commented Feb 28, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-02-28 06:59:32.376864618 +0000 UTC m=+1031661.124487714: ☑️ agreed by csuzhangxc.

@ti-chi-bot ti-chi-bot bot added the approved label Feb 28, 2024
@HuSharp
Copy link
Contributor Author

HuSharp commented Feb 28, 2024

/run-all-tests

@csuzhangxc csuzhangxc merged commit 8925197 into pingcap:master Feb 28, 2024
6 of 13 checks passed
@HuSharp HuSharp deleted the add_scaler_and_upgrader_test branch March 6, 2024 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(pdms)modify tso config did not take effect
3 participants