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:20:00 UTC

[jira] [Updated] (IGNITE-18863) Add a test for a leader change during full rebalance

     [ https://issues.apache.org/jira/browse/IGNITE-18863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Puchkovskiy updated IGNITE-18863:
---------------------------------------
    Description: 
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{*}.

  was:
During a full rebalance, the leader changes, 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{*}.


> 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: New Feature
>            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)