Skip to content
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

Internal errors on stale cached catalog bindings etc. #40

Open
karlcz opened this issue Jan 25, 2022 · 0 comments
Open

Internal errors on stale cached catalog bindings etc. #40

karlcz opened this issue Jan 25, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@karlcz
Copy link
Contributor

karlcz commented Jan 25, 2022

When we change/replace a catalog "1", the cached bindings in the dashboard-api service can be stale, representing state and model of the older catalog at time it was first contacted. We addressed this in practice by restarting the web service after publishing the new release data.

It might be better if a last-ditch exception handler could catch these errors and recover. The cache for the current catalog (or all, if easier?) should be purged, and the request restarted to get a fresh catalog binding. It might be easiest to purge cache and throw an error like 503 temporarily unavailable, and patch the client web UI pages to retry on this error if they don't already...

@karlcz karlcz added the enhancement New feature or request label Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant