You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: clarify RaftNetworkV2 design and streaming options
Make explicit that `RaftNetworkV2` is designed for unary request-response
RPCs and document the three paths to stream-oriented AppendEntries, so
implementers can pick the right level of effort for their throughput needs:
1. Default — implement only unary `append_entries`; the default
`stream_append` adapts it sequentially via `stream_append_sequential`.
2. Override `RaftNetworkV2::stream_append` for true streaming (e.g. native
gRPC bidi or pipelined AppendEntries) without abandoning the unified
interface for the other RPCs.
3. Implement the individual sub-traits directly when even more flexibility
is needed; these are the exact bounds on `RaftNetworkFactory::Network`.
Also enumerate the six sub-traits (`NetAppend`, `NetVote`, `NetSnapshot`,
`NetStreamAppend`, `NetTransferLeader`, `NetBackoff`) with one-line
purposes and add intra-doc link references for the new mentions.
0 commit comments