Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kvserverpb: add RaftMessageRequest.UsingRAC2Protocol #128754

Merged
merged 1 commit into from
Aug 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions pkg/kv/kvserver/kvserverpb/raft.proto
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,14 @@ message RaftMessageRequest {
// that were admitted below raft.
repeated kv.kvserver.kvflowcontrol.kvflowcontrolpb.AdmittedRaftLogEntries admitted_raft_log_entries = 11 [(gogoproto.nullable) = false];

// LowPriorityOverride is used in RACv2, and is only set if Message is a
// MsgApp. When true, it specifies that the priority of the Entries in the
// Message are overridden to be raftpb.LowPri.
bool low_priority_override = 12;
// UsingRAC2Protocol is set to true iff the leader is using the RACv2
// protocol.
bool using_rac2_protocol = 12;
// LowPriorityOverride is read only when UsingRAC2Protocol is true, and is
// set only if Message is a MsgApp. When true, it specifies that the
// priority of the Entries in the Message are overridden to be
// raftpb.LowPri.
bool low_priority_override = 13;
reserved 10;
}

Expand Down
Loading