Refine the process of learner read
Open
Nobody has claimed this yet.
type/code-quality-improvement
- Dominant language
- C++
- Stars
- 1k
- Forks
- 423
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 24
Description
- Split the process of learner read to be small functions, make the codes more readable and testable https://github.com/pingcap/tics/pull/3113
- Fix https://github.com/pingcap/tics/issues/3098 that caused by "default read index result" during initiating
- Check whether we need to keep concurrent read index/wait index in the TiFlash side
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 reviewing PR #3113 and issue #3098, then inspect the existing learner-read process and the TiFlash read-index/wait-index behavior. Done means the process is split into readable, testable functions, the default read-index initialization issue is fixed, and the concurrency decision is resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- databases
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100