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

Remove tasks module to define tasks system index #61540

Merged
merged 1 commit into from
Aug 26, 2020

Conversation

jaymode
Copy link
Member

@jaymode jaymode commented Aug 25, 2020

This commit removes the tasks module that only existed to define the
tasks result index, .tasks, as a system index. The definition for
the tasks results system index descriptor is moved to the
SystemIndices class with a check that no other plugin or module
attempts to define an entry with the same source.

Additionally, this change also makes the pattern for the tasks result
index a wildcard pattern since we will need this when the index is
upgraded (reindex to new name and then alias that to .tasks).

This commit removes the tasks module that only existed to define the
tasks result index, `.tasks`,  as a system index. The definition for
the tasks results system index descriptor is moved to the
`SystemIndices` class with a check that no other plugin or module
attempts to define an entry with the same source.

Additionally, this change also makes the pattern for the tasks result
index a wildcard pattern since we will need this when the index is
upgraded (reindex to new name and then alias that to .tasks).
@jaymode jaymode added >non-issue :Core/Infra/Core Core issues without another label v8.0.0 Team:Core/Infra Meta label for core/infra team v7.10.0 labels Aug 25, 2020
@jaymode jaymode requested a review from gwbrown August 25, 2020 15:59
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Core)

Copy link
Contributor

@gwbrown gwbrown left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for this cleanup.

@jaymode jaymode merged commit 25a870b into elastic:master Aug 26, 2020
@jaymode jaymode deleted the remove_tasks_module branch August 26, 2020 14:34
jaymode added a commit that referenced this pull request Aug 26, 2020
This commit removes the tasks module that only existed to define the
tasks result index, `.tasks`,  as a system index. The definition for
the tasks results system index descriptor is moved to the
`SystemIndices` class with a check that no other plugin or module
attempts to define an entry with the same source.

Additionally, this change also makes the pattern for the tasks result
index a wildcard pattern since we will need this when the index is
upgraded (reindex to new name and then alias that to .tasks).

Backport of #61540
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Core Core issues without another label >non-issue Team:Core/Infra Meta label for core/infra team v7.10.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants