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

Changes in mapping version determination #2345

Merged
merged 4 commits into from
Sep 21, 2021
Merged

Conversation

felipeelia
Copy link
Member

@felipeelia felipeelia commented Sep 13, 2021

Description of the Change

This PR splits Post::determine_mapping_version() in two different methods, so we can:

  1. Early return if a version is already determined
  2. Keep the ep_post_mapping_version_determined filter being executed at the end of the process.

It also fixes the check for ES 7.

Applicable Issues

Closes #2332
Closes #2331

Changelog Entry

  • Fixed: Mapping version determination does not send false positives for ES 7 anymore.

Copy link
Contributor

@oscarssanchez oscarssanchez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGM WP acceptance seem to fail but I assume the errors are unrelated based on the logs @felipeelia

@felipeelia felipeelia merged commit 142ba54 into develop Sep 21, 2021
@felipeelia felipeelia deleted the feature/issue-2331 branch September 21, 2021 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants