[
https://issues.apache.org/jira/browse/IGNITE-18744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17705223#comment-17705223
]
Vladislav Pyatkov edited comment on IGNITE-18744 at 3/27/23 8:06 AM:
---------------------------------------------------------------------
Merged aef992b2fbb7f16343ded9adb6be22e063ec015d
was (Author: v.pyatkov):
Merged af4e428cc401cf082e2d383fef53ece65cd51f4d
> Implement primary replica side leaseGrant handler
> -------------------------------------------------
>
> Key: IGNITE-18744
> URL: https://issues.apache.org/jira/browse/IGNITE-18744
> Project: Ignite
> Issue Type: Improvement
> Reporter: Alexander Lapin
> Assignee: Denis Chudov
> Priority: Major
> Labels: ignite-3
>
> h3. 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]
> h3. Definition of Done
> * PD retrieves leaseGranted
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)