Skip to content

IGNITE-22903 Handle BecomeMetastorageLeaderMessage#4361

Merged
rpuch merged 11 commits intoapache:mainfrom
gridgain:ignite-22903
Sep 12, 2024
Merged

IGNITE-22903 Handle BecomeMetastorageLeaderMessage#4361
rpuch merged 11 commits intoapache:mainfrom
gridgain:ignite-22903

Conversation

@rpuch
Copy link
Copy Markdown
Contributor

@rpuch rpuch commented Sep 9, 2024

https://issues.apache.org/jira/browse/IGNITE-22903

When BecomeMetastorageLeaderMessage is received:

  • make the current node the leader of the Metastorage group by forcing the voting members set to only consist of the current node
  • stop managing learners and propagating safe-time if requested by the message (useful as an optimization to avoid 2-step configuration change when the target MG voting set consists of just 1 node)

Comment on lines +23 to +25
/**
* A command to make a node become a Metastorage Raft group leader.
*/
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/**
* A command to make a node become a Metastorage Raft group leader.
*/
/** A command to make a node become a Metastorage Raft group leader. */

Comment on lines +23 to +25
/**
* Entry point for tasks related to maintenance of the Metastorage Raft group.
*/
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/**
* Entry point for tasks related to maintenance of the Metastorage Raft group.
*/
/** Entry point for tasks related to maintenance of the Metastorage Raft group. */

@rpuch rpuch merged commit f91da34 into apache:main Sep 12, 2024
@rpuch rpuch deleted the ignite-22903 branch September 12, 2024 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants