the retry logic has an error
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1k
- Forks
- 423
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 24
Description
when grpc errors occur, the tidb retry to send the task, but the old task is alread running and a new idential task is trying to register, but encounter an error: the task is already registerd. later, the tidb send cancel command to the tiflash. As a result, the retry failed.

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
No files, tests, or entry points are identified. Start by tracing the gRPC retry path and the TiDB/TiFlash task registration and cancellation flow; done means a retry does not fail when the original task is still running and cancellation does not invalidate the retried task.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, grpc
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100