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

Kirill Gusakov updated IGNITE-16109:
------------------------------------
    Description: 
- {{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)

  was:
- {{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.


> 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
>
> - {{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)

Reply via email to