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 #68138

Merged
merged 2 commits into from
Jan 28, 2021

Conversation

jaymode
Copy link
Member

@jaymode jaymode commented 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

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 jaymode merged commit 84a4a87 into elastic:7.10 Jan 28, 2021
@jaymode jaymode deleted the fix_partial_indices_opts_watcher_710 branch January 28, 2021 19:22
jaymode added a commit that referenced this pull request Jan 29, 2021
This commit fixes the skip versions to end at 7.10.2 instead of 7.99.99
since the fix is now in all versions past 7.10.2 for parsing partial
indices options in watch definitions.
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.

1 participant