Skip to content

Race-condition causing duplicate actors to run in parallel? #197

Open

Description

@sandreae

This occurred when running flathub beta version of Reflection. Not sure if it's related but there were two windows running at the time, although only one network instance should be shared between them.

2026-01-20T12:28:32.173073Z  WARN p2panda_net_next::actors::streams::eventually_consistent: sync manager failed with reason: ActorAlreadyRegistered(
    "net.sync.session.2+f93a56",
) actor_id=0.7365 topic=323331f6e8

Looking at the logs it appears that the session error caused the sync manager to fail, which is not desirable behaviour.

Activity

  1. added theissue type on Jan 20, 2026
  2. adzialocha commented on Jan 20, 2026

    @adzialocha
    Member

    With the new version of p2panda-net that shouldn't be a problem (actors are not named and can not collide), but I'm still curious if this is maybe a pointer at a bug in Reflection (maybe we move the issue there?)

  3. transferred this issue fromp2panda/p2pandaon Jan 21, 2026
  4. added theissue type on Jan 21, 2026
  5. changed the title [-]Sync session actor error: `ActorAlreadyRegistered`[/-] on Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions