Skip to content

[raft/rid] Raftstore skeleton - #1623

Open
MariemBaccari wants to merge 1 commit into
interuss:masterfrom
Orbitalize:add_rid_raftstore
Open

[raft/rid] Raftstore skeleton#1623
MariemBaccari wants to merge 1 commit into
interuss:masterfrom
Orbitalize:add_rid_raftstore

Conversation

@MariemBaccari

@MariemBaccari MariemBaccari commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Add rid Raftstore skeleton

@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.

(661d76e) LGTM

switch proposal.RequestType {

default:
handler, ok := actions.Registry[string(proposal.RequestType)]

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.

Update registry map key type to use RequestType

@MariemBaccari MariemBaccari Aug 19, 2026

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.

Since the registry is defined outside of both raftstore and sqlstore and is used by both, it feels odd leaking consensus.RequestType into it. What do you think ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants