[
https://issues.apache.org/jira/browse/IGNITE-18864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Puchkovskiy updated IGNITE-18864:
---------------------------------------
Issue Type: Improvement (was: New Feature)
> Add a test for a leader change during full rebalance to a leader with enough
> log
> --------------------------------------------------------------------------------
>
> Key: IGNITE-18864
> URL: https://issues.apache.org/jira/browse/IGNITE-18864
> Project: Ignite
> Issue Type: Improvement
> Reporter: Roman Puchkovskiy
> Assignee: Roman Puchkovskiy
> Priority: Major
> Labels: ignite-3
> Fix For: 3.0.0-beta2
>
>
> What happens if a leader changes during a full rebalance so that the new
> leader has enough log to avoid a full rebalance (because it can just feed the
> follower using AppendEntries RPC)?
> I expect the full rebalance to be canceled, clear the storages and set the
> initial (equal to 0) {*}lastAppliedIndex *and *lastAppliedTerm{*}.
> And also what index will be sent to the new leader, if during a full
> rebalancing on the recipient it will be equal to {*}-1{*}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)