package yb.consensus

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

service ConsensusService

consensus.proto:625

A Raft implementation.

message ChangeAutoFlagsConfigOpResponsePB

consensus.proto:596

message ChangeConfigRecordPB

consensus.proto:64

A configuration change request for the tablet with 'tablet_id'. This message is dynamically generated by the leader when AddServer() or RemoveServer() is called, and is what gets replicated to the log.

Used in: ReplicateMsg

enum ChangeConfigType

consensus_types.proto:21

Used in: ChangeConfigRequestPB

message ClientReplicatedRetryableRequestRangesPB

consensus.proto:609

Used in: TabletBootstrapStatePB

enum ConsensusConfigType

metadata.proto:79

Used in: GetConsensusStateRequestPB

message ConsensusErrorPB

consensus_types.proto:58

Consensus-specific errors use this protobuf

Used in: ConsensusStatusPB, VoteResponsePB

enum ConsensusErrorPB.Code

consensus_types.proto:63

The codes for consensus responses. These are set in the status when some consensus internal error occurs and require special handling by the caller. A generic error code is purposefully absent since generic errors should use tserver.TabletServerErrorPB.

Used in: ConsensusErrorPB

message ConsensusMetadataPB

metadata.proto:145

This PB is used to serialize all of the persistent state needed for Consensus that is not in the WAL, such as leader election and communication on startup.

message ConsensusRequestPB

consensus.proto:303

A consensus request message, the basic unit of a consensus round.

Used as request type in: ConsensusService.UpdateConsensus

Used as field type in: MultiRaftConsensusRequestPB

message ConsensusResponsePB

consensus.proto:362

Used as response type in: ConsensusService.UpdateConsensus

Used as field type in: MultiRaftConsensusResponsePB

message ConsensusStatePB

metadata.proto:109

Represents a snapshot of a configuration at a given moment in time.

Used in: GetConsensusStateResponsePB, master.ReportedTabletPB, master.SysTabletsEntryPB, tserver.BeginRemoteBootstrapSessionResponsePB, tserver.TabletConsensusInfoPB

message ConsensusStatusPB

consensus.proto:196

Status message received in the peer responses.

Used in: ConsensusResponsePB, VoteRequestPB

enum DriverType

consensus.proto:55

The transaction driver type: indicates whether a transaction is being executed on a leader or a replica.

message HistoryCutoffPB

consensus.proto:120

Required by HistoryCutoffOperation.

Used in: ReplicateMsg

enum LeaderLeaseStatus

consensus_types.proto:34

Used in: GetConsensusStateResponsePB, master.TabletLeaderMetricsPB

message NoOpRequestPB

consensus.proto:177

NoOp requests, mostly used in tests.

Used in: ReplicateMsg

message NoOpResponsePB

consensus.proto:183

NoOp responses, mostly used in tests.

enum OpIdType

consensus_types.proto:28

Used in: GetLastOpIdRequestPB

message OperationStatusPB

consensus.proto:397

A message reflecting the status of an in-flight transaction.

enum OperationType

consensus_types.proto:42

The types of operations that need a commit message, i.e. those that require at least one round of the consensus algorithm.

Used in: GetLastOpIdRequestPB, OperationStatusPB, ReplicateMsg

enum PeerMemberType

metadata.proto:45

Used in: RaftPeerPB, master.TabletLocationsPB.ReplicaPB

message PerOpErrorPB

consensus.proto:188

message RaftConfigPB

metadata.proto:94

A set of peers, serving a single tablet.

Used in: ChangeConfigRecordPB, ConsensusMetadataPB, ConsensusStatePB, UnsafeChangeConfigRequestPB, master.TSHeartbeatResponsePB, tserver.CreateTabletRequestPB

message RaftPeerPB

metadata.proto:67

A peer in a configuration.

Used in: ChangeConfigRequestPB, RaftConfigPB, master.ListMasterRaftPeersResponsePB

message ReplicateMsg

consensus.proto:135

A Replicate message, sent to replicas by leader to indicate this operation must be stored in the write-ahead log.

The Raft operation ID (term and index) being replicated.

Used in: ConsensusRequestPB, log.LogEntryPB

message ReplicatedRetryableRequestRangePB

consensus.proto:601

Retryable requests.

Used in: ClientReplicatedRetryableRequestRangesPB

message TabletBootstrapStatePB

consensus.proto:615