Skip to content

LastAppliedFilterHash is never persisted, breaking filter change detection #656

Description

@lujunsan

After a successful sync, LastAppliedFilterHash is not written to the database — only LastSyncHash is persisted. On the next coordinator cycle, isFilterChanged computes the current filter hash and compares it against the stored value. Because the stored value is never updated, any source whose filter was changed and synced once will continue to appear as "filter changed" on every subsequent cycle, triggering unnecessary re-syncs indefinitely.

LastAppliedFilterHash should be included in the status update written on successful sync completion.

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

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions