-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Closed
Copy link
Labels
:Core/Infra/CoreCore issues without another labelCore issues without another label>bugFeature:Upgrade AssistantTeam:Core/InfraMeta label for core/infra teamMeta label for core/infra team
Description
If you set a deprecated affix setting (e.g. in 8.19) ...
PUT /_cluster/settings
{
"persistent": {
"tracing.apm.agent.transaction_sample_rate": 1.0
}
}
... then this is not reported by GET /_migration/deprecations:
{
"cluster_settings" : [ ],
"node_settings" : [ ],
"ml_settings" : [ ],
"ilm_policies" : { },
"data_streams" : { },
"index_settings" : { },
"templates" : { }
}
The problem is a UOE here (which is silently dropped):
Caused by: java.lang.UnsupportedOperationException: affix settings can't return values use #getConcreteSetting to obtain a concrete setting
at [email protected]/org.elasticsearch.common.settings.Setting$AffixSetting.get(Setting.java:1022)
at [email protected]/org.elasticsearch.xpack.deprecation.NodeDeprecationChecks.checkRemovedSetting(NodeDeprecationChecks.java:150)
at [email protected]/org.elasticsearch.xpack.deprecation.NodeDeprecationChecks.checkMultipleRemovedSettings(NodeDeprecationChecks.java:179)
at [email protected]/org.elasticsearch.xpack.deprecation.NodeDeprecationChecks.checkTracingApmSettings(NodeDeprecationChecks.java:1073)
at [email protected]/org.elasticsearch.xpack.deprecation.TransportNodeDeprecationCheckAction.lambda$nodeOperation$3(TransportNodeDeprecationCheckAction.java:135)
Metadata
Metadata
Assignees
Labels
:Core/Infra/CoreCore issues without another labelCore issues without another label>bugFeature:Upgrade AssistantTeam:Core/InfraMeta label for core/infra teamMeta label for core/infra team