tidb
tidb copied to clipboard
Lightning: Attempt to return writeTooSlow when we experience write timeout.
What problem does this PR solve?
Issue Number: ref https://github.com/pingcap/tidb/issues/61326
Problem Summary:
Manual cherry-pick of #61346.
What changed and how does it work?
Check List
Tests
- [x] Unit test
- [ ] Integration test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test
- [ ] I checked and no code files have been changed.
Side effects
- [ ] Performance regression: Consumes more CPU
- [ ] Performance regression: Consumes more Memory
- [ ] Breaking backward compatibility
Documentation
- [ ] Affects user behaviors
- [ ] Contains syntax changes
- [ ] Contains variable changes
- [ ] Contains experimental features
- [ ] Changes MySQL compatibility
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.
None
Hi @OliverS929. Thanks for your PR.
PRs from untrusted users cannot be marked as trusted with /ok-to-test in this repo meaning untrusted PR authors can never trigger tests themselves. Collaborators can still trigger tests on the PR using /test all.
I understand the commands that are listed here.
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-sigs/prow repository.
/ok-to-test
Codecov Report
Attention: Patch coverage is 38.46154% with 32 lines in your changes missing coverage. Please review.
Please upload report for BASE (
release-7.5@469af9d). Learn more about missing BASE report.
Additional details and impacted files
@@ Coverage Diff @@
## release-7.5 #61796 +/- ##
================================================
Coverage ? 72.3125%
================================================
Files ? 1417
Lines ? 415018
Branches ? 0
================================================
Hits ? 300110
Misses ? 94958
Partials ? 19950
| Flag | Coverage Δ | |
|---|---|---|
| unit | 72.3125% <38.4615%> (?) |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Components | Coverage Δ | |
|---|---|---|
| dumpling | 52.9400% <0.0000%> (?) |
|
| parser | ∅ <0.0000%> (?) |
|
| br | 53.5625% <0.0000%> (?) |
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
[LGTM Timeline notifier]
Timeline:
2025-06-18 07:02:47.385350514 +0000 UTC m=+255220.108529495: :ballot_box_with_check: agreed by Benjamin2037.2025-06-18 07:36:59.347042242 +0000 UTC m=+257272.070221222: :ballot_box_with_check: agreed by D3Hunter.
/retest
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: 3pointer, Benjamin2037, D3Hunter
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~br/OWNERS~~ [3pointer]
- ~~br/pkg/lightning/OWNERS~~ [Benjamin2037,D3Hunter]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment