Skip to content

webrtc p2p replication Infinite loop #7190

Open
@BingCoke

Description

@BingCoke

This is something that can happen with a certain probability (and the probability is quite high). The code repository is: https://github.com/BingCoke/replication-test.git
run yarn server and run yarn dev;
When multiple pages are opened simultaneously to demonstrate the synchronization effect, and I randomly click on an item to delete it, there is a chance of triggering an infinite loop—where the item gets repeatedly created and deleted indefinitely.

2025-05-22.19-03-33.mov

Another possible scenario is when I keep deleting items until all items on one page are removed, but some items may still remain on other pages. These remaining items might disappear upon refreshing the page, or they could reappear on other open pages.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions