[ https://issues.apache.org/jira/browse/IGNITE-24064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17910637#comment-17910637 ]
Vladislav Pyatkov commented on IGNITE-24064: -------------------------------------------- Merged 1b74c04fe95445e8b7f96fe9c930d4a1b742250a > Improve the RendezvousDistributionFunction in order to calculate the > assignments of peers and learners > ------------------------------------------------------------------------------------------------------ > > Key: IGNITE-24064 > URL: https://issues.apache.org/jira/browse/IGNITE-24064 > Project: Ignite > Issue Type: Improvement > Reporter: Denis Chudov > Assignee: Denis Chudov > Priority: Major > Labels: ignite-3 > Time Spent: 10m > Remaining Estimate: 0h > > *Motivation* > The RendezvousDistributionFunction should be able to distribute learners. > Also, the additional requirement here is that consensus group replicas should > be distributed by cluster as evenly as the algorithm allows for all replicas. > This is required because the consensus group bears additional load related to > providing the data consistency; also, there are group leaders which are > chosen from the members of the consensus group. > *Definition of done* > The RendezvousDistributionFunction is able to distribute learners and > distributes the consensus replicas (voters) as even as it is possible for > this type of algorithm. > *Implementation notes* > The assignments calculation for learners via Rendezvous should be simple: > Rendezvous algorithm builds the list of nodes for each partition, then takes > first N of them (where N is replica factor) as assignments. We should modify > it so that it would take the first N nodes as a consensus group (where N is > the size of this group), and the next M nodes as learners (where M is > learners count). -- This message was sent by Atlassian Jira (v8.20.10#820010)