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

Use ES aliases again in production #1663

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

rileyhgrant
Copy link
Contributor

In two prior PRs, indices were used over aliases to allow for ease of rollbacks if needed. Since these two feature (v4 pext and clinvar with new XML format) have been stable, this PR goes back to using aliases.

The aliases now point to previously hard coded indices:

❯ curl -u "elastic:$ELASTICSEARCH_PASSWORD" http://localhost:9200/_cat/aliases\?pretty\&v\=true\&s\=index:asc

alias                                index                                                  filter routing.index routing.search is_write_index
...
clinvar_grch37_variants              clinvar_grch37_variants-2024-11-08--19-22              -      -             -              -
clinvar_grch38_variants              clinvar_grch38_variants-2024-11-08--13-08              -      -             -              -
...
genes_grch37                         genes_grch37-2024-11-15--15-23                         -      -             -              -
genes_grch38                         genes_grch38-2024-11-20--16-28                         -      -             -              -
...

Copy link
Contributor

@sjahl sjahl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! 👍

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