Skip to content

Commit 13e06a8

Browse files
committed
Mark transport.enable_stack_protection to be deprecated in v10
See #109236 See ES-11224
1 parent 6036a1e commit 13e06a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/src/main/java/org/elasticsearch/transport/TransportService.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
import org.elasticsearch.core.Predicates;
4444
import org.elasticsearch.core.Releasable;
4545
import org.elasticsearch.core.TimeValue;
46+
import org.elasticsearch.core.UpdateForV10;
4647
import org.elasticsearch.node.NodeClosedException;
4748
import org.elasticsearch.node.ReportingService;
4849
import org.elasticsearch.tasks.Task;
@@ -94,6 +95,7 @@ public class TransportService extends AbstractLifecycleComponent
9495
* Undocumented on purpose, may be removed at any time. Only use this if instructed to do so, can have other unintended consequences
9596
* including deadlocks.
9697
*/
98+
@UpdateForV10(owner = UpdateForV10.Owner.DISTRIBUTED_COORDINATION)
9799
public static final Setting<Boolean> ENABLE_STACK_OVERFLOW_AVOIDANCE = Setting.boolSetting(
98100
"transport.enable_stack_protection",
99101
false,

0 commit comments

Comments
 (0)