You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Roman Puchkovskiy (Jira)" <ji...@apache.org> on 2023/02/21 14:22:00 UTC
[jira] [Created] (IGNITE-18864) Add a test for a leader change during full rebalance to a leader with enough log
Roman Puchkovskiy created IGNITE-18864:
------------------------------------------
Summary: 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: New Feature
Reporter: Roman Puchkovskiy
Assignee: Roman Puchkovskiy
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)