-
Notifications
You must be signed in to change notification settings - Fork 71
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
Indexing creates an index instead of the expected alias #370
Labels
Comments
Observations so far, when no indices exist:
|
Conclusion:
Exptected aliases for index name
|
More observations:
|
kdambekalns
added a commit
to kdambekalns/Flowpack.ElasticSearch.ContentRepositoryAdaptor
that referenced
this issue
Feb 11, 2021
The command `nodeindex:build` does not set up aliases after creating fresh indexes until it considers the indexing complete. This is good, usually, since it allows for indexing "in the background". But if no aliases exist at all, this is going to break. This change fixes that by setting up aliases after creating (fresh) indexes, if no aliases exist. Fixes Flowpack#370
kdambekalns
added a commit
to kdambekalns/Flowpack.ElasticSearch.ContentRepositoryAdaptor
that referenced
this issue
Feb 11, 2021
With this change running `nodeindex:indexnode` - without `--postfix` uses existing aliases or creates a new postfix (like `nodeindex:build` does) and sets up aliases - with `--postfix` given will use that postfix and not change aliases, as that's probably intended when passing the postfix manually Fixes Flowpack#370
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running
nodeindex:build
and no indexes exist at all, an index namedfoo-postfix
is created. But instead of an aliasfoo
pointing to that, an actual indexfoo
is created and filled with data.This leads to at least two problems:
The text was updated successfully, but these errors were encountered: