Skip to content

[8.x] Downgrade transport.enable_stack_protection deprecation to a warning#124788

Merged
arteam merged 1 commit intoelastic:8.xfrom
arteam:transport-enable-stack-protection-deprecated-warning
Mar 14, 2025
Merged

[8.x] Downgrade transport.enable_stack_protection deprecation to a warning#124788
arteam merged 1 commit intoelastic:8.xfrom
arteam:transport-enable-stack-protection-deprecated-warning

Conversation

@arteam
Copy link
Copy Markdown
Contributor

@arteam arteam commented Mar 13, 2025

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

…warning

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 elastic#80304)

See elastic#109236
See ES-11224
@arteam arteam added >non-issue :Distributed/Network Http and internode communication implementations labels Mar 13, 2025
@arteam arteam marked this pull request as ready for review March 13, 2025 20:15
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination)

@elasticsearchmachine elasticsearchmachine added the Team:Distributed Coordination (obsolete) Meta label for Distributed Coordination team. Obsolete. Please do not use. label Mar 13, 2025
Copy link
Copy Markdown
Contributor

@nicktindall nicktindall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I wonder if we should remove assertCriticalWarnings and just migrate to using assertWarnings across the board (in a separate PR), it's a bit confusing how that passes (I had to stare at it for a bit until I realised the equals method for DeprecationWarning doesn't include the level).

@arteam arteam merged commit cf30552 into elastic:8.x Mar 14, 2025
15 checks passed
@arteam arteam deleted the transport-enable-stack-protection-deprecated-warning branch March 14, 2025 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Network Http and internode communication implementations >non-issue Team:Distributed Coordination (obsolete) Meta label for Distributed Coordination team. Obsolete. Please do not use. v8.19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants