Skip to content

Always check if index mode is logsdb#116922

Merged
salvatore-campagna merged 2 commits intoelastic:mainfrom
salvatore-campagna:fix/logsdb-and-condition
Nov 18, 2024
Merged

Always check if index mode is logsdb#116922
salvatore-campagna merged 2 commits intoelastic:mainfrom
salvatore-campagna:fix/logsdb-and-condition

Conversation

@salvatore-campagna
Copy link
Contributor

@salvatore-campagna salvatore-campagna commented Nov 18, 2024

We need to check the index mode no matter the index creation version.
The way the condition was written before relies on precedence rules with
&& and ||.

In the backport there is only one condition when it comes to index version.
As a result, there is no need to backport this change.

See #116810

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

@elasticsearchmachine
Copy link
Collaborator

Hi @salvatore-campagna, I've created a changelog YAML for you.

@salvatore-campagna salvatore-campagna merged commit 595230e into elastic:main Nov 18, 2024
alexey-ivanov-es pushed a commit to alexey-ivanov-es/elasticsearch that referenced this pull request Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment