[
https://issues.apache.org/jira/browse/IGNITE-18863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Puchkovskiy updated IGNITE-18863:
---------------------------------------
Issue Type: Improvement (was: New Feature)
> Add a test for a leader change during full rebalance
> ----------------------------------------------------
>
> Key: IGNITE-18863
> URL: https://issues.apache.org/jira/browse/IGNITE-18863
> Project: Ignite
> Issue Type: Improvement
> Reporter: Roman Puchkovskiy
> Assignee: Roman Puchkovskiy
> Priority: Major
> Labels: ignite-3
> Fix For: 3.0.0-beta2
>
>
> During a full rebalance, the leader changes to another leader that does not
> have enough log to feed the follower using AppendEntries (but it can feed it
> with a snapshot), what will happen?
> I expect the current rebalance to be canceled and a new one to start with
> empty storages and set 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)