stats: add defensive guard for interval calculation (#65889)#66009
stats: add defensive guard for interval calculation (#65889)#66009ti-chi-bot wants to merge 1 commit intopingcap:release-8.5from
Conversation
refactor: rename docs: add comments test: add more cases
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## release-8.5 #66009 +/- ##
================================================
Coverage ? 38.1727%
================================================
Files ? 1731
Lines ? 635430
Branches ? 0
================================================
Hits ? 242561
Misses ? 368457
Partials ? 24412
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
@ti-chi-bot: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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-sigs/prow repository. I understand the commands that are listed here. |
This is an automated cherry-pick of #65889
What problem does this PR solve?
Issue Number: close #65815
Problem Summary:
Negative durations from mysql.analyze_jobs (e.g. clock skew/bad records) can happen and should be handled defensively without skewing retry logic.
What changed and how does it work?
Based on #65821.
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.