Make TransportLocalClusterStateAction wait for cluster to unblock (#117230)

This will make `TransportLocalClusterStateAction` wait for a new state
that is not blocked. This means we need a timeout (again). For
consistency's sake, we're reusing the REST param `master_timeout` for
this timeout as well.

The only class that was using `TransportLocalClusterStateAction` was
`TransportGetAliasesAction`, so its request needed to accept a timeout
again as well.
This commit is contained in:
Niels Bauman 2024-12-04 12:17:13 +01:00 committed by GitHub
parent 4496aa0cbf
commit 032b42fcf7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 396 additions and 79 deletions

View file

@ -147,6 +147,7 @@ module org.elasticsearch.server {
exports org.elasticsearch.action.support.master;
exports org.elasticsearch.action.support.master.info;
exports org.elasticsearch.action.support.nodes;
exports org.elasticsearch.action.support.local;
exports org.elasticsearch.action.support.replication;
exports org.elasticsearch.action.support.single.instance;
exports org.elasticsearch.action.support.single.shard;