Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Oct 1, 2024

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 <[email protected]>
@backportbot backportbot bot requested review from max-nextcloud and mejo- October 1, 2024 07:07
@backportbot backportbot bot added this to the Nextcloud 30.0.1 milestone Oct 1, 2024
@max-nextcloud max-nextcloud merged commit eec19aa into stable30 Oct 1, 2024
@max-nextcloud max-nextcloud deleted the backport/6479/stable30 branch October 1, 2024 07:30
@max-nextcloud
Copy link
Collaborator

cypress failure is unrelated.

@Altahrim Altahrim mentioned this pull request Oct 1, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants