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

[richie] re-generate ES index after rolling update #361

Open
jmaupetit opened this issue Aug 21, 2019 · 0 comments
Open

[richie] re-generate ES index after rolling update #361

jmaupetit opened this issue Aug 21, 2019 · 0 comments

Comments

@jmaupetit
Copy link
Contributor

Purpose

When for some reason, Richie's app ES pod is re-deployed (rolling update), the search index required to query ES (from Richie's catalog view) no-longer exists, raising an HTTP 500 error code.

Proposal

One might consider adding a new volume to persist ES data, but we are afraid of a strong performance impact. This should be tested/considered.

An alternative would be to use a post deployment hook to generate this index from Richie's management command. In this case, we should consider that Richie + ES are containers from the same pod. As it would impact application scalability, I'm also not confident with this solution.

We are wide open to suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant