Skip to content

Plugin settings changes don’t reach other instances in a multi-replica setup #1657

Description

@neermilov

Describe the bug

We run Answer with several replicas behind a load balancer (Kubernetes, shared PostgreSQL, cache-redis plugin), and noticed that changes in Admin → Plugins only apply to the replica that handled the request. The other replicas pick them up after a restart.

To Reproduce

Steps to reproduce the behavior:

  1. Run 2 instances of Answer against the same database.
  2. Change a plugin's settings in Admin → Plugins and save.
  3. Reload the settings page a few times: depending on which instance responds, you see either the new or the old values. The plugin itself behaves the same way.

Enabling/disabling plugins works the same way. There's one extra side effect: each instance saves its whole local list of plugin statuses. So if plugin A is enabled through one instance and plugin B is toggled through another, plugin A can end up disabled again.

Expected behavior

  • Plugin settings and on/off status apply on all instances without a restart.
  • Have instances reload plugin config/status from the DB periodically, or get notified via the cache layer (e.g. Redis pub/sub when cache-redis is enabled).

For now we restart all replicas after changing plugin settings, which works fine as a workaround.

Platform

  • Version: 2.0.2 (same code on main).

Activity

  1. added theissue type on Oct 26, 2026
  2. neermilov commented on Oct 26, 2026

    @neermilov
    ContributorAuthor
  3. efegokdemir commented on Oct 29, 2026

    @efegokdemir

    I have a fix ready for this issue and plan to open a pull request.

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

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions