package eraftpb

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

message ConfChange

eraftpb.proto:104

ConfChange is the data that attach on entry with EntryConfChange type

enum ConfChangeType

eraftpb.proto:98

Used in: ConfChange, raft_cmdpb.ChangePeerRequest, schedulerpb.ChangePeer

message ConfState

eraftpb.proto:93

ConfState contains the current membership information of the raft group

Used in: SnapshotMetadata

message Entry

eraftpb.proto:19

The entry is a type of change that needs to be applied. It contains two data fields. While the fields are built into the model; their usage is determined by the entry_type. For normal entries, the data field should contain the data change that should be applied. The context field can be used for any contextual data that might be relevant to the application of the data. For configuration changes, the data will contain the ConfChange message and the context will provide anything needed to assist the configuration change. The context is for the user to set and use in this case.

Used in: Message

enum EntryType

eraftpb.proto:4

Used in: Entry

message HardState

eraftpb.proto:86

HardState contains the state of a node need to be peristed, including the current term, commit index and the vote record

Used in: raft_serverpb.RaftLocalState

message Message

eraftpb.proto:71

Used in: raft_serverpb.RaftMessage

enum MessageType

eraftpb.proto:41

Some MessageType defined here are local messages which not come from the network, but should also use the Step method to handle

Used in: Message

message Snapshot

eraftpb.proto:34

Used in: Message

message SnapshotMetadata

eraftpb.proto:28

SnapshotMetadata contains the log index and term of the last log applied to this Snapshot, along with the membership information of the time the last log applied.

Used in: Snapshot