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

Flush proxy-level caching on production deploy #196

Open
soxofaan opened this issue Aug 11, 2022 · 0 comments
Open

Flush proxy-level caching on production deploy #196

soxofaan opened this issue Aug 11, 2022 · 0 comments
Assignees

Comments

@soxofaan
Copy link
Member

soxofaan commented Aug 11, 2022

When we do a production promotion/deploy, we apparently still serve cached metadata responses from the old instance.

For example, after a production deploy, I got a mix of old and new "capability doc" responses (example looks at backend_version field of capabilities):

$ for i in {0..10}; do curl -s https://openeo.vito.be/openeo/1.0/ | jq '.["backend_version"]'; done
"0.6.4a1.dev20220804+563"
"0.6.4a1.dev20220804+563"
"0.6.4a1.dev20220804+563"
"0.6.4a1.dev20220804+563"
"0.6.4a1.dev20220804+563"
"0.6.4a1.dev20220719+551"
"0.6.4a1.dev20220719+551"
"0.6.4a1.dev20220804+563"
"0.6.4a1.dev20220719+551"
"0.6.4a1.dev20220719+551"
"0.6.4a1.dev20220719+551"

it was only after roughly half an hour that I got consistently the same response

We should include a cache flush in the deploy procedure

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

No branches or pull requests

2 participants