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

Synchronise yoga with upstream #81

Closed
wants to merge 3 commits into from

Conversation

github-actions[bot]
Copy link

This PR contains a snapshot of yoga from upstream unmaintained/yoga.

priteau and others added 2 commits March 18, 2024 16:27
Change DevStack plugin to deploy OpenSearch 1.x instead of Elasticsearch
when using the elasticsearch storage driver. This is in preparation for
supporting OpenSearch instead of Elasticsearch. Note that CloudKitty
does not work with OpenSearch 2.x yet, likely due to the removal of
mapping types [1].

[1] https://opensearch.org/docs/2.0/breaking-changes/#remove-mapping-types-parameter

Change-Id: I572cba384a9a16ee2bbfe07b5c316ed5abbb5681
(cherry picked from commit 5fdb65b)
To facilitate the switch from Elasticsearch to OpenSearch, the ES
backend has been duplicated and renamed where appropriate to OpenSearch.

The OpenSearch implementation was modified in places for compatibility
with OpenSearch 2.x, for example:

- remove mapping name from bulk API URL
- replace put_mapping by post_mapping

This will allow for the future removal of the Elasticsearch backend.

Change-Id: I88b0a30f66af13dad1bd75cde412d2880b4ead30
Co-Authored-By: Pierre Riteau <[email protected]>
(cherry picked from commit 964c670)
markgoddard
markgoddard previously approved these changes May 13, 2024
@markgoddard
Copy link

@priteau I'm unsure if I got the devstack/plugin.sh merge right. Could you take a look?

@markgoddard markgoddard deleted the upstream/yoga-2024-05-13 branch May 20, 2024 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants