Skip to content

[raft/rid] Raftstore skeleton - #1623

Merged
mickmis merged 1 commit into
interuss:masterfrom
Orbitalize:add_rid_raftstore
Aug 26, 2026
Merged

[raft/rid] Raftstore skeleton#1623
mickmis merged 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 ?

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.

Yes indeed. That actually raises the question of whether there is (and will always be) a 1-1 mapping between DSS operations and raft messages? But it looks like those are different although overlapping sets. So LGTM.

@MariemBaccari
MariemBaccari requested a review from mickmis August 19, 2026 14:13
@barroco barroco added the dss-raft Relating to the application-layer consensus implemenation based on raft label Aug 20, 2026
@mickmis
mickmis merged commit ec30a97 into interuss:master Aug 26, 2026
12 checks passed
@mickmis
mickmis deleted the add_rid_raftstore branch August 26, 2026 09:05
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

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants