Skip to content

Comments

Fixed text fields binary doc values breaking intake#140605

Merged
Kubik42 merged 1 commit intoelastic:mainfrom
Kubik42:intake-fix
Jan 13, 2026
Merged

Fixed text fields binary doc values breaking intake#140605
Kubik42 merged 1 commit intoelastic:mainfrom
Kubik42:intake-fix

Conversation

@Kubik42
Copy link
Contributor

@Kubik42 Kubik42 commented Jan 13, 2026

In #140471 we changed how fallback text fields are stored. At the time we got luck (unlucky?) and the CI passed. However, the intake is now breaking.

The reason for the failure is that prior to #140471 , we stored fallback text fields exclusively in binary doc values. But with #140471 , we're now switching between binary doc values and stored fields depending on whether the time series doc values format is enabled.

This PR addresses that.

@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Member

@martijnvg martijnvg left a comment

Choose a reason for hiding this comment

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

One minor comment, LGTM.

public static final IndexVersion STORE_FALLBACK_TEXT_FIELDS_IN_BINARY_DOC_VALUES = def(9_062_0_00, Version.LUCENE_10_3_2);
public static final IndexVersion STORE_FALLBACK_MOT_FIELDS_IN_BINARY_DOC_VALUES = def(9_063_0_00, Version.LUCENE_10_3_2);
public static final IndexVersion MOD_ROUTING_FUNCTION = def(9_064_0_00, Version.LUCENE_10_3_2);
public static final IndexVersion TEXT_FIELDS_BINARY_DOC_VALUES_TSDB_DOC_VALUES_FORMAT_CHECK = def(9_065_0_00, Version.LUCENE_10_3_2);
Copy link
Member

Choose a reason for hiding this comment

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

maybe a shorter constant name? TEXT_FIELDS_BINARY_DOC_VALUES_FORMAT_CHECK?

@Kubik42 Kubik42 merged commit 33d1f55 into elastic:main Jan 13, 2026
35 checks passed
@Kubik42 Kubik42 deleted the intake-fix branch January 13, 2026 20:44
spinscale pushed a commit to spinscale/elasticsearch that referenced this pull request Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants