Migrate to OpenSearch with Elasticsearch v7 compatibility mode #130
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The first two commits are related to the fact that some things got broken since the last 2 years:
fix: docker-compose: remove duplicated extends in cache
Docker compose v2.28.1 fails with mapping key "extends" already defined.
fix: docker: pin pipenv version and use pip for setup
Using pip instead of pipenv since pipenv was trying to rebuild the Pipfile.lock while we just want to install the setup
The following commit might be breaking changes and should be tested:
fix: OpenSearch v2 with Elasticsearch v7 compatibility mode bulk URL with _doc
For the Zenodo instance of the citation broker, the bulk URL called was
relations.../_doc/_bulk
and it was failing. The change here makes the bulk URL calledrelations.../_bulk
and fixed our issue.fix: do not enable flask-breadcrumbs in invenio_base.apps to avoid flask-menu error
For the Zenodo instance of the citation broker, we were getting errors when starting the web API with uwsgi (the stack trace is in the code comment). Removing the entry point on the flask-breadcrumbs fixed our problem.
Release:
release: v1.2.0.dev1
We needed a version number to deploy but this could be removed from this pull request if needed.