Description
Change the leader's implementation of the BeginQuorumEpoch to behave more like a heartbeat mechanism. The first implementation can just send the request at some interval (half the fetch timeout).
Future implementations can conserve resource by tracking fetch timeouts per remote voter.
This change is needed because voters discover the leader and the leader's endpoints through the BeginQuorumEpoch RPC. The leader id is persisted in quorum-state but the leader's endpoints are not persisted to disk. That means that if the voter restarts it needs to rediscover the leader through the BeginQuorumEpoch RPC.
Attachments
Issue Links
- links to