Closed
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?