[ https://issues.apache.org/jira/browse/IGNITE-16109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vyacheslav Koptilin updated IGNITE-16109: ----------------------------------------- Labels: ignite-3 (was: ) > Add listeners to raft module > ---------------------------- > > Key: IGNITE-16109 > URL: https://issues.apache.org/jira/browse/IGNITE-16109 > Project: Ignite > Issue Type: Task > Reporter: Kirill Gusakov > Priority: Major > Labels: ignite-3 > > For handle rebalance feature safe and correct we need to add the following > listeners on the start of new Raft node: > - {{onLeaderChanged()}} - must be executed from the new leader when raft > group changes the leader. > - {{onChangePeersError(errorContext)}} - must be executed when any errors > during changePeers occurred > - {{onChangePeersCommitted(peers)}} - must be executed with the list of new > peers when changePeers has successfully done. > Also, maybe we will need additional listener method > - {{onStableUpdate(peers)}}, which must be invoked together with applying > configuration (oldQuorum, newQuorum) -> (newQuorum) -- This message was sent by Atlassian Jira (v8.20.1#820001)