Skip to content

[raft/aux] Add aux Raftstore - #1528

Merged
mickmis merged 1 commit into
interuss:masterfrom
Orbitalize:add_aux
Aug 19, 2026
Merged

[raft/aux] Add aux Raftstore#1528
mickmis merged 1 commit into
interuss:masterfrom
Orbitalize:add_aux

Conversation

@MariemBaccari

@MariemBaccari MariemBaccari commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Chained PR: #1622 -> #1528 -> #1626 -> #1597 -> #1623 -> #1627 -> #1642 -> #1643

Implements the aux Raftstore.
Removes the registry as it is not needed by aux which only calls Interact.
Implements the aux repo which calls the consensus instance for each type of operation (except GetDSSAirspaceRepresentationID which is local).

@MariemBaccari
MariemBaccari force-pushed the add_aux branch 3 times, most recently from 235e51e to e9ece61 Compare June 15, 2026 13:44
@MariemBaccari MariemBaccari changed the title [Raft] Add aux stubs [Raft] Add aux Raftstore Jun 15, 2026
Comment thread pkg/aux_/store/raftstore/store.go Outdated
@MariemBaccari
MariemBaccari force-pushed the add_aux branch 2 times, most recently from 9566c32 to 5d13119 Compare June 15, 2026 14:52
@MariemBaccari MariemBaccari changed the title [Raft] Add aux Raftstore [raft/aux] Add aux Raftstore Jun 16, 2026
@MariemBaccari
MariemBaccari force-pushed the add_aux branch 5 times, most recently from 8f85bb5 to 9e8af65 Compare June 16, 2026 09:18
@MariemBaccari
MariemBaccari marked this pull request as ready for review June 16, 2026 09:24
@MariemBaccari
MariemBaccari requested a review from the-glu June 16, 2026 09:24

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

95eb833 LGTM

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

Overall LGTM, but several minor comments

Comment thread pkg/aux_/store/raftstore/dss.go Outdated
Comment thread pkg/aux_/store/raftstore/dss.go Outdated
Comment thread pkg/aux_/store/raftstore/store.go Outdated
Comment thread pkg/raftstore/params/params.go Outdated
Comment thread pkg/aux_/store/raftstore/dss.go Outdated
Comment thread pkg/aux_/store/raftstore/dss.go Outdated
Comment thread pkg/aux_/store/raftstore/dss.go Outdated

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

just one last thing

Comment thread pkg/aux_/store/raftstore/dss.go Outdated

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

  • I have more suggestions opportunities for simplifications / clarity
  • In addition: by removing the validation from the store itself, we are now expecting the caller to provide correct parameters, otherwise unexpected behavior might occur. I think that is alright since anyway the store interface the the logic calling it are tightly coupled, however we should ensure a future dev knows what are valid parameters. I propose to add this to the documentation of the interface methods (https://github.com/interuss/dss/blob/2bf6aa7a410f76c590f78c70be324352c91a72a4/pkg/aux_/repos/repos.go).

Comment thread pkg/aux_/pool_participants.go Outdated
Comment thread pkg/aux_/pool_participants.go Outdated
Comment thread pkg/aux_/pool_participants.go Outdated
Comment thread pkg/aux_/pool_participants.go Outdated
@mickmis
mickmis merged commit e55814d into interuss:master Aug 19, 2026
12 checks passed
@mickmis
mickmis deleted the add_aux branch August 19, 2026 13:45
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.

4 participants