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

Restore a noop _all metadata field for 6x indices #37808

Merged
merged 16 commits into from
Jan 30, 2019

Conversation

jimczi
Copy link
Contributor

@jimczi jimczi commented Jan 24, 2019

This commit restores a noop version of the AllFieldMapper that is instanciated only
for indices created in 6x. We need this metadata field mapper to be present in this version
in order to allow the upgrade of indices that explicitly disable _all (enabled: false).
The mapping of these indices contains a reference to the _all field that we cannot remove
in 7 so we'll need to keep this metadata mapper in 7x. Since indices created in 6x will not
be compatible with 8, we'll remove this noop mapper in the next major version.

Closes #37429

dakrone and others added 3 commits January 23, 2019 14:20
This commit restores a noop version of the AllFieldMapper that is instanciated only
for indices created in 6x. We need this metadata field mapper to be present in this version
in order to allow the upgrade of indices that explicitly disable _all (enabled: false).
The mapping of these indices contains a reference to the _all field that we cannot remove
in 7 so we'll need to keep this metadata mapper in 7x. Since indices created in 6x will not
be compatible with 8, we'll remove this noop mapper in the next major version.

Closes elastic#37429
@jimczi jimczi added >bug :Search Foundations/Mapping Index mappings, including merging and defining field types v7.0.0 labels Jan 24, 2019
@jimczi jimczi requested a review from jpountz January 24, 2019 10:34
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

Copy link
Contributor

@jpountz jpountz left a comment

Choose a reason for hiding this comment

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

Thanks @jimczi.

@jimczi
Copy link
Contributor Author

jimczi commented Jan 25, 2019

Jenkins run elasticsearch-ci/1

@jimczi
Copy link
Contributor Author

jimczi commented Jan 28, 2019

Jenkins run elasticsearch-ci/2

1 similar comment
@jimczi
Copy link
Contributor Author

jimczi commented Jan 28, 2019

Jenkins run elasticsearch-ci/2

@jimczi
Copy link
Contributor Author

jimczi commented Jan 29, 2019

Jenkins run elasticsearch-ci/2

@jimczi jimczi merged commit 5dcc805 into elastic:master Jan 30, 2019
@jimczi jimczi deleted the all_field_bug branch January 30, 2019 07:45
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Jan 30, 2019
* master: (29 commits)
  Fix limit on retaining sequence number (elastic#37992)
  Docs test fix, wait for shards active.
  Revert "Revert "Documented default values for index follow request parameters. (elastic#37917)""
  Revert "Documented default values for index follow request parameters. (elastic#37917)"
  Ensure date parsing BWC compatibility (elastic#37929)
  SQL: Skip the nested and object field types in case of an ODBC request (elastic#37948)
  Use mappings to format doc-value fields by default. (elastic#30831)
  Give precedence to index creation when mixing typed templates with typeless index creation and vice-versa. (elastic#37871)
  Add classifier to tar.gz in docker compose (elastic#38011)
  Documented default values for index follow request parameters. (elastic#37917)
  Fix fetch source option in expand search phase (elastic#37908)
  Restore a noop _all metadata field for 6x indices (elastic#37808)
  Added ccr to xpack usage infrastructure (elastic#37256)
  Fix exit code for Security CLI tools  (elastic#37956)
  Streamline S3 Repository- and Client-Settings (elastic#37393)
  Add version 6.6.1 (elastic#37975)
  Ensure task metadata not null in follow test (elastic#37993)
  Docs fix - missing callout
  Types removal - deprecate include_type_name with index templates (elastic#37484)
  Handle completion suggestion without contexts
  ...
jimczi added a commit to jimczi/elasticsearch that referenced this pull request Apr 23, 2019
This commit adapts the rolling upgrade test introduced in elastic#37808
to ignore runs that upgrade from a version on or after 7.0.

Closes elastic#41453
jimczi added a commit that referenced this pull request Apr 27, 2019
This commit adapts the rolling upgrade test introduced in #37808
to ignore runs that upgrade from a version on or after 7.0.

Closes #41453
jimczi added a commit that referenced this pull request Apr 27, 2019
This commit adapts the rolling upgrade test introduced in #37808
to ignore runs that upgrade from a version on or after 7.0.

Closes #41453
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search Foundations/Mapping Index mappings, including merging and defining field types v7.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants