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

Roman Puchkovskiy updated IGNITE-22830:
---------------------------------------
    Description: 
CmgRaftService#updateLearners() might call resetLearners() inside. If the 
configuration of the group is currently being changed for some reason, the 
leader will respond with EBUSY; resetLearners() implementation in the Raft 
client will make retries. If retries timeout (as the leader is still busy 
applying a configuration change), updateLearners() future ends with a 
TimeoutException. This exception is never handled in 
ClusterManagementGroupManager#onLogicalTopologyChanged(), so an update might be 
lost. onElectedAsLeader() also just ends with an exception if this happens.

We could either retry for a longer period of time, fail the node if such 
timeouts happen, or do something else.

> Learners update might be lost due to a timeout
> ----------------------------------------------
>
>                 Key: IGNITE-22830
>                 URL: https://issues.apache.org/jira/browse/IGNITE-22830
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Roman Puchkovskiy
>            Priority: Major
>              Labels: ignite-3
>
> CmgRaftService#updateLearners() might call resetLearners() inside. If the 
> configuration of the group is currently being changed for some reason, the 
> leader will respond with EBUSY; resetLearners() implementation in the Raft 
> client will make retries. If retries timeout (as the leader is still busy 
> applying a configuration change), updateLearners() future ends with a 
> TimeoutException. This exception is never handled in 
> ClusterManagementGroupManager#onLogicalTopologyChanged(), so an update might 
> be lost. onElectedAsLeader() also just ends with an exception if this happens.
> We could either retry for a longer period of time, fail the node if such 
> timeouts happen, or do something else.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to