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

Allow partial indices options in watches #68076

Merged
merged 1 commit into from
Jan 28, 2021

Conversation

jaymode
Copy link
Member

@jaymode jaymode commented Jan 27, 2021

Partially defined indices options have always been allowed in watches,
but the cleanup in #65332 removed this ability and made the definition
of indices options within a watch require all fields. This change fixes
this by updating the parsing to accept a default indices options and
add test coverage for this scenario.

Closes #68022

Partially defined indices options have always been allowed in watches,
but the cleanup in elastic#65332 removed this ability and made the definition
of indices options within a watch require all fields. This change fixes
this by updating the parsing to accept a default indices options and
add test coverage for this scenario.

Closes elastic#68022
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (Team:Core/Features)

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.

Thanks Jay! LGTM

@jaymode jaymode merged commit 1dacf72 into elastic:master Jan 28, 2021
@jaymode jaymode deleted the fix_partial_indices_opts_watcher branch January 28, 2021 15:32
jaymode added a commit to jaymode/elasticsearch that referenced this pull request Jan 28, 2021
Partially defined indices options have always been allowed in watches,
but the cleanup in elastic#65332 removed this ability and made the definition
of indices options within a watch require all fields. This change fixes
this by updating the parsing to accept a default indices options and
add test coverage for this scenario.

Closes elastic#68022
Backport of elastic#68076
jaymode added a commit to jaymode/elasticsearch that referenced this pull request Jan 28, 2021
Partially defined indices options have always been allowed in watches,
but the cleanup in elastic#65332 removed this ability and made the definition
of indices options within a watch require all fields. This change fixes
this by updating the parsing to accept a default indices options and
add test coverage for this scenario.

Closes elastic#68022
Backport of elastic#68076
jaymode added a commit that referenced this pull request Jan 28, 2021
Partially defined indices options have always been allowed in watches,
but the cleanup in #65332 removed this ability and made the definition
of indices options within a watch require all fields. This change fixes
this by updating the parsing to accept a default indices options and
add test coverage for this scenario.

Closes #68022
Backport of #68076
jaymode added a commit that referenced this pull request Jan 28, 2021
Partially defined indices options have always been allowed in watches,
but the cleanup in #65332 removed this ability and made the definition
of indices options within a watch require all fields. This change fixes
this by updating the parsing to accept a default indices options and
add test coverage for this scenario.

Closes #68022
Backport of #68076
jaymode added a commit that referenced this pull request Jan 28, 2021
Partially defined indices options have always been allowed in watches,
but the cleanup in #65332 removed this ability and made the definition
of indices options within a watch require all fields. This change fixes
this by updating the parsing to accept a default indices options and
add test coverage for this scenario.

Closes #68022
Backport of #68076
jaymode added a commit to jaymode/elasticsearch that referenced this pull request Jan 28, 2021
This commit updates the skip versions used in tests that put watches
with partial indices options to only skip 7.10.1 and 7.10.2 now that
the fix has been backported.
jaymode added a commit that referenced this pull request Jan 29, 2021
This commit updates the skip versions used in tests that put watches
with partial indices options to only skip 7.10.1 and 7.10.2 now that
the fix has been backported.
@jakelandis jakelandis removed the v8.0.0 label Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants