Denis Chudov created IGNITE-24067: ------------------------------------- Summary: 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
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. -- This message was sent by Atlassian Jira (v8.20.10#820010)