Skip to content

Commit 0e14e71

Browse files
Deprecate variable-size receive predictor
With this commit we deprecate the following settings: * http.netty.receive_predictor_min * http.netty.receive_predictor_max These settings are undocumented and will be removed with Elasticsearch 7.0. Relates #26165
1 parent 181c970 commit 0e14e71

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

modules/transport-netty4/src/main/java/org/elasticsearch/http/netty4/Netty4HttpServerTransport.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,18 @@ public class Netty4HttpServerTransport extends AbstractLifecycleComponent implem
132132

133133
public static final Setting<ByteSizeValue> SETTING_HTTP_NETTY_RECEIVE_PREDICTOR_SIZE =
134134
Setting.byteSizeSetting("http.netty.receive_predictor_size", new ByteSizeValue(64, ByteSizeUnit.KB), Property.NodeScope);
135+
136+
/**
137+
* @deprecated This (undocumented) setting is deprecated to reduce complexity and is removed in 7.0. See #26165 for details.
138+
*/
139+
@Deprecated
135140
public static final Setting<ByteSizeValue> SETTING_HTTP_NETTY_RECEIVE_PREDICTOR_MIN =
136141
byteSizeSetting("http.netty.receive_predictor_min", SETTING_HTTP_NETTY_RECEIVE_PREDICTOR_SIZE, Property.NodeScope);
142+
143+
/**
144+
* @deprecated This (undocumented) setting is deprecated to reduce complexity and is removed in 7.0. See #26165 for details.
145+
*/
146+
@Deprecated
137147
public static final Setting<ByteSizeValue> SETTING_HTTP_NETTY_RECEIVE_PREDICTOR_MAX =
138148
byteSizeSetting("http.netty.receive_predictor_max", SETTING_HTTP_NETTY_RECEIVE_PREDICTOR_SIZE, Property.NodeScope);
139149

0 commit comments

Comments
 (0)