Skip to content

Conversation

@marcus-pousette
Copy link
Collaborator

@marcus-pousette marcus-pousette commented Dec 16, 2025

Initial draft for p2p sync behaviour. Refinements of this protocol is intended to update as we build and test

@marcus-pousette marcus-pousette marked this pull request as draft December 16, 2025 12:25
string doc_id = 2;

oneof payload {
Hello hello = 10;
Copy link
Collaborator

Choose a reason for hiding this comment

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

as I understood to seperate oneof fields from others it has +10 to field number. Should it be also common across all schemas.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good question. Feels like future top fields in the SyncMessage is more likely in the other types so I left that out there for now.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we can revisit this question later perhaps once we have a reference implementation going and we have gathered more potential knowledge about requirements we did not see at this stage

@marcus-pousette marcus-pousette marked this pull request as ready for review January 2, 2026 15:06
@marcus-pousette marcus-pousette merged commit e3b630a into main Jan 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants