mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
Revert "[7.x] Use query param instead of a system property for opting in for new cluster health response code (#79397)" (#79432)
This reverts commit fbe49d15b0
.
This commit is contained in:
parent
3bd8055370
commit
bcaf956e49
14 changed files with 59 additions and 113 deletions
|
@ -37,13 +37,13 @@ import org.elasticsearch.cluster.routing.allocation.decider.EnableAllocationDeci
|
|||
import org.elasticsearch.common.compress.CompressedXContent;
|
||||
import org.elasticsearch.common.settings.Settings;
|
||||
import org.elasticsearch.common.unit.ByteSizeUnit;
|
||||
import org.elasticsearch.common.xcontent.support.XContentMapValues;
|
||||
import org.elasticsearch.core.TimeValue;
|
||||
import org.elasticsearch.xcontent.XContentType;
|
||||
import org.elasticsearch.common.xcontent.support.XContentMapValues;
|
||||
import org.elasticsearch.indices.recovery.RecoverySettings;
|
||||
import org.elasticsearch.rest.RestStatus;
|
||||
import org.elasticsearch.transport.RemoteClusterService;
|
||||
import org.elasticsearch.transport.SniffConnectionStrategy;
|
||||
import org.elasticsearch.xcontent.XContentType;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Collections;
|
||||
|
@ -317,7 +317,7 @@ public class ClusterClientIT extends ESRestHighLevelClientTestCase {
|
|||
assertThat(response.getStatus(), equalTo(ClusterHealthStatus.RED));
|
||||
assertNoIndices(response);
|
||||
assertWarnings("The HTTP status code for a cluster health timeout will be changed from 408 to 200 in a " +
|
||||
"future version. Set the [return_200_for_cluster_health_timeout] query parameter to [true] to suppress this message and " +
|
||||
"future version. Set the [es.cluster_health.request_timeout_200] system property to [true] to suppress this message and " +
|
||||
"opt in to the future behaviour now.");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue