From 39730f080012af49da5886e70fa0ab5dcfa0c6db Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Fri, 15 Mar 2019 13:25:18 -0400 Subject: [PATCH] Remove es.cluster_state.size hard failure In 6.7.0 we introduced a system property to return the old behavior of computing and sending the compressed size of the cluster state on cluster state endpoints. In 7.0.0, we removed this behavior but hard failed usage of this system property (to clearly inform users this behavior is gone). In this commit, intending to target 8.0.0 only, we remove this detection as it should no longer be needed; that is, we now treat this as dead code. --- .../admin/cluster/state/TransportClusterStateAction.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/action/admin/cluster/state/TransportClusterStateAction.java b/server/src/main/java/org/elasticsearch/action/admin/cluster/state/TransportClusterStateAction.java index 66a74c311dff7..3248ac167fcbe 100644 --- a/server/src/main/java/org/elasticsearch/action/admin/cluster/state/TransportClusterStateAction.java +++ b/server/src/main/java/org/elasticsearch/action/admin/cluster/state/TransportClusterStateAction.java @@ -47,13 +47,6 @@ public class TransportClusterStateAction extends TransportMasterNodeReadAction