Skip to content

Don't populate settings during read #779

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

Merged
merged 2 commits into from
Sep 19, 2024
Merged

Don't populate settings during read #779

merged 2 commits into from
Sep 19, 2024

Conversation

tobio
Copy link
Member

@tobio tobio commented Sep 19, 2024

There's a fair bit of complexity around handling computed settings. I'll look at adding this back in a follow up PR, but want to get this resource in a working state so we can make a new release.

Fixes #767

There's a fair bit of complexity around handling computed settings. I'll look at adding this back in a follow up PR, but want to get this resource in a working state so we can make a new release.

This covers the case where settings are applied as part of an index template
@tobio tobio requested review from wandergeek and dimuon September 19, 2024 08:25
@tobio tobio self-assigned this Sep 19, 2024
@dimuon
Copy link
Contributor

dimuon commented Sep 19, 2024

@tobio , some other fields also use Default together with Computed in the same scheme (e.g. mappings, deletion_protection and few others). Shall we consider removing Default for them as well?

@dimuon
Copy link
Contributor

dimuon commented Sep 19, 2024

Just as a side note - kibana data view also uses that combination of Default and Computed.

@tobio tobio merged commit c62d386 into main Sep 19, 2024
41 checks passed
@tobio tobio deleted the index-computed-settings branch September 19, 2024 11:00
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.

[Bug] elasticsearch_index.alias and import regressions
2 participants