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

fix(setupIndex): fix case where index already exists #219

Merged
merged 1 commit into from
Nov 28, 2023
Merged

Conversation

mdial89f
Copy link
Contributor

Purpose

This changeset fixes a bug seen during re-deployment of existing environments with the new setupIndex code.

Linked Issues to Close

Bug against RAI Issue / Withdraw

Approach

While we were guarding against attempting to create the index if it already exists, we were not guarding against attempting to update the field mapping if one already existed. This is an edge case, and is handled with a reindex, so we will stick the 'update field mapping' inside the 'if exists' guard.

Assorted Notes/Considerations/Learning

None

…he index exists... will need to reindex in that case
@mdial89f mdial89f merged commit 430c4de into master Nov 28, 2023
17 checks passed
@mdial89f mdial89f deleted the withdraw branch November 28, 2023 19:45
Copy link
Contributor

🎉 This PR is included in version 1.5.0-val.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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