Skip to content

Follow crdt to v0.34.0, where OpsSince learned to refuse - #6

Closed
tannevaled wants to merge 1 commit into
mainfrom
follow-crdt-v0.34
Closed

Follow crdt to v0.34.0, where OpsSince learned to refuse#6
tannevaled wants to merge 1 commit into
mainfrom
follow-crdt-v0.34

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

go-crdt/crdt v0.34.0 makes OpsSince return an error below the collection
floor, where it used to hand back a difference with holes in its sequence
numbers that a peer could only park.

Local.Merge is the one call site here. It carries the refusal: a replica that
has collected below where another stands cannot say what that other is missing.
Such a pair is merged from the other side, or through their snapshots — not by
papering over it.

Nothing in this repository collects, so the refusal cannot happen today; the
change is that it would be reported rather than silently producing a partial
merge.

Suite green, vet and gofmt clean.

A replica that has collected below where another stands cannot say what that
other is missing: what it gave back is not in its differences any more. Merge
carries the refusal rather than merging a difference with holes in it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@tannevaled

Copy link
Copy Markdown
Contributor Author

No longer needed. crdt v0.35.0 puts OpsSince back to the signature this repository is pinned to — the change that made this necessary was withdrawn (go-crdt/crdt#70).

@tannevaled tannevaled closed this Aug 28, 2026
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.

1 participant