Skip to content

enhancement: prevent unsub/sub race condition #1015

@thlorenz

Description

@thlorenz

Right now we do unsubscribe accounts that we only query but don't clone at the end of the task that needed that information.
One example are delegation records.

However there is a potential race condition such that if a delegation record is cloned + subscribed to in the meantime we would still unsubscribe from it in the end.

More details and a plan to fix this issue are in the comments.

Since the cases for which this matters are very rare this is a lower priority problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions