package yb.master

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

service MasterAdmin

master_admin.proto:317

service MasterBackup

master_backup.proto:309

service MasterClient

master_client.proto:250

service MasterCluster

master_cluster.proto:343

service MasterDcl

master_dcl.proto:125

service MasterDdl

master_ddl.proto:824

service MasterEncryption

master_encryption.proto:76

service MasterHeartbeat

master_heartbeat.proto:350

service MasterReplication

master_replication.proto:856

service MasterTest

master_test.proto:34

message AlterTableRequestPB.AddColumn

master_ddl.proto:415

Used in: Step

message AlterTableRequestPB.DropColumn

master_ddl.proto:421

Used in: Step

message AlterTableRequestPB.RenameColumn

master_ddl.proto:425

Used in: Step

message AlterTableRequestPB.SetColumnPgType

master_ddl.proto:431

Used in: Step

message AlterTableRequestPB.Step

master_ddl.proto:437

Used in: AlterTableRequestPB

enum AlterTableRequestPB.StepType

master_ddl.proto:404

Used in: Step

message BackfillJobPB

catalog_entity_info.proto:32

Used in: GetBackfillJobsResponsePB, SysTablesEntryPB

enum BackfillJobPB.State

catalog_entity_info.proto:35

Used in: BackfillJobPB

message BackupRowEntryPB

master_backup.proto:23

Used in: SnapshotInfoPB

message BlacklistPB

catalog_entity_info.proto:371

This is used to mark servers in the load balancer that should be considered for immediate removal of load and also prevented from being assigned any new load.

Used in: SysClusterConfigEntryPB

message CDCSDKStreamEntryPB

catalog_entity_info.proto:588

The on-disk entry specific to CDCSDK streams

Used in: SysCDCStreamEntryPB

message CDCStreamInfoOptionsPB

master_replication.proto:29

Used in: CDCStreamInfoPB

message CDCStreamInfoPB

master_replication.proto:38

Used in: GetCDCStreamResponsePB, ListCDCStreamsResponsePB

message CDCStreamOptionsPB

catalog_entity_info.proto:582

Options for CDC stream. This will include details such as: Stream sink: YB Universe / Kafka / Elastic Search. Log retention time: Amount of time to retain logs for CDC. Sink details: For example, Kafka cluster IP, port.

Used in: CDCStreamInfoPB, CreateCDCStreamRequestPB, SysCDCStreamEntryPB

message ColocatedSchemaVersionMappingPB

catalog_entity_info.proto:733

Used in: SchemaVersionMappingEntryPB

message CreateTableRequestPB.XClusterTableInfo

master_ddl.proto:130

Used in: CreateTableRequestPB

message DBCatalogInvalMessagesDataPB

master_heartbeat.proto:191

Used in: TSHeartbeatResponsePB

message DdlLogEntryPB

catalog_entity_info.proto:568

Used in: DdlLogResponsePB

message EncryptionInfoPB

catalog_entity_info.proto:381

Used in: SysClusterConfigEntryPB

message FullCompactionStatusPB

master_heartbeat.proto:133

Used in: TSHeartbeatRequestPB

message GetCDCDBStreamInfoResponsePB.TableInfo

master_replication.proto:160

Used in: GetCDCDBStreamInfoResponsePB

message GetLoadMovePercentResponsePB

master_cluster.proto:222

When no errors, the percent reflects the progress of load removal from the blacklisted tservers.

Used as response type in: MasterCluster.GetLeaderBlacklistCompletion, MasterCluster.GetLoadMoveCompletion

message GetMasterHeartbeatDelaysResponsePB.MasterHeartbeatDelay

master_admin.proto:274

Used in: GetMasterHeartbeatDelaysResponsePB

message GetNamespaceInfoResponsePB

master_ddl.proto:623

Used as response type in: MasterDdl.GetNamespaceInfo

Used as field type in: tserver.PgGetDatabaseInfoResponsePB

message GetTableSchemaResponsePB

master_ddl.proto:207

Used as response type in: MasterDdl.GetTableSchema

Used as field type in: GetColocatedTabletSchemaResponsePB, GetTablegroupSchemaResponsePB, tserver.PgOpenTableResponsePB

message GetTabletLocationsResponsePB.Error

master_client.proto:131

Used in: GetTabletLocationsResponsePB

message GetUniverseReplicationInfoResponsePB.DbScopedInfoPB

master_replication.proto:812

Used in: GetUniverseReplicationInfoResponsePB

message GetUniverseReplicationInfoResponsePB.TableInfoPB

master_replication.proto:805

Used in: GetUniverseReplicationInfoResponsePB

message GetXClusterOutboundReplicationGroupInfoResponsePB.NamespaceInfoPB

master_replication.proto:777

Used in: GetXClusterOutboundReplicationGroupInfoResponsePB

message GetXClusterSafeTimeResponsePB.NamespaceSafeTimePB

master_replication.proto:534

Used in: GetXClusterSafeTimeResponsePB

message GetXClusterStreamsRequestPB.TableInfo

master_replication.proto:667

Used in: GetXClusterStreamsRequestPB

message GetXClusterStreamsResponsePB.TableInfo

master_replication.proto:681

Used in: GetXClusterStreamsResponsePB

message IdPairPB

master_backup.proto:179

ID mapping pair: old ID (object ID on external cluster) TO new ID (same object ID on this cluster)

Used in: ImportSnapshotMetaResponsePB.TableMetaPB

enum IdTypePB

master_replication.proto:117

Used in: ListCDCStreamsRequestPB

message ImportSnapshotMetaResponsePB.TableMetaPB

master_backup.proto:198

Per table IDs mapping (IDs on external cluster TO IDs on this cluster).

Used in: ImportSnapshotMetaResponsePB

enum ImportSnapshotMetaResponsePB.TableType

master_backup.proto:189

Used in: TableMetaPB

message IndexStatusPB

master_ddl.proto:348

Used in: GetBackfillStatusResponsePB

enum IndexStatusPB.BackfillStatus

master_ddl.proto:349

Used in: IndexStatusPB

message IsBootstrapRequiredResponsePB.TableResult

master_replication.proto:208

Used in: IsBootstrapRequiredResponsePB

message ListLiveTabletServersResponsePB.Entry

master_cluster.proto:62

Used in: ListLiveTabletServersResponsePB

message ListSnapshotsDetailOptionsPB

master_backup.proto:118

Used in: ListSnapshotsRequestPB

message ListTablesResponsePB.ColocatedInfo

master_ddl.proto:180

Used in: TableInfo

message ListTablesResponsePB.TableInfo

master_ddl.proto:185

Used in: ListTablesResponsePB

message ListTabletServersResponsePB.Entry

master_cluster.proto:43

Used in: ListTabletServersResponsePB

message MasterErrorPB

master_types.proto:60

Master specific errors use this protobuf.

Used in: AbortSnapshotRestoreResponsePB, AccessYsqlBackendsManagerTestRegisterResponsePB, AcquireObjectLocksGlobalResponsePB, AddNamespaceToXClusterReplicationResponsePB, AddTransactionStatusTabletResponsePB, AddUniverseKeysResponsePB, AlterNamespaceResponsePB, AlterRoleResponsePB, AlterTableResponsePB, AlterUniverseReplicationResponsePB, AreLeadersOnPreferredOnlyResponsePB, AreNodesSafeToTakeDownResponsePB, BackfillIndexResponsePB, BootstrapProducerResponsePB, ChangeEncryptionInfoResponsePB, ChangeLoadBalancerStateResponsePB, ChangeMasterClusterConfigResponsePB, ChangeXClusterRoleResponsePB, CheckIfPitrActiveResponsePB, CheckMasterTabletHealthResponsePB, CloneNamespaceResponsePB, CompactSysCatalogResponsePB, CreateCDCStreamResponsePB, CreateNamespaceResponsePB, CreateRoleResponsePB, CreateSnapshotResponsePB, CreateSnapshotScheduleResponsePB, CreateTableResponsePB, CreateTablegroupResponsePB, CreateTransactionStatusTableResponsePB, CreateUDTypeResponsePB, CreateXClusterReplicationResponsePB, DdlLogResponsePB, DeleteCDCStreamResponsePB, DeleteNamespaceResponsePB, DeleteNotServingTabletResponsePB, DeleteRoleResponsePB, DeleteSnapshotResponsePB, DeleteSnapshotScheduleResponsePB, DeleteTableResponsePB, DeleteTablegroupResponsePB, DeleteUDTypeResponsePB, DeleteUniverseReplicationResponsePB, DemoteSingleAutoFlagResponsePB, DisableDynamicTableAdditionOnCDCSDKStreamResponsePB, DisableTabletSplittingResponsePB, DumpMasterStateResponsePB, DumpSysCatalogEntriesResponsePB, EditSnapshotScheduleResponsePB, FinalizeYsqlMajorCatalogUpgradeResponsePB, FlushSysCatalogResponsePB, FlushTablesResponsePB, GetAutoFlagsConfigResponsePB, GetBackfillJobsResponsePB, GetBackfillStatusResponsePB, GetCDCDBStreamInfoResponsePB, GetCDCStreamResponsePB, GetColocatedTabletSchemaResponsePB, GetCompactionStatusResponsePB, GetFullUniverseKeyRegistryResponsePB, GetIndexBackfillProgressResponsePB, GetLoadBalancerStateResponsePB, GetLoadMovePercentResponsePB, GetMasterClusterConfigResponsePB, GetMasterHeartbeatDelaysResponsePB, GetMasterRegistrationResponsePB, GetMasterXClusterConfigResponsePB, GetNamespaceInfoResponsePB, GetPermissionsResponsePB, GetReplicationStatusResponsePB, GetStatefulServiceLocationResponsePB, GetTableDiskSizeResponsePB, GetTableLocationsResponsePB, GetTableSchemaFromSysCatalogResponsePB, GetTableSchemaResponsePB, GetTablegroupSchemaResponsePB, GetTabletLocationsResponsePB, GetTransactionStatusTabletsResponsePB, GetUDTypeInfoResponsePB, GetUDTypeMetadataResponsePB, GetUniverseKeyRegistryResponsePB, GetUniverseReplicationInfoResponsePB, GetUniverseReplicationResponsePB, GetUniverseReplicationsResponsePB, GetXClusterOutboundReplicationGroupInfoResponsePB, GetXClusterOutboundReplicationGroupsResponsePB, GetXClusterSafeTimeForNamespaceResponsePB, GetXClusterSafeTimeResponsePB, GetXClusterStreamsResponsePB, GetYsqlCatalogConfigResponsePB, GetYsqlMajorCatalogUpgradeStateResponsePB, GrantRevokePermissionResponsePB, GrantRevokeRoleResponsePB, HasUniverseKeyInMemoryResponsePB, ImportSnapshotMetaResponsePB, InsertHistoricalColocatedSchemaPackingResponsePB, InsertPackedSchemaForXClusterTargetResponsePB, IsAlterTableDoneResponsePB, IsAlterXClusterReplicationDoneResponsePB, IsBootstrapRequiredResponsePB, IsCreateNamespaceDoneResponsePB, IsCreateTableDoneResponsePB, IsCreateXClusterReplicationDoneResponsePB, IsDeleteNamespaceDoneResponsePB, IsDeleteTableDoneResponsePB, IsEncryptionEnabledResponsePB, IsFlushTablesDoneResponsePB, IsInitDbDoneResponsePB, IsLoadBalancedResponsePB, IsLoadBalancerIdleResponsePB, IsMasterLeaderReadyResponsePB, IsObjectPartOfXReplResponsePB, IsSetupNamespaceReplicationWithBootstrapDoneResponsePB, IsSetupUniverseReplicationDoneResponsePB, IsTabletSplittingCompleteResponsePB, IsTruncateTableDoneResponsePB, IsXClusterBootstrapRequiredResponsePB, IsYsqlDdlVerificationDoneResponsePB, IsYsqlMajorCatalogUpgradeDoneResponsePB, LaunchBackfillIndexForTableResponsePB, ListCDCStreamsResponsePB, ListClonesResponsePB, ListLiveTabletServersResponsePB, ListMasterRaftPeersResponsePB, ListMastersResponsePB, ListNamespacesResponsePB, ListSnapshotSchedulesResponsePB, ListSnapshotsResponsePB, ListTablegroupsResponsePB, ListTablesResponsePB, ListTabletServersResponsePB, ListUDTypesResponsePB, PauseResumeXClusterProducerStreamsResponsePB, PromoteAutoFlagsResponsePB, PromoteSingleAutoFlagResponsePB, RedisConfigGetResponsePB, RedisConfigSetResponsePB, RefreshYsqlLeaseResponsePB, ReleaseObjectLocksGlobalResponsePB, RemoveTablesFromCDCSDKStreamResponsePB, RemoveTabletServerResponsePB, RemoveUserTableFromCDCSDKStreamResponsePB, RemovedMasterUpdateResponsePB, RepairOutboundXClusterReplicationGroupAddTableResponsePB, RepairOutboundXClusterReplicationGroupRemoveTableResponsePB, ReportYsqlDdlTxnStatusResponsePB, ReservePgsqlOidsResponsePB, RestoreSnapshotResponsePB, RestoreSnapshotScheduleResponsePB, RollbackAutoFlagsResponsePB, RollbackYsqlMajorCatalogVersionResponsePB, SetPreferredZonesResponsePB, SetUniverseReplicationEnabledResponsePB, SetupNamespaceReplicationWithBootstrapResponsePB, SetupUniverseReplicationResponsePB, SplitTabletResponsePB, StartYsqlMajorCatalogUpgradeResponsePB, TSHeartbeatResponsePB, TestRetryResponsePB, TruncateTableResponsePB, UpdateCDCStreamResponsePB, UpdateConsumerOnProducerMetadataResponsePB, UpdateConsumerOnProducerSplitResponsePB, ValidateAndSyncCDCStateEntriesForCDCSDKStreamResponsePB, ValidateAutoFlagsConfigResponsePB, ValidateReplicationInfoResponsePB, WaitForReplicationDrainResponsePB, WaitForYsqlBackendsCatalogVersionResponsePB, WriteSysCatalogEntryResponsePB, XClusterAddNamespaceToOutboundReplicationGroupResponsePB, XClusterCreateOutboundReplicationGroupResponsePB, XClusterDeleteOutboundReplicationGroupResponsePB, XClusterEnsureSequenceUpdatesAreInWalResponsePB, XClusterRemoveNamespaceFromOutboundReplicationGroupResponsePB, XClusterReportNewAutoFlagConfigVersionResponsePB, YsqlBackfillReplicationSlotNameToCDCSDKStreamResponsePB

enum MasterErrorPB.Code

master_types.proto:61

Used in: MasterErrorPB

message MasterRestorationMetadataPB

master_backup.proto:93

Used in: SysRestorationEntryPB

message NamespaceIdentifierPB

master_types.proto:173

Used in: AlterNamespaceRequestPB, AlterTableRequestPB, AlterUniverseReplicationRequestPB, CloneNamespaceRequestPB, CreateTableRequestPB, CreateUDTypeRequestPB, DeleteNamespaceRequestPB, GetNamespaceInfoRequestPB, GetNamespaceInfoResponsePB, GetUDTypeMetadataRequestPB, GrantRevokePermissionRequestPB, IsCreateNamespaceDoneRequestPB, IsDeleteNamespaceDoneRequestPB, ListNamespacesResponsePB, ListTablesRequestPB, ListTablesResponsePB.TableInfo, ListUDTypesRequestPB, SetupNamespaceReplicationWithBootstrapRequestPB, SetupUniverseReplicationRequestPB, TableIdentifierPB, UDTypeIdentifierPB, UDTypeInfoPB

message PgAttributePB

master_replication.proto:232

Used in: PgCompositeInfoPB

message PgCompositeInfoPB

master_replication.proto:255

Used in: GetUDTypeMetadataResponsePB

message PgEnumInfoPB

master_replication.proto:225

Used in: GetUDTypeMetadataResponsePB

message ProducerSplitTabletInfoPB

master_replication.proto:426

Used in: UpdateConsumerOnProducerSplitRequestPB

message RefreshYsqlLeaseInfoPB

master_ddl.proto:809

Used in: RefreshYsqlLeaseResponsePB

enum RelationType

master_types.proto:23

Used in: ListTablesRequestPB, ListTablesResponsePB.TableInfo

message ReplicationStatusErrorPB

master_replication.proto:453

Used in: ReplicationStatusPB

message ReplicationStatusPB

master_replication.proto:458

Used in: GetReplicationStatusResponsePB

message ReportedTabletPB

master_heartbeat.proto:38

Used in: TabletReportPB

message ReportedTabletUpdatesPB

master_heartbeat.proto:143

Used in: TabletReportUpdatesPB

message ResourcePermissionInfoPB

master_dcl.proto:103

Used in: RolePermissionInfoPB

message ResourcePermissionsPB

catalog_entity_info.proto:457

Used in: SysRoleEntryPB

message ResourcesPB

master_types.proto:195

Used in: SysTabletServerEntryPB, TSRegistrationPB

message RestorationInfoPB

master_backup.proto:112

Used in: ListSnapshotRestorationsResponsePB

message RolePermissionInfoPB

master_dcl.proto:109

Used in: GetPermissionsResponsePB

message SchemaVersionMappingEntryPB

catalog_entity_info.proto:738

message SchemaVersionMappingPB

catalog_entity_info.proto:728

Used in: ColocatedSchemaVersionMappingPB, SchemaVersionMappingEntryPB

enum SetupReplicationWithBootstrapStatePB

master_replication.proto:270

message SnapshotInfoPB

master_backup.proto:68

Used in: ImportSnapshotMetaRequestPB, ListSnapshotsResponsePB, SnapshotScheduleInfoPB

message SnapshotScheduleFilterPB

master_backup.proto:213

Used in: SnapshotScheduleOptionsPB

message SnapshotScheduleInfoPB

master_backup.proto:242

Used in: EditSnapshotScheduleResponsePB, ListSnapshotSchedulesResponsePB

message SnapshotScheduleOptionsPB

master_backup.proto:219

Used in: CreateSnapshotScheduleRequestPB, SnapshotScheduleInfoPB

message StatefulServiceInfoPB

master_client.proto:234

Used in: GetStatefulServiceLocationResponsePB

message SysCDCStreamEntryPB

catalog_entity_info.proto:594

The data part of a SysRowEntry in the sys.catalog table for a CDC stream.

Used in: UpdateCDCStreamRequestPB, UpdateCDCStreamRequestPB.StreamUpdateInfo

enum SysCDCStreamEntryPB.State

catalog_entity_info.proto:595

Used in: CreateCDCStreamRequestPB, SysCDCStreamEntryPB

message SysCatalogEntryDumpPB

master_admin.proto:288

Used in: DumpSysCatalogEntriesResponsePB

message SysCloneStatePB

catalog_entity_info.proto:692

Used in: ListClonesResponsePB

enum SysCloneStatePB.State

catalog_entity_info.proto:702

State for clone operation. CLONE_SCHEMA_STARTED: Initial state. CLONE_SCHEMA_STARTED --> CREATING: Once DB objects have been created by ysql_dump (YSQL) or ImportSnapshot (YCQL). Clone tablet RPCs are scheduled for all tablets. CREATING --> RESTORING: All tablets in clone namespace are created and in a running state. Restore snapshot is issued. RESTORING --> COMPLETE (YCQL): Restore snapshot completed and DB is ready to be accessed. RESTORING --> RESTORED (YSQL): Restore snapshot completed. RESTORED --> COMPLETE (YSQL): DB is ready to be accessed.

Used in: SysCloneStatePB

message SysClusterConfigEntryPB

catalog_entity_info.proto:392

The on-disk entry in the sys.catalog table for configuration information that are relevant to the entire cluster. This has a version entry that is used for ensuring that client read-modify-writes are valid.

Used in: ChangeMasterClusterConfigRequestPB, GetMasterClusterConfigResponsePB

message SysConfigEntryPB

catalog_entity_info.proto:534

Various cluster configuration.

message SysNamespaceEntryPB

catalog_entity_info.proto:282

The data part of a SysRowEntry in the sys.catalog table for a namespace.

There are significant differences between the state machines for YSQL vs non-YSQL. The additional complexity for YSQL is due to the amount of work required for database creation and deletion, requiring async tasks and additional states.

enum SysNamespaceEntryPB.State

catalog_entity_info.proto:303

During the deletion flow a non-YSQL namespace is removed from the maps and sys catalog table directly instead of transitioning to any deletion states.

Used in: SysNamespaceEntryPB

enum SysNamespaceEntryPB.YsqlNextMajorVersionState

catalog_entity_info.proto:345

During a YSQL major version upgrade, for example from PG11 to PG15, we use the existing namespace entry for both the old and new versions' namespace. However, PG's upgrade process is normally run on a clean unused system, and it does DROP DATABASE and CREATE DATABASE there in order to fully restore the properties of the database. In YB, we simulate PG's environment, by using a separate state for the new major version. NEXT_VER_RUNNING is the initial state. NEXT_VER_RUNNING -> NEXT_VER_DELETING - deletion requested. NEXT_VER_DELETING -> NEXT_VER_DELETED - happy path of deletion. NEXT_VER_DELETING -> NEXT_VER_FAILED - unhappy path of deletion. NEXT_VER_DELETED -> NEXT_VER_RUNNING - re-populated. TODO: Change the initial state to something other than NEXT_VER_RUNNING. Be sure it makes sense for multiple upgrades (e.g., a system that went from PG11 -> PG15 -> PG17). Therefore it may need to be changed from NEXT_VER_RUNNING at some point after the upgrade.

Used in: SysNamespaceEntryPB

message SysObjectLockEntryPB

catalog_entity_info.proto:409

message SysObjectLockEntryPB.LeaseInfoPB

catalog_entity_info.proto:431

Used in: SysObjectLockEntryPB

message SysObjectLockEntryPB.LockTypesPB

catalog_entity_info.proto:410

Used in: ObjectLocksMapPB

message SysObjectLockEntryPB.ObjectLocksMapPB

catalog_entity_info.proto:411

Used in: SubtxnDBMapPB

message SysObjectLockEntryPB.SubtxnDBMapPB

catalog_entity_info.proto:415

Used in: TransactionSubtxnMapPB

message SysObjectLockEntryPB.TransactionSubtxnMapPB

catalog_entity_info.proto:420

Used in: SysObjectLockEntryPB

message SysRedisConfigEntryPB

catalog_entity_info.proto:452

The data part of a SysRowEntry in the sys.catalog table for Redis Config.

message SysRestorationEntryPB

master_backup.proto:98

Used in: RestorationInfoPB

message SysRoleEntryPB

catalog_entity_info.proto:465

message SysRowEntries

catalog_entity_info.proto:564

message SysRowEntry

catalog_entity_info.proto:545

The actual on disk abstract representation of a row in the sys catalog. This has to respect the fixed schema of the catalog. In case of changes to the schema, this proto must reflect them.

Used in: BackupRowEntryPB, SysRowEntries, SysSnapshotEntryPB

enum SysRowEntryType

master_types.proto:31

Used in: DumpSysCatalogEntriesRequestPB, MasterRestorationMetadataPB, SysCatalogEntryDumpPB, SysRowEntry, WriteSysCatalogEntryRequestPB

message SysSecurityConfigEntryPB

catalog_entity_info.proto:475

Cluster security configuration.

Used in: SysConfigEntryPB

message SysSnapshotEntryPB

catalog_entity_info.proto:638

The on-disk entry in the sys.catalog table ("metadata" column) for snapshots entries.

Used in: SnapshotInfoPB

enum SysSnapshotEntryPB.State

catalog_entity_info.proto:639

Used in: SysRestorationEntryPB, SysSnapshotEntryPB, TabletSnapshotPB, TabletRestorationPB

message SysSnapshotEntryPB.TabletSnapshotPB

catalog_entity_info.proto:656

Used in: SysSnapshotEntryPB

message SysTablesEntryPB

catalog_entity_info.proto:60

The on-disk entry in the sys.catalog table ("metadata" column) for tables entries.

enum SysTablesEntryPB.HideState

catalog_entity_info.proto:70

Used in: SysTablesEntryPB

enum SysTablesEntryPB.State

catalog_entity_info.proto:61

Used in: ListTablesResponsePB.TableInfo, SysTablesEntryPB

message SysTablesEntryPB.XClusterTableInfo

catalog_entity_info.proto:186

Used in: SysTablesEntryPB

message SysTabletServerEntryPB

catalog_entity_info.proto:986

enum SysTabletServerEntryPB.State

catalog_entity_info.proto:990

Used in: SysTabletServerEntryPB

message SysTabletsEntryPB

catalog_entity_info.proto:209

The on-disk entry in the sys.catalog table ("metadata" column) for tablets entries.

enum SysTabletsEntryPB.State

catalog_entity_info.proto:212

Used in: SysTabletsEntryPB

message SysTransactionTablesConfigEntryPB

catalog_entity_info.proto:527

Metadata about the current state of transaction tables.

Used in: SysConfigEntryPB

message SysUDTypeEntryPB

catalog_entity_info.proto:361

The data part of a SysRowEntry in the sys.catalog table for a User Defined Type.

message SysUniverseReplicationBootstrapEntryPB

catalog_entity_info.proto:825

The data part of a SysRowEntry in the sys.catalog table for a universe replication record.

message SysUniverseReplicationBootstrapEntryPB.IdPairPB

catalog_entity_info.proto:873

The following PBs are used to represent the newly created objects during CatalogManager::ImportSnapshotMeta. Specifically, these are all the required fields used in CatalogManager::DeleteNewSnapshotObjects. We store these PBs in case we need to cleanup on failure.

Used in: NamespaceDataPB, TableDataPB, UDTypeDataPB

message SysUniverseReplicationBootstrapEntryPB.NamespaceDataPB

catalog_entity_info.proto:889

Used in: NewSnapshotObjectsPB

message SysUniverseReplicationBootstrapEntryPB.NewSnapshotObjectsPB

catalog_entity_info.proto:895

Used in: SysUniverseReplicationBootstrapEntryPB

enum SysUniverseReplicationBootstrapEntryPB.State

catalog_entity_info.proto:826

Used in: IsSetupNamespaceReplicationWithBootstrapDoneResponsePB, SysUniverseReplicationBootstrapEntryPB

message SysUniverseReplicationBootstrapEntryPB.TableDataPB

catalog_entity_info.proto:878

Used in: NewSnapshotObjectsPB

message SysUniverseReplicationBootstrapEntryPB.UDTypeDataPB

catalog_entity_info.proto:884

Used in: NewSnapshotObjectsPB

message SysUniverseReplicationEntryPB

catalog_entity_info.proto:744

The data part of a SysRowEntry in the sys.catalog table for a universe replication record.

Used in: GetUniverseReplicationResponsePB

message SysUniverseReplicationEntryPB.DBScopeInfo

catalog_entity_info.proto:795

DB Scoped repication.

Used in: SysUniverseReplicationEntryPB

message SysUniverseReplicationEntryPB.DBScopeInfo.HistoricalSchemaPackingPB

catalog_entity_info.proto:804

Used in: TargetNamespaceInfoPB

message SysUniverseReplicationEntryPB.DBScopeInfo.NamespaceInfo

catalog_entity_info.proto:798

Used in: DBScopeInfo

message SysUniverseReplicationEntryPB.DBScopeInfo.TargetNamespaceInfoPB

catalog_entity_info.proto:807

Used in: DBScopeInfo

enum SysUniverseReplicationEntryPB.State

catalog_entity_info.proto:745

Used in: SysUniverseReplicationEntryPB

message SysXClusterConfigEntryPB

catalog_entity_info.proto:444

Used in: GetMasterXClusterConfigResponsePB

message SysXClusterOutboundReplicationGroupEntryPB

catalog_entity_info.proto:935

message SysXClusterOutboundReplicationGroupEntryPB.NamespaceInfoPB

catalog_entity_info.proto:936

Used in: SysXClusterOutboundReplicationGroupEntryPB

enum SysXClusterOutboundReplicationGroupEntryPB.NamespaceInfoPB.State

catalog_entity_info.proto:937

Used in: NamespaceInfoPB

message SysXClusterOutboundReplicationGroupEntryPB.NamespaceInfoPB.TableInfoPB

catalog_entity_info.proto:944

Used in: NamespaceInfoPB

enum SysXClusterOutboundReplicationGroupEntryPB.State

catalog_entity_info.proto:977

Used in: SysXClusterOutboundReplicationGroupEntryPB

message SysXClusterOutboundReplicationGroupEntryPB.TargetUniverseInfoPB

catalog_entity_info.proto:962

Used in: SysXClusterOutboundReplicationGroupEntryPB

enum SysXClusterOutboundReplicationGroupEntryPB.TargetUniverseInfoPB.State

catalog_entity_info.proto:965

Used in: TargetUniverseInfoPB

message SysYSQLCatalogConfigEntryPB

catalog_entity_info.proto:507

Metadata about the YSQL catalog (current only version).

Used in: SysConfigEntryPB

message TSHeartbeatResponsePB.XClusterHeartbeatInfo

master_heartbeat.proto:343

Used in: TSHeartbeatResponsePB

message TSInfoPB

master_client.proto:33

Info about a single tablet server, returned to the client as part of the GetTabletLocations response. This can be used on the client to update the local cache of where each TS UUID is located. In the future we may also want to transmit software version info, load info, topology, etc.

Used in: TabletLocationsPB.ReplicaPB

message TSInformationPB

master_heartbeat.proto:155

Used in: TSHeartbeatResponsePB

message TSRegistrationPB

master_types.proto:204

Sent by the TS when it first heartbeats with a master. This sends the master all of the necessary information about the current instance of the TS.

Used in: ListLiveTabletServersResponsePB.Entry, ListTabletServersResponsePB.Entry, TSHeartbeatRequestPB, TSInformationPB

message TSSnapshotRestorationInfoPB

master_heartbeat.proto:165

Used in: TSSnapshotsInfoPB

message TSSnapshotScheduleInfoPB

master_heartbeat.proto:160

Used in: TSSnapshotsInfoPB

message TSSnapshotsInfoPB

master_heartbeat.proto:171

Used in: TSHeartbeatResponsePB

message TSToMasterCommonPB

master_heartbeat.proto:33

Common information sent with every request from the tablet server to the master.

Used in: TSHeartbeatRequestPB

message TServerMetricsPB

master_types.proto:216

Used in: ListTabletServersResponsePB.Entry, TSHeartbeatRequestPB

message TServerMetricsPB.PathMetrics

master_types.proto:225

Used in: TServerMetricsPB

message TableIdentifierPB

master_types.proto:184

Used in: AlterTableRequestPB, BackfillIndexRequestPB, BackfillIndexResponsePB, CreateSnapshotRequestPB, DeleteTableRequestPB, DeleteTableResponsePB, FlushTablesRequestPB, GetBackfillJobsRequestPB, GetBackfillStatusRequestPB, GetColocatedTabletSchemaRequestPB, GetCompactionStatusRequestPB, GetTableDiskSizeRequestPB, GetTableLocationsRequestPB, GetTableSchemaFromSysCatalogRequestPB, GetTableSchemaRequestPB, GetTableSchemaResponsePB, IndexStatusPB, IsAlterTableDoneRequestPB, IsCreateTableDoneRequestPB, LaunchBackfillIndexForTableRequestPB, TableIdentifiersPB, tserver.PgDropTableResponsePB

message TableIdentifiersPB

master_backup.proto:209

Used in: SnapshotScheduleFilterPB

message TablegroupIdentifierPB

master_ddl.proto:29

Used in: GetTablegroupSchemaRequestPB, ListTablegroupsResponsePB

message TabletDriveStorageMetadataPB

master_heartbeat.proto:101

Used in: TSHeartbeatRequestPB

message TabletForSplitPB

master_heartbeat.proto:95

message TabletLeaderMetricsPB

master_heartbeat.proto:109

Used in: TSHeartbeatRequestPB

message TabletLocationsPB

master_client.proto:48

Used in: cdc.TabletCheckpointPair, GetTableLocationsResponsePB, GetTabletLocationsResponsePB

message TabletLocationsPB.ReplicaPB

master_client.proto:49

Used in: TabletLocationsPB

message TabletReplicaFullCompactionStatus

master_admin.proto:80

Used in: GetCompactionStatusResponsePB

message TabletReportPB

master_heartbeat.proto:64

Sent by the tablet server to report the set of tablets hosted by that TS.

Used in: TSHeartbeatRequestPB

message TabletReportUpdatesPB

master_heartbeat.proto:149

Sent by the Master in response to the TS tablet report (part of the heartbeats)

Used in: TSHeartbeatResponsePB

message TabletRestorationPB

master_backup.proto:88

Used in: SysRestorationEntryPB

message UDTypeIdentifierPB

master_ddl.proto:40

Used in: DeleteUDTypeRequestPB, GetUDTypeInfoRequestPB

message UDTypeInfoPB

master_ddl.proto:51

Used in: GetUDTypeInfoResponsePB, ListUDTypesResponsePB

message UpdateCDCStreamRequestPB.StreamUpdateInfo

master_replication.proto:172

Used in: UpdateCDCStreamRequestPB

message WaitForReplicationDrainResponsePB.UndrainedStreamInfoPB

master_replication.proto:476

Metadata regarding replication status of a stream set up on a tablet.

Used in: WaitForReplicationDrainResponsePB

enum WriteSysCatalogEntryRequestPB.WriteOp

master_admin.proto:304

Used in: WriteSysCatalogEntryRequestPB

message XClusterConsumerReplicationStatusPB

master_heartbeat.proto:127

Used in: TSHeartbeatRequestPB

message XClusterConsumerStreamTabletStatusPB

master_heartbeat.proto:116

Used in: XClusterConsumerTableStatusPB

message XClusterConsumerTableStatusPB

master_heartbeat.proto:122

Used in: XClusterConsumerReplicationStatusPB

enum XClusterSafeTimeFilter

master_replication.proto:546

Used in: GetXClusterSafeTimeForNamespaceRequestPB

message XClusterSafeTimePB

catalog_entity_info.proto:818

message YSQLLeaseInfoPB

master_types.proto:235

Used in: ListTabletServersResponsePB.Entry

message YsqlCatalogInvalMessagesPB

master_heartbeat.proto:184

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 YsqlDdlTxnVerifierStatePB

catalog_entity_info.proto:49

Used in: GetTableSchemaResponsePB, SysTablesEntryPB

message YsqlMajorCatalogUpgradeInfoPB

catalog_entity_info.proto:482

Used in: SysYSQLCatalogConfigEntryPB

enum YsqlMajorCatalogUpgradeInfoPB.State

catalog_entity_info.proto:483

Used in: YsqlMajorCatalogUpgradeInfoPB

enum YsqlMajorCatalogUpgradeState

master_admin.proto:208

Used in: GetYsqlMajorCatalogUpgradeStateResponsePB