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

Migrate to OpenSearch with Elasticsearch v7 compatibility mode #130

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ptamarit
Copy link

@ptamarit ptamarit commented Jul 9, 2024

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 called relations.../_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.

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.

1 participant