Skip to content

Commit cf30552

Browse files
authored
[8.x] Downgrade transport.enable_stack_protection deprecation to a warning (#124788)
This setting is not getting removed in ES 9.0, so its usage should not generate a critical deprecation warning. `TransportServiceLifecycleTests` already uses `assertWarnings` instead of `assertCriticalWarnings` and we don't distinguish between warning levels in assertions (See #80304) See #109236 See ES-11224
1 parent f0f1869 commit cf30552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public class TransportService extends AbstractLifecycleComponent
101101
"transport.enable_stack_protection",
102102
false,
103103
Setting.Property.NodeScope,
104-
Setting.Property.Deprecated
104+
Setting.Property.DeprecatedWarning
105105
);
106106

107107
private final AtomicBoolean handleIncomingRequests = new AtomicBoolean();

0 commit comments

Comments
 (0)