Skip to content

Sync from Git fails after feature flag edited on other pod #4972

@darrenclark

Description

@darrenclark

We've deployed Flipt 2.3.1 (though this issue happens on 2.1.0 as well) on Kubernetes with two replicas (2).

It seems when we update a feature flag, one of the pods stops syncing from Git. I think the specific scenario is:

(using fiction pod names flipt-pod-a and flipt-pod-b)

  1. User edits feature flag via dashboard
  2. The "update flag" request gets load balanced to flipt-pod-a
  3. flipt-pod-a pushes to Git (and also has the correct local state)
  4. Next git sync, flipt-pod-b starts failing "closing writer: EOF" error

To fix this issue, flipt-pod-b must be restarted

Some logs:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions