Reference

Internal Raft API

Internal Raft API

Service: astraraftpb.InternalRaft

Methods:

RPCPurpose
AppendEntriesReplication and heartbeat transport between peers.
VoteElection request/response transport.
InstallSnapshotSnapshot transfer transport.

Each RPC uses RaftBytes with one field:

  • payload: bytes (opaque openraft transport envelope)

Operational Constraints

  • This API is peer-only and must not be exposed as a public client surface.
  • Payload compatibility is tied to Astra/openraft runtime versions in the same cluster.
  • Authentication/authorization for peer plane is expected to be handled by network boundary controls.

This surface is internal and not intended for external client integration.