pingcap / pingcap/tiflash

the retry logic has an error

Open
#3,315 0 comments 0 reactions 0 assignees View on GitHub

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.
20211027-223218

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.