Skip to content

Conversation

@salvatore-campagna
Copy link
Contributor

Backports the following commits to 8.x:

…stic#120096)

Here we move the `index.mapping.source.mode` setting to `IndexSettings` because of dependencies
and because of the initialisation order of static fields for classes `IndexSettings` and `SourceFieldMapper`.
Not initialising settings `index.mode`, `index.mapping.source.mode`, and `index.recovery.use_synthetic_source`
in the right order results in multiple `NullPointerException`.

This work is done to simplify another PR elastic#119110
@salvatore-campagna salvatore-campagna added :StorageEngine/Logs You know, for Logs >non-issue auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:StorageEngine labels Jan 14, 2025
@elasticsearchmachine elasticsearchmachine merged commit 051305f into elastic:8.x Jan 14, 2025
15 checks passed
@salvatore-campagna salvatore-campagna deleted the backport/8.x/pr-120096 branch January 14, 2025 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >non-issue :StorageEngine/Logs You know, for Logs Team:StorageEngine v8.18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants