Skip to content

[BUG] Race condition when updating the last sync date/time causes automatic updates to be mistaken for user changes #598

Description

@narapeka

Essentially, this is a race condition that occurs when Emby Next Gen updates its own “last sync date/time.” The date and time are written separately, and the listener thread may read them in between the two writes, resulting in an inconsistent value. It then mistakenly interprets the plugin’s own automatic update as a manual change made by the user, then leads to a full sync!

Activity

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

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions