-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resetting identity override to environment default not working #139
Comments
Hi @devneutz , can you provide more information about your set up? If possible please provide your config.json file (you can redact the keys), and also how you are running Flagsmith (SaaS or self-hosted)? |
Thanks for your immediate reply. I am self-hosting Edge Proxy in a k8s cluster and connecting to Flagsmith SaaS. My config looks like this:
EDIT: What I have realized is that if you change the feature on the identity itself (i.e. turn it off and on) it does work flawlessly. Only on resetting to the environment default, the Edge Proxy will give me the wrong / old value. |
Ok, thanks for the additional information @devneutz . Just to check, you have waited more than 600 seconds (your poll interval) after resetting the value before verifying if the override has been reset? |
@matthewelwell Yes :) For testing purposes I used a much lower value. |
Sorry, I had to check 😄 Thanks for all the info, we'll take a look and get back to you. |
Hi @khvn26, are there any news? 😃 |
Hi @devneutz , I'm afraid there's no update on this one yet but it's in our backlog. |
Description
When using Flagsmith's Edge Proxy, the feature property
enabled
for an identity is not returned correctly in case it has been reset to the environment default. Only a complete restart of the edge proxy will help which seems to indicate an issue with the mem cache.Steps to reproduce
Expected behaviour
The
enabled
property of the feature should return the default environment value (in this case false).Observed behaviour
The feature remains true when retrieved via Edge Proxy. Edge API returns the correct value (false).
Impact
Identity overrides can not be used like this since a reset for a specific identity won't work.
Environment
Edge Proxy 2.17 (Docker)
The text was updated successfully, but these errors were encountered: