tikv / tikv/client-c

Check and resolve invalid stores periodicly

Open
#70 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
41
Forks
56
Avg merge
5m
Merged PRs (30d)
2

Description

TiDB has a background goroutine to check validation of stores periodicly, while client-c will check it as soon as receiving an error.

I think it's better to implement such a eager way to update region cache.

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

Start by comparing TiDB's periodic invalid-store validation with client-c's current error-handling path and region-cache behavior. Identify the relevant client entry points and define how errors should trigger eager cache updates; done means invalid stores are refreshed promptly without breaking region routing.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.