Skip to content

[stable28] fix(sync): Disable browser broadcast - #6481

Merged
max-nextcloud merged 1 commit into
stable28from
backport/6479/stable28
Oct 1, 2024
Merged

[stable28] fix(sync): Disable browser broadcast#6481
max-nextcloud merged 1 commit into
stable28from
backport/6479/stable28

Conversation

@backportbot

Copy link
Copy Markdown

Backport of PR #6479

Ensure the browser broadcast does not lead to out of sync docs.
If a tab fails to send a step over the network
it may still distributes it to a different tab / window
via the browser broadcast.
That other window will include the step in the yjs history
without forwarding it to other parties.
From that point on all changes in the second tab
will depend on the step that other clients did not receive.
Therefore these changes will not be applied at other parties.
To prevent this scenario disable browser broadcast completely.
Signed-off-by: Max <max@nextcloud.com>
@max-nextcloud
max-nextcloud merged commit c84dbfe into stable28Oct 1, 2024
@max-nextcloud
max-nextcloud deleted the backport/6479/stable28 branch October 1, 2024 07:23
@AltahrimAltahrim mentioned this pull request Oct 1, 2024
2 tasks
Sign up for freeto 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.

1 participant

@max-nextcloud