-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Undocumented(?) change in default for wait_for_active_shards on close index requests #66419
Copy link
Copy link
Closed
Closed
Copy link
Labels
:Distributed/DistributedA catch all label for anything in the Distributed Area. Please avoid if you can.A catch all label for anything in the Distributed Area. Please avoid if you can.>bugTeam:DistributedMeta label for distributed team.Meta label for distributed team.blockerv8.0.0-alpha1
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Distributed/DistributedA catch all label for anything in the Distributed Area. Please avoid if you can.A catch all label for anything in the Distributed Area. Please avoid if you can.>bugTeam:DistributedMeta label for distributed team.Meta label for distributed team.blockerv8.0.0-alpha1
Type
Fields
Give feedbackNo fields configured for issues without a type.