Skip to content

chore(specs): update BEP regarding multiple cluster config messages #932

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 1, 2025

Conversation

imsodin
Copy link
Member

@imsodin imsodin commented May 31, 2025

Syncthing is already sending multiple cluster configs for a long time - reflect that in the spec. I added the SHOULD part about closing the connection if multiple CCs aren't supported with the intention to keep the spec change backwards compatible and have reasonable behaviour, which this imo provides.

I noticed we don't specify what the compatibility expectations can be on the BEP - I just assumed a broad, rather generous variant, i.e. that the use-case outlined in the intro continuous to function between to clients implementing the spec before and after a change. Of course in reality only the connection to syncthing's compatibility guarantee really matters, i.e. that two syncthing versions before and after keep syncing fine, as there's no other significantly adopted BEP implementations - I just still have a soft spot for the mere possibility of independent implementations :)

Syncthing is already sending multiple cluster configs for a long time -
reflect that in the spec. I added the SHOULD part about closing the
connection if multiple CCs aren't supported with the intention to keep
the spec change backwards compatible and have reasonable behaviour,
which this imo provides.

I noticed we don't specify what the compatibility expectations can be on
the BEP - I just assumed a broad, rather generous variant, i.e. that the
use-case outlined in the intro continuous to function between to clients
implementing the spec before and after a change. Of course in reality
only the connection to syncthing's compatibility guarantee really
matters, i.e. that two syncthing versions before and after keep syncing
fine, as there's no other significantly adopted BEP implementations - I
just still have a soft spot for the mere possibility of independent
implementations :)
@marbens-arch marbens-arch changed the title chore(specs): Update BEP regarding multiple cluster config messages chore(specs): update BEP regarding multiple cluster config messages May 31, 2025
@calmh calmh merged commit d932ef5 into syncthing:main Jun 1, 2025
4 checks passed
calmh added a commit that referenced this pull request Jun 7, 2025
* main:
  chore(specs): update BEP regarding multiple cluster config messages (#932)
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.

2 participants