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

infosync, helper: add caller ID to the PD HTTP client on the hot path #49134

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

JmPotato
Copy link
Member

@JmPotato JmPotato commented Dec 4, 2023

What problem does this PR solve?

Issue Number: ref #35319, tikv/pd#7300.

Problem Summary:

Add caller ID to the PD HTTP client on the hot path.

What changed and how does it work?

Check List

Tests

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

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.

None

@ti-chi-bot ti-chi-bot bot added release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Dec 4, 2023
@JmPotato
Copy link
Member Author

JmPotato commented Dec 4, 2023

/cc @hawkingrei @zimulala

@ti-chi-bot ti-chi-bot bot requested review from hawkingrei and zimulala December 4, 2023 08:15
@JmPotato JmPotato force-pushed the init_pd_http_cli_caller_id branch from a622e2e to 72a95d0 Compare December 4, 2023 08:25
@ti-chi-bot ti-chi-bot bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Dec 4, 2023
@JmPotato JmPotato force-pushed the init_pd_http_cli_caller_id branch 2 times, most recently from c216ab6 to 1b8869b Compare December 4, 2023 08:40
@ti-chi-bot ti-chi-bot bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Dec 4, 2023
@JmPotato
Copy link
Member Author

JmPotato commented Dec 4, 2023

Wait for #49067 being merged.

@JmPotato JmPotato force-pushed the init_pd_http_cli_caller_id branch from 1b8869b to 26349c7 Compare December 14, 2023 07:15
@JmPotato
Copy link
Member Author

/retest

@JmPotato JmPotato force-pushed the init_pd_http_cli_caller_id branch from 26349c7 to f7469c3 Compare December 14, 2023 07:29
Copy link

codecov bot commented Dec 14, 2023

Codecov Report

Merging #49134 (f7469c3) into master (d076bc1) will increase coverage by 0.6374%.
Report is 7 commits behind head on master.
The diff coverage is 0.0000%.

Additional details and impacted files
@@               Coverage Diff                @@
##             master     #49134        +/-   ##
================================================
+ Coverage   70.9870%   71.6244%   +0.6374%     
================================================
  Files          1368       1417        +49     
  Lines        399790     417483     +17693     
================================================
+ Hits         283799     299020     +15221     
- Misses        96179      99647      +3468     
+ Partials      19812      18816       -996     
Flag Coverage Δ
integration 44.0179% <0.0000%> (?)
unit 70.9869% <ø> (-0.0001%) ⬇️

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

Components Coverage Δ
dumpling 53.9663% <ø> (ø)
parser ∅ <ø> (∅)
br 47.8250% <ø> (-5.0599%) ⬇️

pkg/domain/infosync/info.go Show resolved Hide resolved
pkg/store/helper/helper.go Show resolved Hide resolved
@ti-chi-bot ti-chi-bot bot added approved needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Dec 14, 2023
Copy link

ti-chi-bot bot commented Dec 14, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hawkingrei, zimulala

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 lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Dec 14, 2023
Copy link

ti-chi-bot bot commented Dec 14, 2023

[LGTM Timeline notifier]

Timeline:

  • 2023-12-14 08:31:39.541218015 +0000 UTC m=+517790.578444942: ☑️ agreed by zimulala.
  • 2023-12-14 13:47:20.792367306 +0000 UTC m=+536731.829594221: ☑️ agreed by hawkingrei.

@ti-chi-bot ti-chi-bot bot merged commit ecbaed6 into pingcap:master Dec 14, 2023
15 of 16 checks passed
@JmPotato JmPotato deleted the init_pd_http_cli_caller_id branch December 14, 2023 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm release-note-none Denotes a PR that doesn't merit a release note. 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.

3 participants