package kvrpcpb

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

enum APIVersion

kvrpcpb.proto:997

The API version the server and the client is using. See more details in https://github.com/tikv/rfcs/blob/master/text/0069-api-v2.md.

Used in: backup.BackupMeta, backup.BackupRequest, backup.BackupResponse, debugpb.GetStoreInfoResponse, disaggregated.DisaggTaskMeta, import_sstpb.SSTMeta, CompactRequest, Context, mpp.TaskMeta, raft_serverpb.StoreIdent

enum Action

kvrpcpb.proto:1634

Used in: CheckTxnStatusResponse

message AlreadyExist

kvrpcpb.proto:1153

Used in: KeyError

enum Assertion

kvrpcpb.proto:1566

Used in: AssertionFailed, Mutation

message AssertionFailed

kvrpcpb.proto:1185

Used in: KeyError

enum AssertionLevel

kvrpcpb.proto:1572

Used in: FlushRequest, PrewriteRequest

message BatchGetRequest

kvrpcpb.proto:459

Similar to a `Get` request.

Used as request type in: tikvpb.Tikv.KvBatchGet

Used as field type in: tikvpb.BatchCommandsRequest.Request

message BatchGetResponse

kvrpcpb.proto:467

Used as response type in: tikvpb.Tikv.KvBatchGet

Used as field type in: tikvpb.BatchCommandsResponse.Response

message BatchRollbackRequest

kvrpcpb.proto:481

Rollback a prewritten transaction. This will remove the preliminary data from the database, unlock locks, and leave a rollback tombstone.

Used as request type in: tikvpb.Tikv.KvBatchRollback

Used as field type in: tikvpb.BatchCommandsRequest.Request

message BatchRollbackResponse

kvrpcpb.proto:492

Used as response type in: tikvpb.Tikv.KvBatchRollback

Used as field type in: tikvpb.BatchCommandsResponse.Response

message BroadcastTxnStatusRequest

kvrpcpb.proto:1918

Used as request type in: tikvpb.Tikv.BroadcastTxnStatus

Used as field type in: tikvpb.BatchCommandsRequest.Request

message BroadcastTxnStatusResponse

kvrpcpb.proto:1934

Used as response type in: tikvpb.Tikv.BroadcastTxnStatus

Used as field type in: tikvpb.BatchCommandsResponse.Response

(message has no fields)

message BufferBatchGetRequest

kvrpcpb.proto:1876

BufferBatchGet is introduced from the pipelined DML protocol. It is similar to a BatchGet request, except that it can only read the data that has been flushed by itself.

Used as request type in: tikvpb.Tikv.KvBufferBatchGet

Used as field type in: tikvpb.BatchCommandsRequest.Request

message BufferBatchGetResponse

kvrpcpb.proto:1882

Used as response type in: tikvpb.Tikv.KvBufferBatchGet

Used as field type in: tikvpb.BatchCommandsResponse.Response

message CheckLeaderRequest

kvrpcpb.proto:1667

Used as request type in: tikvpb.Tikv.CheckLeader

message CheckLeaderResponse

kvrpcpb.proto:1672

Used as response type in: tikvpb.Tikv.CheckLeader

message CheckLockObserverRequest

kvrpcpb.proto:761

Used as request type in: tikvpb.Tikv.CheckLockObserver

message CheckLockObserverResponse

kvrpcpb.proto:766

Used as response type in: tikvpb.Tikv.CheckLockObserver

message CheckSecondaryLocksRequest

kvrpcpb.proto:363

Part of the async commit protocol, checks for locks on all supplied keys. If a lock is missing, does not have a successful status, or belongs to another transaction, TiKV will leave a rollback tombstone for that key.

Used as request type in: tikvpb.Tikv.KvCheckSecondaryLocks

Used as field type in: tikvpb.BatchCommandsRequest.Request

message CheckSecondaryLocksResponse

kvrpcpb.proto:370

Used as response type in: tikvpb.Tikv.KvCheckSecondaryLocks

Used as field type in: tikvpb.BatchCommandsResponse.Response

message CheckTxnStatusRequest

kvrpcpb.proto:311

CheckTxnStatusRequest checks the status of a transaction. If the transaction is rollbacked/committed, return that result. If the TTL of the transaction is exhausted, abort that transaction and inform the caller. Otherwise, returns the TTL information for the transaction. CheckTxnStatusRequest may also push forward the minCommitTS of a large transaction.

Used as request type in: tikvpb.Tikv.KvCheckTxnStatus

Used as field type in: tikvpb.BatchCommandsRequest.Request

message CheckTxnStatusResponse

kvrpcpb.proto:344

Used as response type in: tikvpb.Tikv.KvCheckTxnStatus

Used as field type in: tikvpb.BatchCommandsResponse.Response

enum ChecksumAlgorithm

kvrpcpb.proto:1764

Used in: RawChecksumRequest

message CleanupRequest

kvrpcpb.proto:441

Cleanup a key by possibly unlocking it. From 4.0 onwards, this message is no longer used.

Used as request type in: tikvpb.Tikv.KvCleanup

Used as field type in: tikvpb.BatchCommandsRequest.Request

message CleanupResponse

kvrpcpb.proto:451

Used as response type in: tikvpb.Tikv.KvCleanup

Used as field type in: tikvpb.BatchCommandsResponse.Response

enum CommandPri

kvrpcpb.proto:1210

Used in: Context, raft_cmdpb.RaftRequestHeader

message CommitRequest

kvrpcpb.proto:396

The second phase of writing to TiKV. If there are no errors or conflicts, then this request commits a transaction so that its data can be read by other transactions.

Used as request type in: tikvpb.Tikv.KvCommit

Used as field type in: tikvpb.BatchCommandsRequest.Request

message CommitResponse

kvrpcpb.proto:419

Used as response type in: tikvpb.Tikv.KvCommit

Used as field type in: tikvpb.BatchCommandsResponse.Response

enum CommitRole

kvrpcpb.proto:385

CommitRole indicates the current commit request is a primary commit or a secondary commit.

Used in: CommitRequest

message CommitTsExpired

kvrpcpb.proto:1169

Used in: KeyError

message CommitTsTooLarge

kvrpcpb.proto:1181

Used in: KeyError

message CompactError

kvrpcpb.proto:1782

Used in: CompactResponse

message CompactErrorCompactInProgress

kvrpcpb.proto:1795

Used in: CompactError

(message has no fields)

message CompactErrorInvalidStartKey

kvrpcpb.proto:1791

Used in: CompactError

(message has no fields)

message CompactErrorPhysicalTableNotExist

kvrpcpb.proto:1793

Used in: CompactError

(message has no fields)

message CompactErrorTooManyPendingTasks

kvrpcpb.proto:1797

Used in: CompactError

(message has no fields)

message CompactRequest

kvrpcpb.proto:1799

Used as request type in: tikvpb.Tikv.Compact

message CompactResponse

kvrpcpb.proto:1832

Used as response type in: tikvpb.Tikv.Compact

message Context

kvrpcpb.proto:863

Miscellaneous metadata attached to most requests.

Used in: backup.BackupRequest, coprocessor.BatchRequest, coprocessor.DelegateRequest, coprocessor.Request, coprocessor.TiCIEstimateCountRequest, debugpb.FlashbackToVersionRequest, import_sstpb.ApplyRequest, import_sstpb.CompactRequest, import_sstpb.DownloadRequest, import_sstpb.DuplicateDetectRequest, import_sstpb.IngestRequest, import_sstpb.MultiIngestRequest, import_sstpb.RawWriteRequest, import_sstpb.WriteRequest, BatchGetRequest, BatchRollbackRequest, BroadcastTxnStatusRequest, BufferBatchGetRequest, CheckLockObserverRequest, CheckSecondaryLocksRequest, CheckTxnStatusRequest, CleanupRequest, CommitRequest, DeleteRangeRequest, FlashbackToVersionRequest, FlushRequest, GCRequest, GetHealthFeedbackRequest, GetLockWaitHistoryRequest, GetLockWaitInfoRequest, GetRequest, MvccGetByKeyRequest, MvccGetByStartTsRequest, PessimisticLockRequest, PessimisticRollbackRequest, PhysicalScanLockRequest, PrepareFlashbackToVersionRequest, PrewriteRequest, RawBatchDeleteRequest, RawBatchGetRequest, RawBatchPutRequest, RawBatchScanRequest, RawCASRequest, RawChecksumRequest, RawCoprocessorRequest, RawDeleteRangeRequest, RawDeleteRequest, RawGetKeyTTLRequest, RawGetRequest, RawPutRequest, RawScanRequest, ReadIndexRequest, RegisterLockObserverRequest, RemoveLockObserverRequest, ResolveLockRequest, ScanLockRequest, ScanRequest, SplitRegionRequest, TxnHeartBeatRequest, UnsafeDestroyRangeRequest

message Deadlock

kvrpcpb.proto:1157

Used in: KeyError

message DebugInfo

kvrpcpb.proto:1206

Used in: KeyError

message DeleteRangeRequest

kvrpcpb.proto:560

Delete a range of data from TiKV.

Used as request type in: tikvpb.Tikv.KvDeleteRange

Used as field type in: tikvpb.BatchCommandsRequest.Request

message DeleteRangeResponse

kvrpcpb.proto:570

Used as response type in: tikvpb.Tikv.KvDeleteRange

Used as field type in: tikvpb.BatchCommandsResponse.Response

enum DiskFullOpt

kvrpcpb.proto:1223

Operation allowed info during each TiKV storage threshold.

Used in: Context

message ExecDetails

kvrpcpb.proto:1354

Used in: coprocessor.BatchResponse, coprocessor.Response

message ExecDetailsV2

kvrpcpb.proto:1366

Used in: coprocessor.Response, coprocessor.StoreBatchTaskResponse, BatchGetResponse, BatchRollbackResponse, BufferBatchGetResponse, CheckSecondaryLocksResponse, CheckTxnStatusResponse, CommitResponse, FlushResponse, GetResponse, PessimisticLockResponse, PessimisticRollbackResponse, PrewriteResponse, ResolveLockResponse, ScanLockResponse, TxnHeartBeatResponse

message ExecutorInputs

kvrpcpb.proto:1478

Used in: RUV2

enum ExtraOp

kvrpcpb.proto:1648

Used in: cdcpb.ChangeDataRequest

message FlashbackToVersionRequest

kvrpcpb.proto:597

Flashback the region to a specific point with the given `version`, please make sure the region is "locked" by `PrepareFlashbackToVersionRequest` first, otherwise this request will fail.

Used as request type in: tikvpb.Tikv.KvFlashbackToVersion

Used as field type in: tikvpb.BatchCommandsRequest.Request

message FlashbackToVersionResponse

kvrpcpb.proto:609

Used as response type in: tikvpb.Tikv.KvFlashbackToVersion

Used as field type in: tikvpb.BatchCommandsResponse.Response

message FlushRequest

kvrpcpb.proto:1856

Flush is introduced from the pipelined DML protocol. A Flush request writes some keys and values to TiKV, storing in LOCK and DEFAULT CF, just like a Prewrite request.

Used as request type in: tikvpb.Tikv.KvFlush

Used as field type in: tikvpb.BatchCommandsRequest.Request

message FlushResponse

kvrpcpb.proto:1868

Used as response type in: tikvpb.Tikv.KvFlush

Used as field type in: tikvpb.BatchCommandsResponse.Response

message GCRequest

kvrpcpb.proto:549

Request TiKV to garbage collect all non-current data older than `safe_point`.

Used as request type in: tikvpb.Tikv.KvGC

Used as field type in: tikvpb.BatchCommandsRequest.Request

message GCResponse

kvrpcpb.proto:554

Used as response type in: tikvpb.Tikv.KvGC

Used as field type in: tikvpb.BatchCommandsResponse.Response

message GetHealthFeedbackRequest

kvrpcpb.proto:1894

Actively request TiKV to report health feedback information. TiKV won't omit the health feedback information when sending the `BatchCommandsResponse` that contains this response. The health feedback information won't be replied in the response, but will be attached to `BatchCommandsResponse.health_feedback` field as usual. Only works when batch RPC is enabled.

Used as request type in: tikvpb.Tikv.GetHealthFeedback

Used as field type in: tikvpb.BatchCommandsRequest.Request

message GetHealthFeedbackResponse

kvrpcpb.proto:1898

Used as response type in: tikvpb.Tikv.GetHealthFeedback

Used as field type in: tikvpb.BatchCommandsResponse.Response

message GetLockWaitHistoryRequest

kvrpcpb.proto:1733

Used as request type in: tikvpb.Tikv.GetLockWaitHistory

message GetLockWaitHistoryResponse

kvrpcpb.proto:1739

Used as response type in: tikvpb.Tikv.GetLockWaitHistory

message GetLockWaitInfoRequest

kvrpcpb.proto:1721

Used as request type in: tikvpb.Tikv.GetLockWaitInfo

message GetLockWaitInfoResponse

kvrpcpb.proto:1727

Used as response type in: tikvpb.Tikv.GetLockWaitInfo

message GetRequest

kvrpcpb.proto:29

A transactional get command. Lookup a value for `key` in the transaction with starting timestamp = `version`.

Used as request type in: tikvpb.Tikv.KvGet

Used as field type in: tikvpb.BatchCommandsRequest.Request

message GetResponse

kvrpcpb.proto:37

Used as response type in: tikvpb.Tikv.KvGet

Used as field type in: tikvpb.BatchCommandsResponse.Response

message HealthFeedback

kvrpcpb.proto:1904

Used in: GetHealthFeedbackResponse, tikvpb.BatchCommandsResponse

message ImportRequest

kvrpcpb.proto:429

Not yet implemented.

Used as request type in: tikvpb.Tikv.KvImport

Used as field type in: tikvpb.BatchCommandsRequest.Request

message ImportResponse

kvrpcpb.proto:434

Used as response type in: tikvpb.Tikv.KvImport

Used as field type in: tikvpb.BatchCommandsResponse.Response

enum IsolationLevel

kvrpcpb.proto:1216

Used in: Context

message KeyError

kvrpcpb.proto:1093

Used in: backup.Error, BatchGetResponse, BatchRollbackResponse, BufferBatchGetResponse, CheckSecondaryLocksResponse, CheckTxnStatusResponse, CleanupResponse, CommitResponse, FlushResponse, GCResponse, GetResponse, KvPair, PessimisticLockResponse, PessimisticRollbackResponse, PrewriteResponse, ResolveLockResponse, ScanLockResponse, ScanResponse, SplitRegionResponse, TxnHeartBeatResponse

message KeyRange

kvrpcpb.proto:1643

Used in: backup.BackupRequest, backup.SortedSubRanges, RawBatchScanRequest, RawChecksumRequest, RawCoprocessorRequest, ReadIndexRequest, StoreSafeTSRequest, raft_cmdpb.ReadIndexRequest

message KvPair

kvrpcpb.proto:1541

Used in: BatchGetResponse, BufferBatchGetResponse, RawBatchGetResponse, RawBatchPutRequest, RawBatchScanResponse, RawScanResponse, ScanResponse

message LeaderInfo

kvrpcpb.proto:1654

Used in: CheckLeaderRequest

message LockInfo

kvrpcpb.proto:1064

Used in: coprocessor.DelegateResponse, coprocessor.Response, coprocessor.StoreBatchTaskResponse, disaggregated.ErrorLocked, CheckLockObserverResponse, CheckSecondaryLocksResponse, CheckTxnStatusResponse, KeyError, PhysicalScanLockResponse, PrimaryMismatch, ReadIndexResponse, ScanLockResponse, raft_cmdpb.ReadIndexResponse

message LockUpgradeConflict

kvrpcpb.proto:1133

Used in: KeyError

enum LockUpgradeConflict.Reason

kvrpcpb.proto:1134

Used in: LockUpgradeConflict

message Mutation

kvrpcpb.proto:1581

Used in: FlushRequest, ImportRequest, PessimisticLockRequest, PrewriteRequest

message MvccDebugInfo

kvrpcpb.proto:1201

Used in: DebugInfo

message MvccGetByKeyRequest

kvrpcpb.proto:832

Used as request type in: tikvpb.Tikv.MvccGetByKey

message MvccGetByKeyResponse

kvrpcpb.proto:837

Used as response type in: tikvpb.Tikv.MvccGetByKey

message MvccGetByStartTsRequest

kvrpcpb.proto:843

Used as request type in: tikvpb.Tikv.MvccGetByStartTs

message MvccGetByStartTsResponse

kvrpcpb.proto:848

Used as response type in: tikvpb.Tikv.MvccGetByStartTs

message MvccInfo

kvrpcpb.proto:1620

Used in: debugpb.ScanMvccResponse, MvccDebugInfo, MvccGetByKeyResponse, MvccGetByStartTsResponse

message MvccLock

kvrpcpb.proto:1605

Used in: MvccInfo

message MvccValue

kvrpcpb.proto:1600

Used in: MvccInfo

message MvccWrite

kvrpcpb.proto:1588

Used in: MvccInfo

enum Op

kvrpcpb.proto:1550

Used in: LockInfo, Mutation, MvccLock, MvccWrite

message PessimisticLockKeyResult

kvrpcpb.proto:226

Used in: PessimisticLockResponse

enum PessimisticLockKeyResultType

kvrpcpb.proto:220

Used in: PessimisticLockKeyResult

message PessimisticLockRequest

kvrpcpb.proto:181

Lock a set of keys to prepare to write to them.

Used as request type in: tikvpb.Tikv.KvPessimisticLock

Used as field type in: tikvpb.BatchCommandsRequest.Request

message PessimisticLockResponse

kvrpcpb.proto:243

Used as response type in: tikvpb.Tikv.KvPessimisticLock

Used as field type in: tikvpb.BatchCommandsResponse.Response

enum PessimisticLockWakeUpMode

kvrpcpb.proto:168

Used to specify the behavior when a pessimistic lock request is woken up after waiting for another lock.

Used in: PessimisticLockRequest

message PessimisticRollbackRequest

kvrpcpb.proto:265

Unlock keys locked using `PessimisticLockRequest`.

Used as request type in: tikvpb.Tikv.KVPessimisticRollback

Used as field type in: tikvpb.BatchCommandsRequest.Request

message PessimisticRollbackResponse

kvrpcpb.proto:272

Used as response type in: tikvpb.Tikv.KVPessimisticRollback

Used as field type in: tikvpb.BatchCommandsResponse.Response

message PhysicalScanLockRequest

kvrpcpb.proto:781

Used as request type in: tikvpb.Tikv.PhysicalScanLock

message PhysicalScanLockResponse

kvrpcpb.proto:788

Used as response type in: tikvpb.Tikv.PhysicalScanLock

message PoolTaskDetails

kvrpcpb.proto:1411

Scheduling and execution details collected across all polls of one task running in a pool. The timing model is: total_wall_nanos <---------------------------------------------------------------------> submitted worker starts async event worker starts done │ │ completes │ │ ▼ ▼ ▼ ▼ ▼ ┌──────────────┬─────────────────┬─────────────────┬──────────────┬──────┐ │ Queue Wait │ Poll Execution │ Async/Wake Wait │ Queue Wait │ Poll │ │ │ │ │ │ Exec │ │ task is │ Future::poll │ Future is │ task is │ │ │ runnable, │ returns Pending │ Pending, waiting│ runnable, │Ready │ │ waiting for │ │ for I/O, timer, │ waiting for │ │ │ a worker │ │ lock, etc. │ a worker │ │ └──────────────┴─────────────────┴─────────────────┴──────────────┴──────┘ │ │ │ │ │ └─ total/max/min_wake_wait_nanos │ │ │ ├─ poll_wall_nanos │ └─ poll_cpu_nanos │ ├─ total/max/min_queue_wait_nanos └─ fair_queue_waited_task_slices

