Module tikv::import [−][src]
This mod contains components to support rapid data import with the project
tidb-lightning
.
It mainly exposes one service:
The ImportSSTService
is used to ingest the generated SST files into TiKV’s
RocksDB instance. The ingesting process: tidb-lightning
first uploads SST
files to the host where TiKV is located, and then calls the Ingest
RPC.
After ImportSSTService
receives the RPC, it sends a message to raftstore
thread to notify it of the ingesting operation. This service is running
inside TiKV because it needs to interact with raftstore.
Modules
sst_service |
Structs
Config | |
ImportSSTService | ImportSSTService provides tikv-server with the ability to ingest SST files. |
SSTImporter | SSTImporter manages SST files that are waiting for ingesting. |
SSTWriter |
Enums
Error |
Type Definitions
Result |