From 42bc63f3d616c25011612bf14408cccd50eba025 Mon Sep 17 00:00:00 2001 From: ekexium Date: Tue, 24 Sep 2024 15:21:06 +0800 Subject: [PATCH] RPC comment Signed-off-by: ekexium --- pkg/kvrpcpb/kvrpcpb.pb.go | 8 +- pkg/tikvpb/tikvpb.pb.go | 2 + pkg/tracepb/tracepb.pb.go | 1 + proto/tikvpb.proto | 2 +- scripts/proto.lock | 366 +++++++++++++++++++++++++------------- 5 files changed, 253 insertions(+), 126 deletions(-) diff --git a/pkg/kvrpcpb/kvrpcpb.pb.go b/pkg/kvrpcpb/kvrpcpb.pb.go index ba970bd8b..724e3c90c 100644 --- a/pkg/kvrpcpb/kvrpcpb.pb.go +++ b/pkg/kvrpcpb/kvrpcpb.pb.go @@ -2009,9 +2009,10 @@ type CheckTxnStatusResponse struct { RegionError *errorpb.Error `protobuf:"bytes,1,opt,name=region_error,json=regionError,proto3" json:"region_error,omitempty"` Error *KeyError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // Three kinds of transaction status: - // locked: lock_ttl > 0 - // committed: commit_version > 0 - // rollbacked: lock_ttl = 0 && commit_version = 0 + // + // locked: lock_ttl > 0 + // committed: commit_version > 0 + // rollbacked: lock_ttl = 0 && commit_version = 0 LockTtl uint64 `protobuf:"varint,3,opt,name=lock_ttl,json=lockTtl,proto3" json:"lock_ttl,omitempty"` CommitVersion uint64 `protobuf:"varint,4,opt,name=commit_version,json=commitVersion,proto3" json:"commit_version,omitempty"` // The action performed by TiKV (and why if the action is to rollback). @@ -9911,6 +9912,7 @@ func (m *RawChecksumResponse) GetTotalBytes() uint64 { type CompactError struct { // Types that are valid to be assigned to Error: + // // *CompactError_ErrInvalidStartKey // *CompactError_ErrPhysicalTableNotExist // *CompactError_ErrCompactInProgress diff --git a/pkg/tikvpb/tikvpb.pb.go b/pkg/tikvpb/tikvpb.pb.go index 4c3f7895f..1672ce30c 100644 --- a/pkg/tikvpb/tikvpb.pb.go +++ b/pkg/tikvpb/tikvpb.pb.go @@ -1651,6 +1651,7 @@ type TikvClient interface { GetDisaggConfig(ctx context.Context, in *disaggregated.GetDisaggConfigRequest, opts ...grpc.CallOption) (*disaggregated.GetDisaggConfigResponse, error) /// Get health feedback info from the TiKV node. GetHealthFeedback(ctx context.Context, in *kvrpcpb.GetHealthFeedbackRequest, opts ...grpc.CallOption) (*kvrpcpb.GetHealthFeedbackResponse, error) + /// Broadcast the transaction status to all TiKV nodes BroadcastTxnStatus(ctx context.Context, in *kvrpcpb.BroadcastTxnStatusRequest, opts ...grpc.CallOption) (*kvrpcpb.BroadcastTxnStatusResponse, error) } @@ -2609,6 +2610,7 @@ type TikvServer interface { GetDisaggConfig(context.Context, *disaggregated.GetDisaggConfigRequest) (*disaggregated.GetDisaggConfigResponse, error) /// Get health feedback info from the TiKV node. GetHealthFeedback(context.Context, *kvrpcpb.GetHealthFeedbackRequest) (*kvrpcpb.GetHealthFeedbackResponse, error) + /// Broadcast the transaction status to all TiKV nodes BroadcastTxnStatus(context.Context, *kvrpcpb.BroadcastTxnStatusRequest) (*kvrpcpb.BroadcastTxnStatusResponse, error) } diff --git a/pkg/tracepb/tracepb.pb.go b/pkg/tracepb/tracepb.pb.go index e5b4919fe..55cf091a7 100644 --- a/pkg/tracepb/tracepb.pb.go +++ b/pkg/tracepb/tracepb.pb.go @@ -68,6 +68,7 @@ var xxx_messageInfo_TraceRecordRequest proto.InternalMessageInfo type TraceRecord struct { // Types that are valid to be assigned to RecordOneof: + // // *TraceRecord_Report // *TraceRecord_NotifyCollect RecordOneof isTraceRecord_RecordOneof `protobuf_oneof:"record_oneof"` diff --git a/proto/tikvpb.proto b/proto/tikvpb.proto index a8706ade8..0a50af9d5 100644 --- a/proto/tikvpb.proto +++ b/proto/tikvpb.proto @@ -139,7 +139,7 @@ service Tikv { /// Get health feedback info from the TiKV node. rpc GetHealthFeedback(kvrpcpb.GetHealthFeedbackRequest) returns (kvrpcpb.GetHealthFeedbackResponse) {} - + /// Broadcast the transaction status to all TiKV nodes rpc BroadcastTxnStatus(kvrpcpb.BroadcastTxnStatusRequest) returns (kvrpcpb.BroadcastTxnStatusResponse) {} } diff --git a/scripts/proto.lock b/scripts/proto.lock index 1e1133dd5..2eeaa9ffd 100644 --- a/scripts/proto.lock +++ b/scripts/proto.lock @@ -777,17 +777,20 @@ { "id": 3, "name": "cluster_id_error", - "type": "ClusterIDError" + "type": "ClusterIDError", + "oneof_parent": "detail" }, { "id": 4, "name": "kv_error", - "type": "kvrpcpb.KeyError" + "type": "kvrpcpb.KeyError", + "oneof_parent": "detail" }, { "id": 5, "name": "region_error", - "type": "errorpb.Error" + "type": "errorpb.Error", + "oneof_parent": "detail" } ] }, @@ -960,37 +963,44 @@ { "id": 1, "name": "noop", - "type": "Noop" + "type": "Noop", + "oneof_parent": "backend" }, { "id": 2, "name": "local", - "type": "Local" + "type": "Local", + "oneof_parent": "backend" }, { "id": 3, "name": "s3", - "type": "S3" + "type": "S3", + "oneof_parent": "backend" }, { "id": 4, "name": "gcs", - "type": "GCS" + "type": "GCS", + "oneof_parent": "backend" }, { "id": 5, "name": "cloud_dynamic", - "type": "CloudDynamic" + "type": "CloudDynamic", + "oneof_parent": "backend" }, { "id": 6, "name": "hdfs", - "type": "HDFS" + "type": "HDFS", + "oneof_parent": "backend" }, { "id": 7, "name": "azure_blob_storage", - "type": "AzureBlobStorage" + "type": "AzureBlobStorage", + "oneof_parent": "backend" } ] }, @@ -2205,17 +2215,20 @@ { "id": 3, "name": "entries", - "type": "Entries" + "type": "Entries", + "oneof_parent": "event" }, { "id": 4, "name": "admin", - "type": "Admin" + "type": "Admin", + "oneof_parent": "event" }, { "id": 5, "name": "error", - "type": "Error" + "type": "Error", + "oneof_parent": "event" }, { "id": 6, @@ -2226,12 +2239,14 @@ "name": "deprecated", "value": "true" } - ] + ], + "oneof_parent": "event" }, { "id": 8, "name": "long_txn", - "type": "LongTxn" + "type": "LongTxn", + "oneof_parent": "event" } ], "messages": [ @@ -2412,17 +2427,20 @@ { "id": 9, "name": "register", - "type": "Register" + "type": "Register", + "oneof_parent": "request" }, { "id": 10, "name": "notify_txn_status", - "type": "NotifyTxnStatus" + "type": "NotifyTxnStatus", + "oneof_parent": "request" }, { "id": 13, "name": "deregister", - "type": "Deregister" + "type": "Deregister", + "oneof_parent": "request" }, { "id": 11, @@ -2614,12 +2632,14 @@ { "id": 1, "name": "local", - "type": "Local" + "type": "Local", + "oneof_parent": "kind" }, { "id": 2, "name": "global", - "type": "Global" + "type": "Global", + "oneof_parent": "kind" } ] }, @@ -4771,17 +4791,20 @@ { "id": 1, "name": "success", - "type": "Success" + "type": "Success", + "oneof_parent": "error" }, { "id": 2, "name": "not_owner", - "type": "NotOwner" + "type": "NotOwner", + "oneof_parent": "error" }, { "id": 3, "name": "conflict", - "type": "Conflict" + "type": "Conflict", + "oneof_parent": "error" } ] }, @@ -4965,17 +4988,20 @@ { "id": 1, "name": "error_region", - "type": "ErrorRegion" + "type": "ErrorRegion", + "oneof_parent": "errors" }, { "id": 2, "name": "error_locked", - "type": "ErrorLocked" + "type": "ErrorLocked", + "oneof_parent": "errors" }, { "id": 99, "name": "error_other", - "type": "ErrorOther" + "type": "ErrorOther", + "oneof_parent": "errors" } ] }, @@ -5355,17 +5381,20 @@ { "id": 1, "name": "plaintext", - "type": "MasterKeyPlaintext" + "type": "MasterKeyPlaintext", + "oneof_parent": "backend" }, { "id": 2, "name": "file", - "type": "MasterKeyFile" + "type": "MasterKeyFile", + "oneof_parent": "backend" }, { "id": 3, "name": "kms", - "type": "MasterKeyKms" + "type": "MasterKeyKms", + "oneof_parent": "backend" } ] }, @@ -5647,12 +5676,14 @@ { "id": 1, "name": "state", - "type": "SnapshotState" + "type": "SnapshotState", + "oneof_parent": "chunk" }, { "id": 2, "name": "data", - "type": "SnapshotData" + "type": "SnapshotData", + "oneof_parent": "chunk" } ] }, @@ -6547,12 +6578,14 @@ { "id": 1, "name": "head", - "type": "WriteHead" + "type": "WriteHead", + "oneof_parent": "chunk" }, { "id": 2, "name": "batch", - "type": "WriteBatch" + "type": "WriteBatch", + "oneof_parent": "chunk" } ] }, @@ -7031,12 +7064,14 @@ { "id": 1, "name": "meta", - "type": "SSTMeta" + "type": "SSTMeta", + "oneof_parent": "chunk" }, { "id": 2, "name": "data", - "type": "bytes" + "type": "bytes", + "oneof_parent": "chunk" } ] }, @@ -7302,12 +7337,14 @@ { "id": 1, "name": "meta", - "type": "SSTMeta" + "type": "SSTMeta", + "oneof_parent": "chunk" }, { "id": 2, "name": "batch", - "type": "WriteBatch" + "type": "WriteBatch", + "oneof_parent": "chunk" }, { "id": 3, @@ -7359,12 +7396,14 @@ { "id": 1, "name": "meta", - "type": "SSTMeta" + "type": "SSTMeta", + "oneof_parent": "chunk" }, { "id": 2, "name": "batch", - "type": "RawWriteBatch" + "type": "RawWriteBatch", + "oneof_parent": "chunk" }, { "id": 3, @@ -11667,22 +11706,26 @@ { "id": 1, "name": "err_invalid_start_key", - "type": "CompactErrorInvalidStartKey" + "type": "CompactErrorInvalidStartKey", + "oneof_parent": "error" }, { "id": 2, "name": "err_physical_table_not_exist", - "type": "CompactErrorPhysicalTableNotExist" + "type": "CompactErrorPhysicalTableNotExist", + "oneof_parent": "error" }, { "id": 3, "name": "err_compact_in_progress", - "type": "CompactErrorCompactInProgress" + "type": "CompactErrorCompactInProgress", + "oneof_parent": "error" }, { "id": 4, "name": "err_too_many_pending_tasks", - "type": "CompactErrorTooManyPendingTasks" + "type": "CompactErrorTooManyPendingTasks", + "oneof_parent": "error" } ] }, @@ -18170,22 +18213,26 @@ { "id": 1, "name": "head", - "type": "TabletSnapshotHead" + "type": "TabletSnapshotHead", + "oneof_parent": "payload" }, { "id": 2, "name": "preview", - "type": "TabletSnapshotPreview" + "type": "TabletSnapshotPreview", + "oneof_parent": "payload" }, { "id": 3, "name": "chunk", - "type": "TabletSnapshotFileChunk" + "type": "TabletSnapshotFileChunk", + "oneof_parent": "payload" }, { "id": 4, "name": "end", - "type": "TabletSnapshotEnd" + "type": "TabletSnapshotEnd", + "oneof_parent": "payload" } ] }, @@ -19247,12 +19294,14 @@ { "id": 2, "name": "ru_items", - "type": "RequestRU" + "type": "RequestRU", + "oneof_parent": "request" }, { "id": 3, "name": "raw_resource_items", - "type": "RequestRawResource" + "type": "RequestRawResource", + "oneof_parent": "request" }, { "id": 4, @@ -19737,7 +19786,8 @@ { "id": 1, "name": "record", - "type": "GroupTagRecord" + "type": "GroupTagRecord", + "oneof_parent": "record_oneof" } ] }, @@ -20381,177 +20431,212 @@ { "id": 1, "name": "Get", - "type": "kvrpcpb.GetRequest" + "type": "kvrpcpb.GetRequest", + "oneof_parent": "cmd" }, { "id": 2, "name": "Scan", - "type": "kvrpcpb.ScanRequest" + "type": "kvrpcpb.ScanRequest", + "oneof_parent": "cmd" }, { "id": 3, "name": "Prewrite", - "type": "kvrpcpb.PrewriteRequest" + "type": "kvrpcpb.PrewriteRequest", + "oneof_parent": "cmd" }, { "id": 4, "name": "Commit", - "type": "kvrpcpb.CommitRequest" + "type": "kvrpcpb.CommitRequest", + "oneof_parent": "cmd" }, { "id": 5, "name": "Import", - "type": "kvrpcpb.ImportRequest" + "type": "kvrpcpb.ImportRequest", + "oneof_parent": "cmd" }, { "id": 6, "name": "Cleanup", - "type": "kvrpcpb.CleanupRequest" + "type": "kvrpcpb.CleanupRequest", + "oneof_parent": "cmd" }, { "id": 7, "name": "BatchGet", - "type": "kvrpcpb.BatchGetRequest" + "type": "kvrpcpb.BatchGetRequest", + "oneof_parent": "cmd" }, { "id": 8, "name": "BatchRollback", - "type": "kvrpcpb.BatchRollbackRequest" + "type": "kvrpcpb.BatchRollbackRequest", + "oneof_parent": "cmd" }, { "id": 9, "name": "ScanLock", - "type": "kvrpcpb.ScanLockRequest" + "type": "kvrpcpb.ScanLockRequest", + "oneof_parent": "cmd" }, { "id": 10, "name": "ResolveLock", - "type": "kvrpcpb.ResolveLockRequest" + "type": "kvrpcpb.ResolveLockRequest", + "oneof_parent": "cmd" }, { "id": 11, "name": "GC", - "type": "kvrpcpb.GCRequest" + "type": "kvrpcpb.GCRequest", + "oneof_parent": "cmd" }, { "id": 12, "name": "DeleteRange", - "type": "kvrpcpb.DeleteRangeRequest" + "type": "kvrpcpb.DeleteRangeRequest", + "oneof_parent": "cmd" }, { "id": 13, "name": "RawGet", - "type": "kvrpcpb.RawGetRequest" + "type": "kvrpcpb.RawGetRequest", + "oneof_parent": "cmd" }, { "id": 14, "name": "RawBatchGet", - "type": "kvrpcpb.RawBatchGetRequest" + "type": "kvrpcpb.RawBatchGetRequest", + "oneof_parent": "cmd" }, { "id": 15, "name": "RawPut", - "type": "kvrpcpb.RawPutRequest" + "type": "kvrpcpb.RawPutRequest", + "oneof_parent": "cmd" }, { "id": 16, "name": "RawBatchPut", - "type": "kvrpcpb.RawBatchPutRequest" + "type": "kvrpcpb.RawBatchPutRequest", + "oneof_parent": "cmd" }, { "id": 17, "name": "RawDelete", - "type": "kvrpcpb.RawDeleteRequest" + "type": "kvrpcpb.RawDeleteRequest", + "oneof_parent": "cmd" }, { "id": 18, "name": "RawBatchDelete", - "type": "kvrpcpb.RawBatchDeleteRequest" + "type": "kvrpcpb.RawBatchDeleteRequest", + "oneof_parent": "cmd" }, { "id": 19, "name": "RawScan", - "type": "kvrpcpb.RawScanRequest" + "type": "kvrpcpb.RawScanRequest", + "oneof_parent": "cmd" }, { "id": 20, "name": "RawDeleteRange", - "type": "kvrpcpb.RawDeleteRangeRequest" + "type": "kvrpcpb.RawDeleteRangeRequest", + "oneof_parent": "cmd" }, { "id": 21, "name": "RawBatchScan", - "type": "kvrpcpb.RawBatchScanRequest" + "type": "kvrpcpb.RawBatchScanRequest", + "oneof_parent": "cmd" }, { "id": 22, "name": "Coprocessor", - "type": "coprocessor.Request" + "type": "coprocessor.Request", + "oneof_parent": "cmd" }, { "id": 23, "name": "PessimisticLock", - "type": "kvrpcpb.PessimisticLockRequest" + "type": "kvrpcpb.PessimisticLockRequest", + "oneof_parent": "cmd" }, { "id": 24, "name": "PessimisticRollback", - "type": "kvrpcpb.PessimisticRollbackRequest" + "type": "kvrpcpb.PessimisticRollbackRequest", + "oneof_parent": "cmd" }, { "id": 25, "name": "CheckTxnStatus", - "type": "kvrpcpb.CheckTxnStatusRequest" + "type": "kvrpcpb.CheckTxnStatusRequest", + "oneof_parent": "cmd" }, { "id": 26, "name": "TxnHeartBeat", - "type": "kvrpcpb.TxnHeartBeatRequest" + "type": "kvrpcpb.TxnHeartBeatRequest", + "oneof_parent": "cmd" }, { "id": 33, "name": "CheckSecondaryLocks", - "type": "kvrpcpb.CheckSecondaryLocksRequest" + "type": "kvrpcpb.CheckSecondaryLocksRequest", + "oneof_parent": "cmd" }, { "id": 34, "name": "RawCoprocessor", - "type": "kvrpcpb.RawCoprocessorRequest" + "type": "kvrpcpb.RawCoprocessorRequest", + "oneof_parent": "cmd" }, { "id": 35, "name": "FlashbackToVersion", - "type": "kvrpcpb.FlashbackToVersionRequest" + "type": "kvrpcpb.FlashbackToVersionRequest", + "oneof_parent": "cmd" }, { "id": 36, "name": "PrepareFlashbackToVersion", - "type": "kvrpcpb.PrepareFlashbackToVersionRequest" + "type": "kvrpcpb.PrepareFlashbackToVersionRequest", + "oneof_parent": "cmd" }, { "id": 37, "name": "Flush", - "type": "kvrpcpb.FlushRequest" + "type": "kvrpcpb.FlushRequest", + "oneof_parent": "cmd" }, { "id": 38, "name": "BufferBatchGet", - "type": "kvrpcpb.BufferBatchGetRequest" + "type": "kvrpcpb.BufferBatchGetRequest", + "oneof_parent": "cmd" }, { "id": 39, "name": "GetHealthFeedback", - "type": "kvrpcpb.GetHealthFeedbackRequest" + "type": "kvrpcpb.GetHealthFeedbackRequest", + "oneof_parent": "cmd" }, { "id": 40, "name": "BroadcastTxnStatus", - "type": "kvrpcpb.BroadcastTxnStatusRequest" + "type": "kvrpcpb.BroadcastTxnStatusRequest", + "oneof_parent": "cmd" }, { "id": 255, "name": "Empty", - "type": "BatchCommandsEmptyRequest" + "type": "BatchCommandsEmptyRequest", + "oneof_parent": "cmd" } ], "reserved_ids": [ @@ -20598,177 +20683,212 @@ { "id": 1, "name": "Get", - "type": "kvrpcpb.GetResponse" + "type": "kvrpcpb.GetResponse", + "oneof_parent": "cmd" }, { "id": 2, "name": "Scan", - "type": "kvrpcpb.ScanResponse" + "type": "kvrpcpb.ScanResponse", + "oneof_parent": "cmd" }, { "id": 3, "name": "Prewrite", - "type": "kvrpcpb.PrewriteResponse" + "type": "kvrpcpb.PrewriteResponse", + "oneof_parent": "cmd" }, { "id": 4, "name": "Commit", - "type": "kvrpcpb.CommitResponse" + "type": "kvrpcpb.CommitResponse", + "oneof_parent": "cmd" }, { "id": 5, "name": "Import", - "type": "kvrpcpb.ImportResponse" + "type": "kvrpcpb.ImportResponse", + "oneof_parent": "cmd" }, { "id": 6, "name": "Cleanup", - "type": "kvrpcpb.CleanupResponse" + "type": "kvrpcpb.CleanupResponse", + "oneof_parent": "cmd" }, { "id": 7, "name": "BatchGet", - "type": "kvrpcpb.BatchGetResponse" + "type": "kvrpcpb.BatchGetResponse", + "oneof_parent": "cmd" }, { "id": 8, "name": "BatchRollback", - "type": "kvrpcpb.BatchRollbackResponse" + "type": "kvrpcpb.BatchRollbackResponse", + "oneof_parent": "cmd" }, { "id": 9, "name": "ScanLock", - "type": "kvrpcpb.ScanLockResponse" + "type": "kvrpcpb.ScanLockResponse", + "oneof_parent": "cmd" }, { "id": 10, "name": "ResolveLock", - "type": "kvrpcpb.ResolveLockResponse" + "type": "kvrpcpb.ResolveLockResponse", + "oneof_parent": "cmd" }, { "id": 11, "name": "GC", - "type": "kvrpcpb.GCResponse" + "type": "kvrpcpb.GCResponse", + "oneof_parent": "cmd" }, { "id": 12, "name": "DeleteRange", - "type": "kvrpcpb.DeleteRangeResponse" + "type": "kvrpcpb.DeleteRangeResponse", + "oneof_parent": "cmd" }, { "id": 13, "name": "RawGet", - "type": "kvrpcpb.RawGetResponse" + "type": "kvrpcpb.RawGetResponse", + "oneof_parent": "cmd" }, { "id": 14, "name": "RawBatchGet", - "type": "kvrpcpb.RawBatchGetResponse" + "type": "kvrpcpb.RawBatchGetResponse", + "oneof_parent": "cmd" }, { "id": 15, "name": "RawPut", - "type": "kvrpcpb.RawPutResponse" + "type": "kvrpcpb.RawPutResponse", + "oneof_parent": "cmd" }, { "id": 16, "name": "RawBatchPut", - "type": "kvrpcpb.RawBatchPutResponse" + "type": "kvrpcpb.RawBatchPutResponse", + "oneof_parent": "cmd" }, { "id": 17, "name": "RawDelete", - "type": "kvrpcpb.RawDeleteResponse" + "type": "kvrpcpb.RawDeleteResponse", + "oneof_parent": "cmd" }, { "id": 18, "name": "RawBatchDelete", - "type": "kvrpcpb.RawBatchDeleteResponse" + "type": "kvrpcpb.RawBatchDeleteResponse", + "oneof_parent": "cmd" }, { "id": 19, "name": "RawScan", - "type": "kvrpcpb.RawScanResponse" + "type": "kvrpcpb.RawScanResponse", + "oneof_parent": "cmd" }, { "id": 20, "name": "RawDeleteRange", - "type": "kvrpcpb.RawDeleteRangeResponse" + "type": "kvrpcpb.RawDeleteRangeResponse", + "oneof_parent": "cmd" }, { "id": 21, "name": "RawBatchScan", - "type": "kvrpcpb.RawBatchScanResponse" + "type": "kvrpcpb.RawBatchScanResponse", + "oneof_parent": "cmd" }, { "id": 22, "name": "Coprocessor", - "type": "coprocessor.Response" + "type": "coprocessor.Response", + "oneof_parent": "cmd" }, { "id": 23, "name": "PessimisticLock", - "type": "kvrpcpb.PessimisticLockResponse" + "type": "kvrpcpb.PessimisticLockResponse", + "oneof_parent": "cmd" }, { "id": 24, "name": "PessimisticRollback", - "type": "kvrpcpb.PessimisticRollbackResponse" + "type": "kvrpcpb.PessimisticRollbackResponse", + "oneof_parent": "cmd" }, { "id": 25, "name": "CheckTxnStatus", - "type": "kvrpcpb.CheckTxnStatusResponse" + "type": "kvrpcpb.CheckTxnStatusResponse", + "oneof_parent": "cmd" }, { "id": 26, "name": "TxnHeartBeat", - "type": "kvrpcpb.TxnHeartBeatResponse" + "type": "kvrpcpb.TxnHeartBeatResponse", + "oneof_parent": "cmd" }, { "id": 33, "name": "CheckSecondaryLocks", - "type": "kvrpcpb.CheckSecondaryLocksResponse" + "type": "kvrpcpb.CheckSecondaryLocksResponse", + "oneof_parent": "cmd" }, { "id": 34, "name": "RawCoprocessor", - "type": "kvrpcpb.RawCoprocessorResponse" + "type": "kvrpcpb.RawCoprocessorResponse", + "oneof_parent": "cmd" }, { "id": 35, "name": "FlashbackToVersion", - "type": "kvrpcpb.FlashbackToVersionResponse" + "type": "kvrpcpb.FlashbackToVersionResponse", + "oneof_parent": "cmd" }, { "id": 36, "name": "PrepareFlashbackToVersion", - "type": "kvrpcpb.PrepareFlashbackToVersionResponse" + "type": "kvrpcpb.PrepareFlashbackToVersionResponse", + "oneof_parent": "cmd" }, { "id": 37, "name": "Flush", - "type": "kvrpcpb.FlushResponse" + "type": "kvrpcpb.FlushResponse", + "oneof_parent": "cmd" }, { "id": 38, "name": "BufferBatchGet", - "type": "kvrpcpb.BufferBatchGetResponse" + "type": "kvrpcpb.BufferBatchGetResponse", + "oneof_parent": "cmd" }, { "id": 39, "name": "GetHealthFeedback", - "type": "kvrpcpb.GetHealthFeedbackResponse" + "type": "kvrpcpb.GetHealthFeedbackResponse", + "oneof_parent": "cmd" }, { "id": 40, "name": "BroadcastTxnStatus", - "type": "kvrpcpb.BroadcastTxnStatusResponse" + "type": "kvrpcpb.BroadcastTxnStatusResponse", + "oneof_parent": "cmd" }, { "id": 255, "name": "Empty", - "type": "BatchCommandsEmptyResponse" + "type": "BatchCommandsEmptyResponse", + "oneof_parent": "cmd" } ], "reserved_ids": [ @@ -21250,12 +21370,14 @@ { "id": 1, "name": "report", - "type": "Report" + "type": "Report", + "oneof_parent": "record_oneof" }, { "id": 2, "name": "notify_collect", - "type": "NotifyCollect" + "type": "NotifyCollect", + "oneof_parent": "record_oneof" } ] },