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

Introduce a setting to skip using ignoredSource #112940

Closed
salvatore-campagna opened this issue Sep 16, 2024 · 1 comment · Fixed by #112963
Closed

Introduce a setting to skip using ignoredSource #112940

salvatore-campagna opened this issue Sep 16, 2024 · 1 comment · Fixed by #112963

Comments

@salvatore-campagna
Copy link
Contributor

salvatore-campagna commented Sep 16, 2024

Description

IgnoredSource uses special logic to handle ignored values and encodes them at indexing time to later be able to return reconstructed source including ignored field values. We experienced some issues with it, affecting the decoding logic, and decided to introduce a mechanism that allows us to disable its usage. We need to do that both at index and query time. This setting is meant to be used as a "last-resourt" option to deal with possible issues affecting document indexing or queries.

The default behavior should be such that ignoredSource is used both at indexing time and query time. Not using the field at indexing or query time should be possible by changing the setting value.

Issues have been observer in clusters running version 8.15.0 and 8.15.1. As a result we need to make sure the bug fix is backported to 8.15.2.

@elasticsearchmachine
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants