tikv / pd

Placement driver for TiKV
Apache License 2.0
1.06k stars 724 forks source link

client/tso: add a TSO wait failed duration observer #8763

Closed JmPotato closed 3 weeks ago

JmPotato commented 3 weeks ago

What problem does this PR solve?

Issue Number: ref #8281.

What is changed and how does it work?

Add a TSO wait failed duration observer.

Check List

Tests

Release note

None.
codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 75.54%. Comparing base (60b960a) to head (4e8b4f5). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #8763 +/- ## ========================================== + Coverage 75.52% 75.54% +0.01% ========================================== Files 461 461 Lines 72273 72275 +2 ========================================== + Hits 54587 54601 +14 + Misses 14182 14177 -5 + Partials 3504 3497 -7 ``` | [Flag](https://app.codecov.io/gh/tikv/pd/pull/8763/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/tikv/pd/pull/8763/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv) | `75.54% <100.00%> (+0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv#carryforward-flags-in-the-pull-request-comment) to find out more.
ti-chi-bot[bot] commented 3 weeks ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nolouch, rleungx

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](https://github.com/tikv/pd/blob/master/OWNERS)~~ [nolouch,rleungx] 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[bot] commented 3 weeks ago

[LGTM Timeline notifier]

Timeline: