Skip to content

Warn of change of default of wait_for_active_shards#67527

Merged
DaveCTurner merged 1 commit intoelastic:7.xfrom
DaveCTurner:2021-01-14-retry-67246
Jan 14, 2021
Merged

Warn of change of default of wait_for_active_shards#67527
DaveCTurner merged 1 commit intoelastic:7.xfrom
DaveCTurner:2021-01-14-retry-67246

Conversation

@DaveCTurner
Copy link
Copy Markdown
Member

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

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 DaveCTurner added >deprecation :Distributed/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. v7.12.0 labels Jan 14, 2021
@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team. label Jan 14, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@DaveCTurner
Copy link
Copy Markdown
Member Author

See #67246 for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>deprecation :Distributed/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. Team:Distributed Meta label for distributed team. v7.12.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants