Skip to content

Conversation

k-yomo
Copy link
Contributor

@k-yomo k-yomo commented Dec 16, 2022

Resolves #227

This PR changes not to recreate when field is removed in a new mapping (= mapping defined in terraform), not to cause recreate mainly for dynamically added fields.
Ignoring field removal is the default behaviour of Elasticsearch, so it'll be aligned wit Elasticsearch too.

📝 This PR is branched from #231

@k-yomo k-yomo force-pushed the dont-recreate-when-field-is-removed branch 3 times, most recently from 0c8e877 to c6fe0e3 Compare December 16, 2022 19:13
Copy link
Member

@tobio tobio left a comment

Choose a reason for hiding this comment

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

Small text update. Can we add an acceptance test around this as well? Also need a changelog setting for this one.

@k-yomo k-yomo requested a review from tobio December 19, 2022 12:36
@tobio tobio force-pushed the dont-recreate-when-field-is-removed branch from 05bee1e to dad2f8e Compare January 11, 2023 04:05
@tobio tobio merged commit 00d5e8d into elastic:main Jan 11, 2023
@k-yomo k-yomo deleted the dont-recreate-when-field-is-removed branch May 24, 2023 13:31
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.

[Feature] Don't recreate when there is a diff in dynamic object field

2 participants