Used in: ExecDetailsV2

message PrepareFlashbackToVersionRequest

kvrpcpb.proto:578

Preparing the flashback for a region/key range will "lock" the region so that there is no any read, write or schedule operation could be proposed before the actual flashback operation.

Used as request type in: tikvpb.Tikv.KvPrepareFlashbackToVersion

Used as field type in: tikvpb.BatchCommandsRequest.Request

message PrepareFlashbackToVersionResponse

kvrpcpb.proto:589

Used as response type in: tikvpb.Tikv.KvPrepareFlashbackToVersion

Used as field type in: tikvpb.BatchCommandsResponse.Response

message PrewriteRequest

kvrpcpb.proto:87

A prewrite is the first phase of writing to TiKV. It contains all data to be written in a transaction. TiKV will write the data in a preliminary state. Data cannot be read until it has been committed. The client should only commit a transaction once all prewrites succeed.

Used as request type in: tikvpb.Tikv.KvPrewrite

Used as field type in: tikvpb.BatchCommandsRequest.Request

message PrewriteRequest.ForUpdateTSConstraint

kvrpcpb.proto:102

for_update_ts constriants that should be checked when prewriting a pessimistic transaction.

Used in: PrewriteRequest

enum PrewriteRequest.PessimisticAction

kvrpcpb.proto:89

What kind of checks need to be performed for keys in a pessimistic transaction.

Used in: PrewriteRequest

message PrewriteResponse

kvrpcpb.proto:151

Used as response type in: tikvpb.Tikv.KvPrewrite

Used as field type in: tikvpb.BatchCommandsResponse.Response

message PrimaryMismatch

kvrpcpb.proto:1193

Used in: KeyError

message RUV2

kvrpcpb.proto:1464

Used in: ExecDetailsV2

message RawBatchDeleteRequest

kvrpcpb.proto:684

Used as request type in: tikvpb.Tikv.RawBatchDelete

Used as field type in: tikvpb.BatchCommandsRequest.Request

message RawBatchDeleteResponse

kvrpcpb.proto:691

Used as response type in: tikvpb.Tikv.RawBatchDelete

Used as field type in: tikvpb.BatchCommandsResponse.Response

message RawBatchGetRequest

kvrpcpb.proto:629

Used as request type in: tikvpb.Tikv.RawBatchGet

Used as field type in: tikvpb.BatchCommandsRequest.Request

message RawBatchGetResponse

kvrpcpb.proto:635

Used as response type in: tikvpb.Tikv.RawBatchGet

Used as field type in: tikvpb.BatchCommandsResponse.Response

message RawBatchPutRequest

kvrpcpb.proto:654

Used as request type in: tikvpb.Tikv.RawBatchPut

Used as field type in: tikvpb.BatchCommandsRequest.Request

message RawBatchPutResponse

kvrpcpb.proto:667

Used as response type in: tikvpb.Tikv.RawBatchPut

Used as field type in: tikvpb.BatchCommandsResponse.Response

message RawBatchScanRequest

kvrpcpb.proto:725

Used as request type in: tikvpb.Tikv.RawBatchScan

Used as field type in: tikvpb.BatchCommandsRequest.Request

message RawBatchScanResponse

kvrpcpb.proto:734

Used as response type in: tikvpb.Tikv.RawBatchScan

Used as field type in: tikvpb.BatchCommandsResponse.Response

message RawCASRequest

kvrpcpb.proto:1700

Used as request type in: tikvpb.Tikv.RawCompareAndSwap

message RawCASResponse

kvrpcpb.proto:1712

Used as response type in: tikvpb.Tikv.RawCompareAndSwap

message RawChecksumRequest

kvrpcpb.proto:1768

Used as request type in: tikvpb.Tikv.RawChecksum

message RawChecksumResponse

kvrpcpb.proto:1774

Used as response type in: tikvpb.Tikv.RawChecksum

message RawCoprocessorRequest

kvrpcpb.proto:1745

Used as request type in: tikvpb.Tikv.RawCoprocessor

Used as field type in: tikvpb.BatchCommandsRequest.Request

message RawCoprocessorResponse

kvrpcpb.proto:1756

Used as response type in: tikvpb.Tikv.RawCoprocessor

Used as field type in: tikvpb.BatchCommandsResponse.Response

message RawDeleteRangeRequest

kvrpcpb.proto:713

Used as request type in: tikvpb.Tikv.RawDeleteRange

Used as field type in: tikvpb.BatchCommandsRequest.Request

message RawDeleteRangeResponse

kvrpcpb.proto:720

Used as response type in: tikvpb.Tikv.RawDeleteRange

Used as field type in: tikvpb.BatchCommandsResponse.Response

message RawDeleteRequest

kvrpcpb.proto:672

Used as request type in: tikvpb.Tikv.RawDelete

Used as field type in: tikvpb.BatchCommandsRequest.Request

message RawDeleteResponse

kvrpcpb.proto:679

Used as response type in: tikvpb.Tikv.RawDelete

Used as field type in: tikvpb.BatchCommandsResponse.Response

message RawGetKeyTTLRequest

kvrpcpb.proto:1687

Used as request type in: tikvpb.Tikv.RawGetKeyTTL

message RawGetKeyTTLResponse

kvrpcpb.proto:1693

Used as response type in: tikvpb.Tikv.RawGetKeyTTL

message RawGetRequest

kvrpcpb.proto:616

Used as request type in: tikvpb.Tikv.RawGet

Used as field type in: tikvpb.BatchCommandsRequest.Request

message RawGetResponse

kvrpcpb.proto:622

Used as response type in: tikvpb.Tikv.RawGet

Used as field type in: tikvpb.BatchCommandsResponse.Response

message RawPutRequest

kvrpcpb.proto:640

Used as request type in: tikvpb.Tikv.RawPut

Used as field type in: tikvpb.BatchCommandsRequest.Request

message RawPutResponse

kvrpcpb.proto:649

Used as response type in: tikvpb.Tikv.RawPut

Used as field type in: tikvpb.BatchCommandsResponse.Response

message RawScanRequest

kvrpcpb.proto:696

Used as request type in: tikvpb.Tikv.RawScan

Used as field type in: tikvpb.BatchCommandsRequest.Request

message RawScanResponse

kvrpcpb.proto:708

Used as response type in: tikvpb.Tikv.RawScan

Used as field type in: tikvpb.BatchCommandsResponse.Response

message ReadIndexRequest

kvrpcpb.proto:813

Sent from TiFlash to a TiKV node.

Used as request type in: tikvpb.Tikv.ReadIndex

message ReadIndexResponse

kvrpcpb.proto:822

Used as response type in: tikvpb.Tikv.ReadIndex

message ReadState

kvrpcpb.proto:1662

Used in: LeaderInfo

message RegisterLockObserverRequest

kvrpcpb.proto:752

Used as request type in: tikvpb.Tikv.RegisterLockObserver

message RegisterLockObserverResponse

kvrpcpb.proto:757

Used as response type in: tikvpb.Tikv.RegisterLockObserver

message RemoveLockObserverRequest

kvrpcpb.proto:772

Used as request type in: tikvpb.Tikv.RemoveLockObserver

message RemoveLockObserverResponse

kvrpcpb.proto:777

Used as response type in: tikvpb.Tikv.RemoveLockObserver

enum RequestOrigin

kvrpcpb.proto:857

Used in: Context

message ResolveLockRequest

kvrpcpb.proto:524

For all keys locked by the transaction identified by `start_version`, either commit or rollback the transaction and unlock the key.

Used as request type in: tikvpb.Tikv.KvResolveLock

Used as field type in: tikvpb.BatchCommandsRequest.Request

message ResolveLockResponse

kvrpcpb.proto:541

Used as response type in: tikvpb.Tikv.KvResolveLock

Used as field type in: tikvpb.BatchCommandsResponse.Response

