Skip to content

[raft] Replicate the membership of Raft groups - #1775

Merged
MariemBaccari merged 1 commit into
interuss:masterfrom
Orbitalize:cluster_membership
Oct 26, 2026
Merged

MariemBaccari merged 1 commit into
interuss:masterfrom
Orbitalize:cluster_membership

Conversation

@MariemBaccari

@MariemBaccari MariemBaccari commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

This PR partially addresses #1719 by adding new membership and snapshot structures to support config changes.

@MariemBaccari
MariemBaccari force-pushed the cluster_membership branch 10 times, most recently from 654d774 to b905079 Compare October 14, 2026 14:00
@MariemBaccari MariemBaccari changed the title [raft] Implement cluster membership management [raft] Replicate the membership of Raft groups Oct 14, 2026
@MariemBaccari
MariemBaccari marked this pull request as ready for review October 15, 2026 13:41
Comment thread pkg/raftstore/consensus/membership.go Resolved
Comment thread pkg/raftstore/consensus/consensus.go Resolved
Comment thread pkg/raftstore/consensus/membership.go Resolved
Comment thread pkg/raftstore/consensus/membership.go Resolved
Comment thread pkg/raftstore/consensus/membership.go Resolved
Comment thread pkg/raftstore/consensus/consensus.go Resolved
@MariemBaccari
MariemBaccari force-pushed the cluster_membership branch 3 times, most recently from 6e5d329 to 6de094d Compare October 21, 2026 10:09
@MariemBaccari
MariemBaccari marked this pull request as draft October 22, 2026 13:28
@MariemBaccari
MariemBaccari force-pushed the cluster_membership branch 2 times, most recently from 350e321 to adedbb8 Compare October 23, 2026 12:32
@MariemBaccari
MariemBaccari marked this pull request as ready for review October 23, 2026 12:41
@MariemBaccari
MariemBaccari requested a review from mickmis October 23, 2026 13:17

@mickmis mickmis left a comment

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.

LGTM, but feels like there is something missing?

}

// addNode records nodeID as a member described by mem.
func (m *membership) addNode(nodeID uint64, mem member) {

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.

This does not add a peer to the transport, is it expected?
Also, there is nothing that removes a node, is it expected?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes this PR is only for membership replication. #1780 implements additions and removals :)

Comment thread pkg/raftstore/consensus/consensus.go Resolved
Comment thread pkg/raftstore/consensus/consensus.go Resolved
@MariemBaccari
MariemBaccari force-pushed the cluster_membership branch 2 times, most recently from c2fd4ed to c142788 Compare October 26, 2026 20:23
@MariemBaccari
MariemBaccari merged commit ad27905 into interuss:master Oct 26, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants