Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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
- is blocked by
-
IGNITE-23587 Make PlacementDriver able to choose lease candidate from pendings
- Resolved
- links to