message ResourceControlContext

kvrpcpb.proto:982

Used in: Context

message ScanDetail

kvrpcpb.proto:1274

Only reserved for compatibility.

Used in: ExecDetails

message ScanDetailV2

kvrpcpb.proto:1280

Used in: ExecDetailsV2

message ScanInfo

kvrpcpb.proto:1267

Used in: ScanDetail

message ScanLockRequest

kvrpcpb.proto:501

Scan the database for locks. Used at the start of the GC process to find all old locks.

Used as request type in: tikvpb.Tikv.KvScanLock

Used as field type in: tikvpb.BatchCommandsRequest.Request

message ScanLockResponse

kvrpcpb.proto:513

Used as response type in: tikvpb.Tikv.KvScanLock

Used as field type in: tikvpb.BatchCommandsResponse.Response

message ScanRequest

kvrpcpb.proto:57

Scan fetches values for a range of keys; it is part of the transaction with starting timestamp = `version`.

Used as request type in: tikvpb.Tikv.KvScan

Used as field type in: tikvpb.BatchCommandsRequest.Request

message ScanResponse

kvrpcpb.proto:74

Used as response type in: tikvpb.Tikv.KvScan

Used as field type in: tikvpb.BatchCommandsResponse.Response

message SharedLockLost

kvrpcpb.proto:1148

SharedLockLost means the pending upgrade did not acquire the exclusive lock. The transaction must not continue, but rollback remains valid.

Used in: KeyError

message SourceStmt

kvrpcpb.proto:1056

Used in: Context

message SplitRegionRequest

kvrpcpb.proto:794

Sent from PD to a TiKV node.

Used as request type in: tikvpb.Tikv.SplitRegion

message SplitRegionResponse

kvrpcpb.proto:802

Used as response type in: tikvpb.Tikv.SplitRegion

message StoreSafeTSRequest

kvrpcpb.proto:1677

Used as request type in: tikvpb.Tikv.GetStoreSafeTS

message StoreSafeTSResponse

kvrpcpb.proto:1683

Used as response type in: tikvpb.Tikv.GetStoreSafeTS

message TiFlashSystemTableRequest

kvrpcpb.proto:1843

Used as request type in: tikvpb.Tikv.GetTiFlashSystemTable

message TiFlashSystemTableResponse

kvrpcpb.proto:1847

Used as response type in: tikvpb.Tikv.GetTiFlashSystemTable

message TimeDetail

kvrpcpb.proto:1229

Used in: ExecDetails, ExecDetailsV2

message TimeDetailV2

kvrpcpb.proto:1245

Used in: ExecDetailsV2

message TxnHeartBeatRequest

kvrpcpb.proto:280

Used to update the lock_ttl of a psessimistic and/or large transaction to prevent it from been killed.

Used as request type in: tikvpb.Tikv.KvTxnHeartBeat

Used as field type in: tikvpb.BatchCommandsRequest.Request

message TxnHeartBeatResponse

kvrpcpb.proto:297

Used as response type in: tikvpb.Tikv.KvTxnHeartBeat

Used as field type in: tikvpb.BatchCommandsResponse.Response

message TxnInfo

kvrpcpb.proto:1626

Used in: ResolveLockRequest

message TxnLockNotFound

kvrpcpb.proto:1197

Used in: KeyError

message TxnNotFound

kvrpcpb.proto:1176

Used in: KeyError

message TxnStatus

kvrpcpb.proto:1923

Used in: BroadcastTxnStatusRequest

message UnsafeDestroyRangeRequest

kvrpcpb.proto:741

Used as request type in: tikvpb.Tikv.UnsafeDestroyRange

message UnsafeDestroyRangeResponse

kvrpcpb.proto:747

Used as response type in: tikvpb.Tikv.UnsafeDestroyRange

message WriteConflict

kvrpcpb.proto:1114

Used in: KeyError

enum WriteConflict.Reason

kvrpcpb.proto:1115

Used in: WriteConflict

message WriteDetail

kvrpcpb.proto:1488

Used in: ExecDetailsV2