Skip to content

[raft/config] Control config changes#1573

Draft
MariemBaccari wants to merge 22 commits into
interuss:masterfrom
Orbitalize:raft_admin_config_change
Draft

[raft/config] Control config changes#1573
MariemBaccari wants to merge 22 commits into
interuss:masterfrom
Orbitalize:raft_admin_config_change

Conversation

@MariemBaccari

Copy link
Copy Markdown
Contributor

Adds a raftctl cli that can add / update and remove nodes from the raft cluster.

@MariemBaccari MariemBaccari marked this pull request as draft June 25, 2026 15:16

@the-glu the-glu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Partial review

const raftAdminAddrFlag = "raft_admin_addr"

func init() {
flag.StringVar(&adminAddr, raftAdminAddrFlag, "", "If set and the raft store backend is in use, determines the address and port for the raft admin endpoint (POST /admin/members), used to add/remove/update a node across all of the rid/scd/aux raft clusters in a single request. Disabled if empty.")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It should be enabled by default no?

registry: globalRegistry,
}

adminServer.httpServer = &http.Server{

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It should have a form of authentification no? Even with listen address restricted to 127.0.0.1 that not safe enough.

@barroco barroco added the dss-raft Relating to the application-layer consensus implemenation based on raft label Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dss-raft Relating to the application-layer consensus implemenation based on raft

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants