Don't store table schema locally by using schema.sql
Open
Nobody has claimed this yet.
type/enhancement
- Dominant language
- C++
- Stars
- 1k
- Forks
- 423
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 24
Description
Enhancement
Currently, TiFlash cache all tables' schema locally, and persist the information to disk by using a schema.sql file. It is inefficient and unnecessary. Because not all tables have TiFlash replicas on a single TiFlash node.
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 locating TiFlash's schema.sql persistence and the code that decides which table schemas are cached on a node. Clarify how TiFlash replicas are identified, then define completion as avoiding local persistence of schemas for tables without replicas while preserving schemas that the node needs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100