package yb.tserver

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

service PgClientService

pg_client.proto:33

service RemoteBootstrapService

remote_bootstrap.proto:47

RaftConfig remote bootstrap RPC calls.

service TabletServerAdminService

tserver_admin.proto:582

service TabletServerBackupService

backup.proto:26

service TabletServerService

tserver_service.proto:52

service ThinClientService

thin_client.proto:30

Minimal service for thin Perform-based clients (see src/yb/thin_client). Thin clients are upgraded independently of the cluster, so this service's messages and semantics must stay backward compatible and evolve additively.

message AcquireObjectLockRequestPB

tserver.proto:485

Used as request type in: TabletServerService.AcquireObjectLocks

Used as field type in: DdlLockEntriesPB

message AdvisoryLockIdPB

pg_client.proto:1556

-------------------------------------------------------------------------------------------------- Advisory lock - Acquire / Release locks. -------------------------------------------------------------------------------------------------- Pg Advisory Lock - (dbid, classid, objid, objsubid).

Used in: AdvisoryLockPB

enum AdvisoryLockMode

pg_client.proto:1562

Used in: AdvisoryLockPB

message AdvisoryLockPB

pg_client.proto:1567

Used in: PgAcquireAdvisoryLockRequestPB, PgReleaseAdvisoryLockRequestPB

message ChangeMetadataResponsePB

tserver_admin.proto:56

Used as response type in: TabletServerAdminService.AlterSchema, TabletServerAdminService.BackfillDone, TabletServerAdminService.MarkNonConcurrentIndexDone

message CheckTserverTabletHealthResponsePB.TabletHealthPB

tserver.proto:442

Used in: CheckTserverTabletHealthResponsePB

message ConnectivityEntryPB

tserver_service.proto:788

Used in: ConnectivityStateResponsePB

message DBCatalogInvalMessagesDataPB

tserver.proto:543

Used in: master.TSHeartbeatResponsePB, ReleaseObjectLockRequestPB

message DBCatalogVersionDataPB

tserver.proto:518

Used in: master.TSHeartbeatResponsePB, ReleaseObjectLockRequestPB

message DataChunkPB

remote_bootstrap.proto:275

A chunk of data (a slice of a block, file, etc).

Used in: FetchDataResponsePB

message DataIdPB

remote_bootstrap.proto:235

A "union" type that allows the same RPC call to fetch different types of data (data blocks or log files).

Used in: FetchDataRequestPB

enum DataIdPB.IdType

remote_bootstrap.proto:236

Used in: DataIdPB

message DdlLockEntriesPB

tserver.proto:613

Used in: master.RefreshYsqlLeaseInfoPB

message DeletedDirectoryPB

tserver_admin.proto:267

Describes a single on-disk directory that DeleteTablet attempted to reclaim.

Used in: DeleteTabletResponsePB

message ExportedTabletMetadataChanges

tserver_admin.proto:52

This is used to export tablet metadata changes to a protobuf file to be reloaded on a new cluster startup to avoid running initdb.

enum FlushTabletsRequestPB.Operation

tserver_admin.proto:290

Used in: FlushTabletsRequestPB

message GetActiveRbsInfoResponsePB.RbsInfo

tserver_admin.proto:572

Used in: GetActiveRbsInfoResponsePB

message GetLockStatusRequestPB.TabletTransactionInfoPB

tserver_service.proto:211

Used in: GetLockStatusRequestPB

message GetLockStatusRequestPB.TransactionInfoPB

tserver_service.proto:206

Used in: TabletTransactionInfoPB

message GetOldSingleShardWaitersResponsePB.OldSingleShardWaiterMetadataPB

tserver_service.proto:453

Used in: GetOldSingleShardWaitersResponsePB

message GetOldTransactionsResponsePB.OldTransactionMetadataPB

tserver_service.proto:431

Used in: GetOldTransactionsResponsePB

message LeaseEpochFloorPB

tserver.proto:478

Used in: AcquireObjectLockRequestPB, DdlLockEntriesPB

message ListMasterServersResponsePB.MasterServerAndTypePB

tserver.proto:414

Used in: ListMasterServersResponsePB

message ListTabletsForTabletServerResponsePB.Entry

tserver_service.proto:328

An entry for each tablet.

Used in: ListTabletsForTabletServerResponsePB

message ListTabletsResponsePB.StatusAndSchemaPB

tserver.proto:192

Used in: ListTabletsResponsePB

enum ObjectLockMode

pg_client.proto:1599

Used in: PgAcquireObjectLockRequestPB, PgWaitForLockersMultipleRequestPB.ObjectLockEntry

message ObjectLockOid

pg_client.proto:1611

Used in: PgAcquireObjectLockRequestPB, PgReleaseSessionObjectLockRequestPB, PgWaitForLockersMultipleRequestPB.ObjectLockEntry

message OptionalFixed64PB

pg_client.proto:222

TODO: Remove the OptionalUint32PB helper message after updating protobuf generator to allow 'optional' in proto3

Used in: PgPerformOptionsPB

message OptionalUint32PB

pg_client.proto:226

Used in: PgFinishTransactionRequestPB.DdlModePB, PgPerformOptionsPB.CachingInfoPB, PgPerformOptionsPB.ReadTimeOptionsPB

message OptionalUint64PB

pg_client.proto:230

Used in: PgGetActiveTransactionListRequestPB, PgRequestSequenceNumPB

enum PGReplicationSlotLsnType

pg_client.proto:408

proto2 version of the ReplicationSlotLsnType enum from yb/common/common_types.proto

Used in: PgCreateReplicationSlotRequestPB, PgReplicationSlotInfoPB

enum PGReplicationSlotOrderingMode

pg_client.proto:415

proto2 version of the ReplicationSlotOrderingMode enum from yb/common/common.proto

Used in: PgCreateReplicationSlotRequestPB

message PgAutoAnalyzeDataPB

pg_client.proto:1537

Used in: PgQueryAutoAnalyzeResponsePB

message PgClusterConfigPB

pg_client.proto:240

Used in: PgHeartbeatResponsePB

message PgCreateColumnPB

pg_client.proto:450

Used in: PgAlterTableRequestPB, PgCreateTableRequestPB

message PgCreateSplitBoundaryPB

pg_client.proto:461

Used in: PgCreateTableRequestPB

message PgDatabaseCloneInfoPB

pg_client.proto:1517

Used in: PgListClonesResponsePB

message PgFinishTransactionRequestPB.DdlModePB

pg_client.proto:597

Used in: PgFinishTransactionRequestPB

message PgGetActiveTransactionListResponsePB.EntryPB

pg_client.proto:1382

Used in: PgGetActiveTransactionListResponsePB

message PgGetLockStatusResponsePB.NodeLockStatusResponsePB

pg_client.proto:681

Used in: PgGetLockStatusResponsePB

message PgGetLockStatusResponsePB.TransactionList

pg_client.proto:689

Used in: PgGetLockStatusResponsePB

message PgLiveTabletServerPB

pg_client.proto:722

Used in: PgListLiveTabletServersResponsePB

enum PgMetricsInfoStatus

pg_client.proto:1481

Used in: PgServerMetricsInfoPB

message PgObjectIdPB

pg_client.proto:252

Used in: PgAlterTableRequestPB, PgBackfillIndexRequestPB, PgCreateTableRequestPB, PgCreateTablegroupRequestPB, PgDropTableRequestPB, PgDropTablegroupRequestPB, PgGetIndexBackfillProgressRequestPB, PgGetTableDiskSizeRequestPB, PgGetTableKeyRangesRequestPB, PgIsObjectPartOfXReplRequestPB, PgStartTableBackfillRequestPB, PgTruncateTableRequestPB

message PgPerformOpPB

pg_client.proto:853

Used in: PgPerformRequestPB

message PgPerformOptionsPB

pg_client.proto:866

Used in: PgAcquireAdvisoryLockRequestPB, PgAcquireObjectLockRequestPB, PgAlterTableRequestPB, PgCreateDatabaseRequestPB, PgCreateTableRequestPB, PgCreateTablegroupRequestPB, PgDropTableRequestPB, PgDropTablegroupRequestPB, PgExportTxnSnapshotRequestPB, PgImportTxnSnapshotRequestPB, PgPerformRequestPB, PgReleaseSessionObjectLockRequestPB, PgRestartTransactionForRetryRequestPB, PgRollbackToSubTransactionRequestPB, PgWaitForLockersMultipleRequestPB

message PgPerformOptionsPB.CachingInfoPB

pg_client.proto:867

Used in: PgPerformOptionsPB

message PgPerformOptionsPB.ReadTimeOptionsPB

pg_client.proto:918

Used in: PgPerformOptionsPB

message PgPlacementInfoPB

pg_client.proto:1100

Used in: PgValidatePlacementRequestPB

message PgRemoteExecRequestPB

tserver_service.proto:803

Used as request type in: PgClientService.RemoteExec, TabletServerService.PgRemoteExec

message PgRemoteExecRequestPB.PgQueryParamPB

tserver_service.proto:807

Used in: PgRemoteExecRequestPB

message PgRemoteExecResponsePB

tserver_service.proto:818

Used as response type in: PgClientService.RemoteExec, TabletServerService.PgRemoteExec

message PgRenameColumnPB

pg_client.proto:302

Used in: PgAlterTableRequestPB

message PgRenameTablePB

pg_client.proto:307

Used in: PgAlterTableRequestPB

message PgReplicaIdentityPB

pg_client.proto:337

Used in: PgAlterTableRequestPB, PgReplicationSlotInfoPB

enum PgReplicaIdentityType

pg_client.proto:319

Available replica identity modes for use in CDC

Used in: PgReplicaIdentityPB

message PgReplicationSlotInfoPB

pg_client.proto:777

Used in: PgGetReplicationSlotResponsePB, PgListReplicationSlotsResponsePB

enum PgReplicationSlotSnapshotActionPB

pg_client.proto:395

proto2 version of the CDCSDKSnapshotOption enum from yb/common/common_types.proto

Used in: PgCreateReplicationSlotRequestPB

message PgRequestSequenceNumPB

pg_client.proto:1012

Used in: PgPerformRequestPB

enum PgRestartTransactionForRetryRequestPB.Kind

pg_client.proto:1058

Used in: PgRestartTransactionForRetryRequestPB

message PgServerMetricsInfoPB

pg_client.proto:1474

Used in: PgServersMetricsResponsePB

enum PgSharedExchangeReqType

pg_client.proto:313

message PgSlotEntryInfoPB

pg_client.proto:758

Used in: PgListSlotEntriesResponsePB

message PgTablePartitionsPB

pg_client.proto:821

Used in: PgGetTablePartitionListResponsePB, PgOpenTableResponsePB

message PgWaitForLockersMultipleRequestPB.ObjectLockEntry

pg_client.proto:1651

Used in: PgWaitForLockersMultipleRequestPB

message ProbeTransactionDeadlockResponsePB.DeadlockedTxnInfo

tserver_service.proto:522

Used in: ProbeTransactionDeadlockResponsePB

enum ReadTimeManipulation

pg_client.proto:861

Used in: PgPerformOptionsPB.ReadTimeOptionsPB

message ReleaseObjectLockRequestPB

tserver.proto:547

Used as request type in: TabletServerService.ReleaseObjectLocks

Used as field type in: master.SysObjectLockEntryPB

message RemoteBootstrapErrorPB

remote_bootstrap.proto:101

Remote bootstrap-specific errors use this protobuf.

enum RemoteBootstrapErrorPB.Code

remote_bootstrap.proto:106

Used in: RemoteBootstrapErrorPB

enum ReplicationSlotStatus

pg_client.proto:712

Used in: PgReplicationSlotInfoPB

enum ServerType

tserver_service.proto:783

Used in: ConnectivityEntryPB

enum TSTabletManagerStatePB

tserver_types.proto:178

Enum of the server's Tablet Manager state: currently this is only used for assertions, but this can also be sent to the master.

message TableMetadataPB

backup.proto:31

Used in: TabletSnapshotOpRequestPB

message TabletConsensusInfoPB

tserver.proto:53

Used in: cdc.GetChangesResponsePB, GetTransactionStatusResponsePB, ReadResponsePB, WriteResponsePB

message TabletServerErrorPB

tserver_types.proto:22

Tablet-server specific errors use this protobuf.

Used in: consensus.ChangeAutoFlagsConfigOpResponsePB, consensus.ChangeConfigResponsePB, consensus.ConsensusResponsePB, consensus.GetConsensusStateResponsePB, consensus.GetLastOpIdResponsePB, consensus.LeaderElectionLostResponsePB, consensus.LeaderStepDownResponsePB, consensus.RunLeaderElectionResponsePB, consensus.StartRemoteBootstrapResponsePB, consensus.UnsafeChangeConfigResponsePB, consensus.VoteResponsePB, AbortTransactionResponsePB, AcquireObjectLockResponsePB, AddTableToTabletResponsePB, AdminExecutePgsqlResponsePB, AlterTabletTierResponsePB, ApplyXClusterGuardedInfoIfNewerResponsePB, BackfillIndexResponsePB, CancelTransactionResponsePB, ChangeMetadataResponsePB, CheckTserverTabletHealthResponsePB, ChecksumResponsePB, ClearMetacacheResponsePB, ClearRocksDBCacheResponsePB, ClearUniverseUuidResponsePB, ClearYCQLMetaDataCacheOnServerResponsePB, ClonePgSchemaResponsePB, CloneTabletResponsePB, CollectYsqlCallHomeStatsResponsePB, ConnectivityStateResponsePB, CountIntentsResponsePB, CreateTabletResponsePB, DeleteTabletResponsePB, DumpTabletDataResponsePB, EnableDbConnsResponsePB, FlushTabletsResponsePB, GetActiveRbsInfoResponsePB, GetCompatibleSchemaVersionResponsePB, GetLocalPgTxnSnapshotResponsePB, GetLockStatusResponsePB, GetMasterAddressesResponsePB, GetMetricsResponsePB, GetObjectLockStatusResponsePB, GetOldSingleShardWaitersResponsePB, GetOldTransactionsResponsePB, GetPgSocketDirResponsePB, GetSafeTimeResponsePB, GetSplitKeyResponsePB, GetTabletKeyRangesResponsePB, GetTabletStatusResponsePB, GetTabletTierInfoResponsePB, GetTransactionStatusAtParticipantResponsePB, GetTransactionStatusResponsePB, GetTserverCatalogMessageListsResponsePB, GetTserverCatalogVersionInfoResponsePB, GetYSQLLeaseInfoResponsePB, ImportDataResponsePB, IsTabletServerReadyResponsePB, ListMasterServersResponsePB, ListTabletsResponsePB, NoOpResponsePB, PgRemoteExecResponsePB, PrepareDeleteTransactionTabletResponsePB, ProbeTransactionDeadlockResponsePB, ReadResponsePB, ReleaseObjectLockResponsePB, RemoveTableFromTabletResponsePB, SetActiveTableIdsForMetricsResponsePB, SplitTabletResponsePB, StartRemoteSnapshotTransferResponsePB, TableBackfillChunkResponsePB, TabletSnapshotOpResponsePB, TestRetryResponsePB, TriggerRelcacheInitConnectionResponsePB, TruncateResponsePB, UpdateTransactionResponsePB, UpdateTransactionTablesVersionResponsePB, UpdateTransactionWaitingForStatusResponsePB, UpgradeYsqlResponsePB, VerifyTableRowRangeResponsePB, VerifyVectorIndexesResponsePB, WaitForAsyncWriteResponsePB, WaitForLockersMultipleResponsePB, WaitForYsqlBackendsCatalogVersionResponsePB, WriteResponsePB

enum TabletServerErrorPB.Code

tserver_types.proto:23

Used in: TabletServerErrorPB

message TabletSnapshotOpRequestPB

backup.proto:38

Used as request type in: TabletServerBackupService.TabletSnapshotOp

Used as field type in: consensus.ReplicateMsg

enum TabletSnapshotOpRequestPB.Operation

backup.proto:39

Used in: TabletSnapshotOpRequestPB

message ThinPerformOpPB

thin_client.proto:63

Used in: ThinPerformRequestPB

message ThinReadTimeOptionsPB

thin_client.proto:70

Used in: ThinPerformRequestPB

message TierMigrationStatusPB

tserver_types.proto:213

Where a tablet replica stands relative to its persisted target tier (target_tier / target_tier_path_id in GetTabletTierInfoResponsePB). Not persisted: after a tserver restart the next migration pass rebuilds it. Defined here rather than next to the admin RPCs because the tablet report (master_heartbeat.proto) carries State too.

Used in: AlterTabletTierResponsePB, GetTabletTierInfoResponsePB

enum TierMigrationStatusPB.State

tserver_types.proto:216

Nested so the enumerators can stay unprefixed: protobuf scopes enum values to the enclosing namespace rather than to the enum, and a package-level NONE already exists in yb.tserver.

Used in: master.ReportedTabletPB, TierMigrationStatusPB

message TierPathInfoPB

tserver_admin.proto:379

One entry per path_id known to this tablet replica (RaftGroupMetadata::tier_paths()), i.e. one per disk the tablet's regular DB could place an SST on, whether or not it currently has any files there.

Used in: GetTabletTierInfoResponsePB

message TruncateRequestPB

tserver.proto:352

Truncate tablet request.

Used as request type in: TabletServerService.Truncate

Used as field type in: cdc.RowMessage

message UpdateTransactionWaitingForStatusRequestPB.BlockingTransaction

tserver_service.proto:464

Used in: WaitingTransaction

message UpdateTransactionWaitingForStatusRequestPB.WaitingTransaction

tserver_service.proto:469

Used in: UpdateTransactionWaitingForStatusRequestPB

message VectorIndexReplicaCheckPB

tserver_service.proto:710

Outcome of checking one vector index of one tablet replica, see CheckVectorIndex.

Used in: VerifyVectorIndexesResponsePB

message WaitStatesPB

pg_client.proto:1360

Used in: PgActiveSessionHistoryResponsePB

message WriteResponsePB.PerRowErrorPB

tserver.proto:134

If errors occurred with particular row operations, then the errors for those operations will be passed back in 'per_row_errors'.

Used in: WriteResponsePB

message YCQLStatementStatsPB

pg_client.proto:1436

Used in: PgYCQLStatementStatsResponsePB

message YsqlCatalogInvalMessagesPB

tserver.proto:536

This matches a row in pg_yb_invalidation_messages table, which has a composite primary key of (db_oid, current_version). For each pair of (db_oid, current_version), there is a list of invalidation messages. The table pg_yb_invalidation_messages also has a message time column that is used to delete old messages from pg_yb_invalidation_messages, but it is not needed by tserver so it is skipped here.

Used in: DBCatalogInvalMessagesDataPB

message YsqlCatalogVersionPB

tserver.proto:512

Used in: DBCatalogVersionDataPB

message YsqlDbHistoryRetentionPinsPB

tserver_types.proto:204

Cluster-wide per-database history retention pins as last received from the master, persisted to local disk so that a restarting tserver can apply them before its first heartbeat response arrives.