tidb-operator icon indicating copy to clipboard operation
tidb-operator copied to clipboard

[WIP]Support intelligent update policy

Open mikechengwei opened this issue 3 years ago • 4 comments
trafficstars

What problem does this PR solve?

#4130

What is changed and how does it work?

  • Pd statefulset use ondelete update policy deploy and use intelligent update policy , current support the non-leader pod update first.
  • TiDB/TiKV support metrics cache and intelligent update policy.

Code changes

  • [ ] Has Go code change
  • [ ] Has CI related scripts change

Tests

  • [ ] Unit test
  • [ ] E2E test
  • [ ] Manual test
  • [ ] No code

Side effects

  • [ ] Breaking backward compatibility
  • [ ] Other side effects:

Related changes

  • [ ] Need to cherry-pick to the release branch
  • [ ] Need to update the documentation

Release Notes

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


mikechengwei avatar Jan 06 '22 20:01 mikechengwei

[REVIEW NOTIFICATION]

This pull request has not been approved.

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment. After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review. Reviewer can cancel approval by submitting a request changes review.

ti-chi-bot avatar Jan 06 '22 20:01 ti-chi-bot

For example:

pd member screenshot: Screen Shot 2022-01-07 at 3 55 49 AM pod update screenshot:( The order is pd-1 pd-0 pd-2) Screen Shot 2022-01-07 at 3 58 36 AM transfer leader log: Screen Shot 2022-01-07 at 3 58 11 AM

mikechengwei avatar Jan 06 '22 20:01 mikechengwei

Codecov Report

Merging #4355 (2ab5b54) into master (eecea2b) will decrease coverage by 5.31%. The diff coverage is 18.51%.

@@            Coverage Diff             @@
##           master    #4355      +/-   ##
==========================================
- Coverage   62.59%   57.27%   -5.32%     
==========================================
  Files         183      163      -20     
  Lines       19454    20112     +658     
==========================================
- Hits        12177    11520     -657     
- Misses       6143     7252    +1109     
- Partials     1134     1340     +206     
Flag Coverage Δ
e2e 57.27% <18.51%> (?)
unittest ?

codecov-commenter avatar Jan 06 '22 20:01 codecov-commenter

@mikechengwei: PR needs rebase.

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.

ti-chi-bot avatar Jan 11 '22 02:01 ti-chi-bot