back to home

tikv / pd

Placement driver for TiKV

View on GitHub
1,147 stars
756 forks
780 issues

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing tikv/pd in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/tikv/pd)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

PD PD is the abbreviation for Placement Driver. It manages and schedules TiKV clusters. PD supports fault-tolerance by embedding etcd. If you're interested in contributing to PD, see CONTRIBUTING.md. For more contributing information about where to start, click on the contributor icon above. Build • Make sure *Go* (version 1.23) is installed. • Use to install PD. will be installed in the directory. Usage PD can be configured using command-line flags. For more information, see PD Configuration Flags. Single node with default ports You can run directly on your local machine. If you want to connect to PD from outside, you can let PD listen on the host IP. Using to view PD members: You can also use httpie to call the API: Docker You can choose one of the following methods to get a PD image: • Build locally: • Pull from Docker Hub: Then you can run a single node using the following command: Cluster As a component of the TiKV project, PD needs to run with TiKV to work. The cluster can also include TiDB to provide SQL services. For detailed instructions to deploy a cluster, refer to Deploy a TiDB Cluster Using TiUP or TiDB on Kubernetes Documentation.