pingcap / pingcap/tiflash

Add key_manager ffi in tiflash_compute mode

Open
#6,667 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type/enhancement
Dominant language
C++
Stars
1k
Forks
423
Avg merge
1d 15h
Merged PRs (30d)
24

Description

Enhancement

In tiflash_compute mode, no need to run proxy, but we still need key_manager to do encryption for local cache.

Need to implement key_manager using rust ffi. So we can use it without starting proxy.

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 tracing how key_manager is currently accessed through the proxy in tiflash_compute mode, then locate the Rust FFI boundary and local-cache encryption path. Done means key_manager can provide encryption for the local cache in tiflash_compute mode without starting the proxy; the issue names no files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, rust
Domain
backend, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.