Skip to content

Conversation

@romseygeek
Copy link
Contributor

Closes #49702

@romseygeek romseygeek added >non-issue :Search Foundations/Mapping Index mappings, including merging and defining field types v8.0.0 labels Nov 29, 2019
@romseygeek romseygeek self-assigned this Nov 29, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/Mapping)

Copy link
Contributor

@original-brownbear original-brownbear left a comment

Choose a reason for hiding this comment

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

LGTM :)

String index = in.readString();
if (in.getVersion().before(Version.V_8_0_0)) {
int typesSize = in.readVInt();
assert typesSize == 1;
Copy link
Contributor

Choose a reason for hiding this comment

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

NIT: Maybe add an assertion message containing the value of typesSize ?

@romseygeek romseygeek merged commit 770a794 into elastic:master Nov 29, 2019
@romseygeek romseygeek deleted the bug/types-assert branch November 29, 2019 10:33
SivagurunathanV pushed a commit to SivagurunathanV/elasticsearch that referenced this pull request Jan 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :Search Foundations/Mapping Index mappings, including merging and defining field types v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] Failure in org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT

4 participants