Skip to content

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