Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Motivation
Primary replica candidate should properly handle leaseGrant message. In case of RAFT following steps are expected:
- After receiving leaseGrant(force = false) message primary replica candidate (the one that have received the message) should check whether group is ready (meaning that leader is elected) or await leader election. So, reactive communication is expected here.
- On leader election or on leader detection:
- if leader isn't collocated with primary replica candidate, primary replica candidate should send leaseGrantResp that assumes primary replica redirect.
- send leaseGrantResp[OK]
Definition of Done
- PD retrieves leaseGranted
Attachments
Issue Links
- is blocked by
-
IGNITE-19014 Topology aware Raft client creates its own message handler which is not aware of Raft group
- Resolved
- links to