Skip to content

fix(yjs): run initial hydration only on the first sync - #3581

Merged
JammingBen merged 1 commit into
mainfrom
fix/yjs-initial-hydration
Oct 7, 2026
Merged

JammingBen merged 1 commit into
mainfrom
fix/yjs-initial-hydration

Conversation

@JammingBen

Copy link
Copy Markdown
Member

onSynced fires again on every reconnect and re-ran the join-time checks. On etag drift that recovered the room from the serialized doc under an outdated etag, and it reset the saved state vector to a state that was never reported. The meta observer already handles what the room did while we were offline.

part of #3428

onSynced fires again on every reconnect and re-ran the join-time checks.
On etag drift that recovered the room from the serialized doc under an
outdated etag, and it reset the saved state vector to state that was
never reported. The meta observer already handles what the room did while
we were offline.
@JammingBen
JammingBen merged commit 596ae5e into main Oct 7, 2026
32 checks passed
@JammingBen
JammingBen deleted the fix/yjs-initial-hydration branch October 7, 2026 12:40
@openclouders openclouders mentioned this pull request Oct 7, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants