package
0.0.0-20240828030039-78c4ba100686
Repository: https://github.com/yugabyte/yb-tools.git
Documentation: pkg.go.dev

# Constants

No description provided by the author
TODO(KUDU-861): this will subsume RENAME_COLUMN, but not yet implemented on the master side.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Default values for AlterTableRequestPB fields.
Default values for AlterTableRequestPB_Step fields.
Default values for CreateNamespaceRequestPB fields.
Default values for CreateNamespaceRequestPB fields.
Default values for CreateTableRequestPB fields.
Default values for CreateTableRequestPB fields.
Default values for CreateTableRequestPB fields.
Default values for CreateTableRequestPB fields.
Default values for CreateTableRequestPB fields.
Default values for CreateTableRequestPB fields.
Default values for CreateTableRequestPB fields.
Default values for CreateTableRequestPB fields.
Default values for DeleteNamespaceRequestPB fields.
Default values for DeleteTableRequestPB fields.
Default values for DumpMasterStateRequestPB fields.
Default values for DumpMasterStateRequestPB fields.
Default values for DumpMasterStateRequestPB fields.
Default values for GetTableLocationsRequestPB fields.
Default values for GetTableSchemaResponsePB fields.
Default values for GrantRevokePermissionRequestPB fields.
Default values for GrantRevokeRoleRequestPB fields.
Default values for ListNamespacesRequestPB fields.
Default values for ListTablesRequestPB fields.
Default values for ListTablesResponsePB_TableInfo fields.
Default values for ListTabletServersRequestPB fields.
Default values for NamespaceIdentifierPB fields.
Default values for ReportedTabletPB fields.
Default values for ReportedTabletPB fields.
Default values for SysCDCStreamEntryPB fields.
Default values for SysNamespaceEntryPB fields.
Default values for SysNamespaceEntryPB fields.
Default values for SysNamespaceEntryPB fields.
Default values for SysTablesEntryPB fields.
Default values for SysTablesEntryPB fields.
Default values for SysTablesEntryPB fields.
Default values for SysTablesEntryPB fields.
Default values for SysTablesEntryPB fields.
Default values for SysTablesEntryPB fields.
Default values for SysTablesEntryPB fields.
Default values for SysTabletsEntryPB fields.
Default values for SysTabletsEntryPB fields.
Default values for SysUniverseReplicationEntryPB fields.
Default values for TabletReportUpdatesPB fields.
Default values for TSHeartbeatResponsePB fields.
Default values for TSHeartbeatResponsePB fields.
Indicator to client that the are leaders on preferred only operation can be retried.
Indicator to client that the load balance operation can be retried.
Catalog manager is not yet initialized.
Change config should always be issued with the latest config version set.
If there is an operation in progress causing the current rpc to be in an indeterminate state, we return this error code.
No description provided by the author
Client set some fields incorrectly in the cluster config proto.
No description provided by the author
The schema provided for a request was not well-formed.
Client set some fields in the table replication info incorrectly.
Snapshot related errors.
No description provided by the author
Indicator to client that load balancer was recently active.
No description provided by the author
No description provided by the author
Invalid namespace name or id for the namespace operation.
No description provided by the author
No description provided by the author
The operation attempted can only be invoked against either the leader or a single non-distributed master, which this node isn't.
The name requested for the table or index is already in use.
The requested table or index does not exist.
No description provided by the author
No description provided by the author
No description provided by the author
The number of replicas requested is greater than the number of live servers in the cluster.
Roles and permissions errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The number of tablets requested for a new table is over the per TS limit.
No description provided by the author
Invalid (User-Defined) Type operation.
An error which has no more specific error code.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Currently DELETED is not being used because we delete streams entries from sys catalog.
No description provided by the author
Delete Finished on TServers or Tombstone.
Delete Requested.
Creation Failed.
Creating.
Live.
Unset or bad data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Active.
Deleted.
Error while cleaning up state of deleted entry.
Disabled.
Failed.
Setting up replication.
Validated table schemas.

# Variables

Enum value maps for AlterTableRequestPB_StepType.
Enum value maps for AlterTableRequestPB_StepType.
Enum value maps for BackfillJobPB_State.
Enum value maps for BackfillJobPB_State.
No description provided by the author
Enum value maps for MasterErrorPB_Code.
Enum value maps for MasterErrorPB_Code.
Enum value maps for RelationType.
Enum value maps for RelationType.
Enum value maps for SysCDCStreamEntryPB_State.
Enum value maps for SysCDCStreamEntryPB_State.
Enum value maps for SysNamespaceEntryPB_State.
Enum value maps for SysNamespaceEntryPB_State.
Enum value maps for SysRowEntry_Type.
Enum value maps for SysRowEntry_Type.
Enum value maps for SysTablesEntryPB_State.
Enum value maps for SysTablesEntryPB_State.
Enum value maps for SysTabletsEntryPB_State.
Enum value maps for SysTabletsEntryPB_State.
Enum value maps for SysUniverseReplicationEntryPB_State.
Enum value maps for SysUniverseReplicationEntryPB_State.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
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.
No description provided by the author
Options for CDC stream.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
============================================================================ Namespace (default namespace = ANY placement) ============================================================================ Database type is added to metadata entries such that PGSQL clients cannot delete or connect to CQL database_type and vice versa.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Create table request (including index table).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Database type is added to metadata entries such that PGSQL clients cannot delete or connect to CQL database_type and vice versa.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Delete table request (including index table).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Make the masters dump all their in-memory and on-disk state to their respective log files.
No description provided by the author
No description provided by the author
TODO: rename to FlushOrCompact TablesRequestPB https://github.com/YugaByte/yugabyte-db/issues/729.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Get the percentage of tablet leadership that got moved as part of a leader blacklist config change.
No description provided by the author
No description provided by the author
Get the percentage of tablet data that got moved as part of a blacklist config change.
When no errors, the percent reflects the progress of load removal from the blacklisted tservers.
No description provided by the author
No description provided by the author
GetMasterRegistrationRequest/Response: get the instance id and HTTP/RPC addresses for this Master server.
TODO: Just use ServerRegistration here.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
When no errors, the master leader will have balanced all the load across the live tservers.
No description provided by the author
Is load balancer idle.
When no errors, load balancer is idle.
Get a master's notion being ready as the leader.
When no errors, the master will be deemed ready as per its catalog manager layer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ListMasterRaftPeersRequest/Response: get information about all of the known servers which are part of this master's version of the currently active Raft quorum.
No description provided by the author
ListMastersRequest/Response: get information about all of the known master servers, including this node from the in-memory options.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ListTabletServersResponsePB_Entry
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Master specific errors use this protobuf.
No description provided by the author
No description provided by the author
This represents one instance of a placement constraint for a table.
This keeps track of the set of PlacementBlockPBs defining the placement requirements for a certain table.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Update an ex-peer about its removal from the cluster.
No description provided by the author
Higher level structure to keep track of all types of replicas configured.
No description provided by the author
No description provided by the author
Reserve Postgres oid.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The data part of a SysRowEntry in the sys.catalog table for a CDC stream.
The on-disk entry in the sys.catalog table for configuration vinformation that are relevant to the entire cluster.
Various cluster configuration.
No description provided by the author
No description provided by the author
The data part of a SysRowEntry in the sys.catalog table for a namespace.
The data part of a SysRowEntry in the sys.catalog table for Redis Config.
No description provided by the author
No description provided by the author
The actual on disk abstract representation of a row in the sys catalog.
Cluster security configuration.
The on-disk entry in the sys.catalog table ("metadata" column) for tables entries.
The on-disk entry in the sys.catalog table ("metadata" column) for tablets entries.
The data part of a SysRowEntry in the sys.catalog table for a User Defined Type.
The data part of a SysRowEntry in the sys.catalog table for a universe replication record.
Metadata about the YSQL catalog (current only version).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Sent by the tablet server to report the set of tablets hosted by that TS.
Sent by the Master in response to the TS tablet report (part of the heartbeats).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Heartbeat sent from the tablet-server to the master to establish liveness and report back any status changes.
No description provided by the author
Info about a single tablet server, returned to the client as part of the GetTabletLocations response.
No description provided by the author
Sent by the TS when it first heartbeats with a master.
No description provided by the author
No description provided by the author
Common information sent with every request from the tablet server to the master.
No description provided by the author
No description provided by the author

# Interfaces

service: yb.master.MasterService service: MasterService.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author