tikv / tikv/client-rust

Support GC

Open
#180 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
425
Forks
163
Avg merge
10h 51m
Merged PRs (30d)
3

Description

TiKV uses MVCC to support transactions, thus GC is needed to remove stale data.
Current implementation of rust-client does not provide GC functionalities.

A workaround is using the script which calls TiDB's GC functions to manually trigger GC.

An initial implementation of GC #182 .

If we let users manage GC, we should provide a guide.

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 with the linked initial implementation in issue #182 and compare it with the GC script referenced in this issue. Determine which GC functionality the Rust client should expose and whether users also need a guide for managing it. Done means the agreed GC support is implemented and the usage guidance is provided.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.