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

Makefile: disable swagger server (#4934) #5178

Merged

Conversation

ti-chi-bot
Copy link
Member

This is an automated cherry-pick of #4934

Signed-off-by: nolouch [email protected]

What problem does this PR solve?

Issue Number: Close #4932

before:
make pd-server  213.93s user 43.70s system 279% cpu 1:32.05 total
after:
make pd-server  209.82s user 37.90s system 286% cpu 1:26.54 to

imporve about 5/43.7 = 11%

What is changed and how does it work?

Check List

Tests

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

Code changes

Side effects

  • Possible performance regression
  • Increased code complexity
  • Breaking backward compatibility

Related changes

Release note

server: disable swagger server

@ti-chi-bot
Copy link
Member Author

ti-chi-bot commented Jun 17, 2022

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • lhy1024

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 ti-chi-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. do-not-merge/cherry-pick-not-approved require-LGT1 Indicates that the PR requires an LGTM. type/cherry-pick-for-release-5.1 The PR belongs to release-5.1 cherry pick. labels Jun 17, 2022
@ti-chi-bot ti-chi-bot requested review from lhy1024 and nolouch June 17, 2022 10:25
Copy link
Contributor

@lhy1024 lhy1024 left a comment

Choose a reason for hiding this comment

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

plz fix conflict

@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Jun 20, 2022
Signed-off-by: nolouch <[email protected]>
@codecov
Copy link

codecov bot commented Jun 21, 2022

Codecov Report

Merging #5178 (f13cc53) into release-5.1 (0b84f98) will increase coverage by 0.02%.
The diff coverage is 0.00%.

@@               Coverage Diff               @@
##           release-5.1    #5178      +/-   ##
===============================================
+ Coverage        75.29%   75.31%   +0.02%     
===============================================
  Files              245      245              
  Lines            24801    24801              
===============================================
+ Hits             18674    18680       +6     
+ Misses            4504     4497       -7     
- Partials          1623     1624       +1     
Flag Coverage Δ
unittests 75.31% <0.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/swaggerserver/empty_handler.go 0.00% <0.00%> (ø)
server/kv/levedb_kv.go 77.41% <0.00%> (-6.46%) ⬇️
server/core/region_storage.go 77.65% <0.00%> (-4.26%) ⬇️
pkg/dashboard/adapter/manager.go 78.72% <0.00%> (-4.26%) ⬇️
server/region_syncer/client.go 79.84% <0.00%> (-3.88%) ⬇️
server/tso/tso.go 73.88% <0.00%> (-2.78%) ⬇️
server/schedule/operator/step.go 67.92% <0.00%> (-1.58%) ⬇️
pkg/btree/btree.go 85.30% <0.00%> (-0.97%) ⬇️
server/member/member.go 69.89% <0.00%> (-0.54%) ⬇️
server/tso/allocator_manager.go 79.46% <0.00%> (+0.66%) ⬆️
... and 9 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0b84f98...f13cc53. Read the comment docs.

@VelocityLight VelocityLight added cherry-pick-approved Cherry pick PR approved by release team. and removed do-not-merge/cherry-pick-not-approved labels Jun 24, 2022
@nolouch
Copy link
Contributor

nolouch commented Jun 24, 2022

/merge

@ti-chi-bot
Copy link
Member Author

@nolouch: It seems you want to merge this PR, I will help you trigger all the tests:

/run-all-tests

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
Copy link
Member Author

This pull request has been accepted and is ready to merge.

Commit hash: f13cc53

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Jun 24, 2022
@ti-chi-bot ti-chi-bot merged commit 821955b into tikv:release-5.1 Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick-approved Cherry pick PR approved by release team. release-note Denotes a PR that will be considered when it comes time to generate release notes. require-LGT1 Indicates that the PR requires an LGTM. status/can-merge Indicates a PR has been approved by a committer. status/LGT1 Indicates that a PR has LGTM 1. type/cherry-pick-for-release-5.1 The PR belongs to release-5.1 cherry pick.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants