tidb received incorrect tiflash error when tiflash memory limit exceed
Open
Nobody has claimed this yet.
affects-6.6
affects-7.0
affects-7.1
affects-7.5
affects-8.1
component/compute
may-affects-4.0
may-affects-5.0
may-affects-5.1
may-affects-5.2
may-affects-5.3
may-affects-5.4
may-affects-6.0
may-affects-6.1
may-affects-6.2
may-affects-6.3
may-affects-6.4
may-affects-6.5
severity/major
type/bug
- Dominant language
- C++
- Stars
- 1k
- Forks
- 423
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 24
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
- tiflash memory limit exceed
2. What did you expect to see? (Required)
- tidb should receive
Memory limit (total) exceederror
3. What did you see instead (Required)
- tidb received error
UnexpectedWriteDone

4. What is your TiFlash version? (Required)
6.5
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the TiFlash memory-limit failure described in the issue using version 6.5, then trace where TiDB receives UnexpectedWriteDone instead of the expected memory-limit error. Done means the memory-limit condition is propagated as Memory limit (total) exceed rather than UnexpectedWriteDone.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100