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

Replace TableManager.changePeersOnRebalance by the broadcast ReplicaRequest

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0
    • None

    Description

      Motivation

      To simplify the process of moving to the zone-based collocation we need to remove all raft-connected code from TableManager. After IGNITE-21805 we will still have:

      • TableManager.changePeersOnRebalance

      This method must be replaced by appropriate request to Replica.

      Definition of done

      • TableManager send the broadcast ChangePeersReplicaRequest to all nodes from table partition assignments instead of direct call to raft changePeersAsync

      Implementation details
      We need to:

      • Introduce ChangePeersReplicaRequest(PeersAndLearners peersAndLearners) - the new replica request type
      • Move the code from TableManager.changePeersOnRebalance to the Replica itself, as a reaction to ChangePeersReplicaRequest
      • TableManager must send the ChangePeersReplicaRequest to all nodes from table partition assignments instead of direct TableManager.changePeersOnRebalance call

      Attachments

        Issue Links

          Activity

            People

              jakutenshi Mikhail Efremov
              kgusakov Kirill Gusakov
              Alexander Lapin Alexander Lapin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 7h 50m
                  7h 50m