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)
- User edits feature flag via dashboard
- The "update flag" request gets load balanced to
flipt-pod-a
flipt-pod-a pushes to Git (and also has the correct local state)
- Next git sync,
flipt-pod-b starts failing "closing writer: EOF" error
To fix this issue, flipt-pod-b must be restarted
Some logs:
