[ https://issues.apache.org/jira/browse/IGNITE-22904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Puchkovskiy updated IGNITE-22904: --------------------------------------- Reviewer: Philipp Shergalis [~phillippko] could you please take a look at the attached PR? > Disallow old MG majority to hijack leadership > --------------------------------------------- > > Key: IGNITE-22904 > URL: https://issues.apache.org/jira/browse/IGNITE-22904 > Project: Ignite > Issue Type: Improvement > Reporter: Roman Puchkovskiy > Assignee: Roman Puchkovskiy > Priority: Major > Labels: iep-128, ignite-3 > > If, during a join (on getting the fresh cluster state from the CMG), a node > detects that, according to the MG configuration saved in the MG on this node, > this node is the member of the voting set (i.e. it’s a peer, not a learner), > and this node is NOT one of the metastorageNodes in the CMG, then, before > starting its MG Raft member, it raises a flag that disallows its Raft node > becoming a candidate. > (This flag does not exist in JRaft, we need to introduce it there; the flag > is not persisted). > As soon as the Raft node applies a new Raft configuration (coming from the > new leader), this flag is cleared. > After this, the Raft node is ‘converted’ to the new MG and cannot hijack the > leadership. -- This message was sent by Atlassian Jira (v8.20.10#820010)