-
Notifications
You must be signed in to change notification settings - Fork 235
Open
Description
i notice that the upload and ingest methods:
I wonder if it can be used to import SST files into tikv(used with txn-client) ?
kvproto/proto/import_sstpb.proto
Lines 38 to 40 in 8c4cd3f
| rpc Upload(stream UploadRequest) returns (UploadResponse) {} | |
| // Ingest an uploaded SST file to a region. | |
| rpc Ingest(IngestRequest) returns (IngestResponse) {} |
I checked the source code of some import tools of tidb like tikv-br, tidb-lightning and found that they did not use these two interfaces (upload and ingest), but called importsst:: write / rawwrite. Why?
kvproto/proto/import_sstpb.proto
Lines 50 to 51 in 8c4cd3f
| rpc Write(stream WriteRequest) returns (WriteResponse) {} | |
| rpc RawWrite(stream RawWriteRequest) returns (RawWriteResponse) {} |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels