tidb icon indicating copy to clipboard operation
tidb copied to clipboard

Lightning: Attempt to return writeTooSlow when we experience write timeout.

Open OliverS929 opened this issue 5 months ago • 5 comments

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

OliverS929 avatar Jun 18 '25 05:06 OliverS929

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.

tiprow[bot] avatar Jun 18 '25 05:06 tiprow[bot]

/ok-to-test

OliverS929 avatar Jun 18 '25 05:06 OliverS929

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.

codecov[bot] avatar Jun 18 '25 05:06 codecov[bot]

[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.

ti-chi-bot[bot] avatar Jun 18 '25 07:06 ti-chi-bot[bot]

/retest

OliverS929 avatar Jun 20 '25 01:06 OliverS929

[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

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[bot] avatar Jun 20 '25 02:06 ti-chi-bot[bot]