[ https://issues.apache.org/jira/browse/IGNITE-24067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vadim Kolodin reassigned IGNITE-24067: -------------------------------------- Assignee: Denis Chudov > Adjust placement driver for the usage of learners > ------------------------------------------------- > > Key: IGNITE-24067 > URL: https://issues.apache.org/jira/browse/IGNITE-24067 > Project: Ignite > Issue Type: Improvement > Reporter: Denis Chudov > Assignee: Denis Chudov > Priority: Major > Labels: ignite-3 > Time Spent: 10m > Remaining Estimate: 0h > > *Motivation* > Assignments placement driver provides the assignments that it gets from the > meta storage. So, since the learners will be included into the assignments > that are written to the meta storage, no additional changes of assignment > placement driver are required. > Lease placement driver, however, {*}should be adjusted{*}: primary replica > should be colocated with consensus group, so the lease placement driver > should filter the assignments to get only peers before choosing the lease > candidate. > Also, if it's impossible to choose a primary replica from stable assignments, > it should be chosen from the first element of the pending assignment queue. > *Definition of done* > * primary replicas are located only on consensus replicas, not learners; > * if it is impossible to select a primary replica from stable assignments, > the first element of pending assignments queue should be used. -- This message was sent by Atlassian Jira (v8.20.10#820010)