Skip to content

Reindex sort deprecation warning take 2#49855

Merged
henningandersen merged 1 commit intoelastic:masterfrom
henningandersen:enhance_reindex_sort_deprecation
Dec 6, 2019
Merged

Reindex sort deprecation warning take 2#49855
henningandersen merged 1 commit intoelastic:masterfrom
henningandersen:enhance_reindex_sort_deprecation

Conversation

@henningandersen
Copy link
Copy Markdown
Contributor

Moved the deprecation warning to ReindexValidator to ensure it runs
early and works with resilient reindex. Also check that the warning
is reported back also for wait_for_completion=false.

Follow-up to #49458

Did this in master since it seems more logical to check if sort is
specified in the ReindexValidator. The change fixes a test issue in
the reindex_v2 feature branch.

Moved the deprecation warning to ReindexValidator to ensure it runs
early and works with resilient reindex. Also check that the warning
is reported back also for wait_for_completion=false.

Follow-up to elastic#49458
@henningandersen henningandersen added >enhancement v8.0.0 :Distributed/Reindex Issues relating to reindex that are not caused by issues further down v7.6.0 labels Dec 5, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (:Distributed/Reindex)

Copy link
Copy Markdown
Contributor

@Tim-Brooks Tim-Brooks left a comment

Choose a reason for hiding this comment

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

LGTM

@henningandersen henningandersen merged commit 67529c9 into elastic:master Dec 6, 2019
henningandersen added a commit to henningandersen/elasticsearch that referenced this pull request Dec 6, 2019
Moved the deprecation warning to ReindexValidator to ensure it runs
early and works with resilient reindex. Also check that the warning
is reported back for wait_for_completion=false.

Follow-up to elastic#49458
henningandersen added a commit that referenced this pull request Dec 6, 2019
Moved the deprecation warning to ReindexValidator to ensure it runs
early and works with resilient reindex. Also check that the warning
is reported back for wait_for_completion=false.

Follow-up to #49458
SivagurunathanV pushed a commit to SivagurunathanV/elasticsearch that referenced this pull request Jan 23, 2020
Moved the deprecation warning to ReindexValidator to ensure it runs
early and works with resilient reindex. Also check that the warning
is reported back for wait_for_completion=false.

Follow-up to elastic#49458
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Reindex Issues relating to reindex that are not caused by issues further down >enhancement v7.6.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants