Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-18744

Implement primary replica side leaseGrant handler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0
    • 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

          Activity

            People

              Denis Chudov Denis Chudov
              alapin Alexander Lapin
              Vladislav Pyatkov Vladislav Pyatkov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: