Skip to content

Conversation

@conormurray95
Copy link
Contributor

Issue
If a client sdk connected to the proxy in in-memory mode and had no segments configured we'd return a 404 for the /client/env/:environment_uuid/target/:target/evaluations/:feature endpoint which is fetched when the client sdk is fetching an update for a specific flag.

Fix
Like the other functions in this file if we receive a ErrCacheNotFound error we just log it and continue because segments aren't required configuration we need to evaluate the flag.

@swarmia
Copy link

swarmia bot commented Oct 27, 2022

@conormurray95 conormurray95 changed the title (FFM-5106) Fix segments 404 error for clients (FFM-5106) Fix segments 404 error for client sdks Oct 27, 2022
@conormurray95 conormurray95 merged commit 0926ed9 into main Oct 27, 2022
@conormurray95 conormurray95 deleted the FFM-5106-segments-cache-error-in-mem-mode branch November 22, 2022 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants