Skip to content

Undocumented(?) change in default for wait_for_active_shards on close index requests #66419

Closed
@DaveCTurner

Description

@DaveCTurner

In 7.x the default for ?wait_for_active_shards on a POST /index/_close request is NONE (i.e. do not wait) whereas in 8.0 it defaults to DEFAULT (i.e. whatever the index metadata says). I took a quick look at the breaking changes docs for 8.0 and didn't see this mentioned, and nor do I see anywhere that we're emitting deprecation logs indicating the change in behaviour.

This caught me out when writing some tests (see #66415). Should we consider this a breaking change and warn on cases where folk are relying on it? Perhaps not, it might not break anything. I'm opening this issue to remind us to discuss it at some point before releasing 8.0.

@tlrx WDYT?

Metadata

Metadata

Assignees

Labels

:Distributed Indexing/DistributedA catch all label for anything in the Distributed Indexing Area. Please avoid if you can.>bugTeam:Distributed (Obsolete)Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.blockerv8.0.0-alpha1

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions