You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Kirill Gusakov (Jira)" <ji...@apache.org> on 2022/01/23 22:33:00 UTC
[jira] [Updated] (IGNITE-16109) Add listeners to raft module
[ https://issues.apache.org/jira/browse/IGNITE-16109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kirill Gusakov updated IGNITE-16109:
------------------------------------
Description:
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.
was:
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)
> 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.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)