-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Permit wait_for_active_shards warnings in master #67498
Merged
DaveCTurner
merged 1 commit into
elastic:master
from
DaveCTurner:2021-01-13-permit-wait_for_active_shards-warnings-in-master
Jan 14, 2021
Merged
Permit wait_for_active_shards warnings in master #67498
DaveCTurner
merged 1 commit into
elastic:master
from
DaveCTurner:2021-01-13-permit-wait_for_active_shards-warnings-in-master
Jan 14, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Part of the fixes for elastic#66419, this commit permits nodes to emit the deprecation warning regarding not specifying `?wait_for_active_shards` when closing an index in 7.x versions for x ≥ 12. This change is required on `master` too since the BWC tests encounter these warnings. Relates elastic#67246, which is the 7.x part of this change.
DaveCTurner
added
>test
Issues or PRs that are addressing/adding tests
:Distributed Indexing/Distributed
A catch all label for anything in the Distributed Area. Please avoid if you can.
v8.0.0
labels
Jan 14, 2021
elasticmachine
added
the
Team:Distributed
Meta label for distributed team (obsolete)
label
Jan 14, 2021
Pinging @elastic/es-distributed (Team:Distributed) |
@elasticmachine please run elasticsearch-ci/2 (failure is #66278) |
tlrx
approved these changes
Jan 14, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🤞
DaveCTurner
deleted the
2021-01-13-permit-wait_for_active_shards-warnings-in-master
branch
January 14, 2021 15:55
Thanks @tlrx, 🤞 indeed. |
DaveCTurner
added a commit
to DaveCTurner/elasticsearch
that referenced
this pull request
Jan 14, 2021
In 7.x the close indices API defaults to `?wait_for_active_shards=0` but from 8.0 it will default to respecting the index settings instead. This commit introduces the `index-setting` value for this parameter on this API allowing users to opt-in to the future behaviour today, and starts to emit a deprecation warning for users that use the default. Relates elastic#67158 Retry of elastic#67246 now that elastic#67498 is merged to `master` Closes elastic#66419
DaveCTurner
added a commit
that referenced
this pull request
Jan 14, 2021
In 7.x the close indices API defaults to `?wait_for_active_shards=0` but from 8.0 it will default to respecting the index settings instead. This commit introduces the `index-setting` value for this parameter on this API allowing users to opt-in to the future behaviour today, and starts to emit a deprecation warning for users that use the default. Relates #67158 Retry of #67246 now that #67498 is merged to `master` Closes #66419
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
:Distributed Indexing/Distributed
A catch all label for anything in the Distributed Area. Please avoid if you can.
Team:Distributed
Meta label for distributed team (obsolete)
>test
Issues or PRs that are addressing/adding tests
v8.0.0-alpha1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Part of the fixes for #66419, this commit permits nodes to emit the
deprecation warning regarding not specifying
?wait_for_active_shards
when closing an index in 7.x versions for x ≥ 12. This change is
required on
master
too since the BWC tests encounter these warnings.Relates #67246, which is the 7.x part of this change.