From 6358afb0cd5f11bc8bef2a33a82279636e3fbf4b Mon Sep 17 00:00:00 2001 From: Jake Landis Date: Wed, 10 Nov 2021 13:07:56 -0600 Subject: [PATCH] [7.16] Drop non-setting deprecations down to warning level (#80374) Complementary to #79665 this change will reduce the deprecation logging level to WARN for (most) all non-settings that continue to exist in 8.0+. --- .../analysis/common/CommonAnalysisPlugin.java | 12 ++++++------ .../analysis/common/SynonymTokenFilterFactory.java | 2 +- .../analysis/common/CommonAnalysisPluginTests.java | 5 +++++ .../analysis/common/CompoundAnalysisTests.java | 3 ++- .../ingest/common/BytesProcessorTests.java | 2 ++ .../org/elasticsearch/reindex/ReindexValidator.java | 2 +- .../reindex/ReindexSingleNodeTests.java | 3 ++- .../azure/classic/AzureDiscoveryPlugin.java | 2 +- .../discovery/ec2/Ec2ClientSettings.java | 4 ++-- .../discovery/ec2/AwsEc2ServiceImplTests.java | 6 +++--- .../common/logging/EvilLoggerTests.java | 4 ++-- .../alias/get/TransportGetAliasesAction.java | 2 +- .../action/search/TransportSearchAction.java | 2 +- .../metadata/MetadataCreateIndexService.java | 2 +- .../org/elasticsearch/common/time/DateUtils.java | 2 +- .../elasticsearch/common/unit/ByteSizeValue.java | 2 +- .../org/elasticsearch/index/IndexSortConfig.java | 2 +- .../org/elasticsearch/index/analysis/Analysis.java | 2 +- .../index/analysis/ShingleTokenFilterFactory.java | 4 ++-- .../index/mapper/CompletionFieldMapper.java | 2 +- .../elasticsearch/index/mapper/DateFieldMapper.java | 2 +- .../index/mapper/FieldNamesFieldMapper.java | 2 +- .../index/mapper/GeoShapeFieldMapper.java | 2 +- .../functionscore/RandomScoreFunctionBuilder.java | 2 +- .../index/similarity/SimilarityProviders.java | 2 +- .../index/similarity/SimilarityService.java | 2 +- .../indices/analysis/AnalysisModule.java | 4 ++-- .../src/main/java/org/elasticsearch/node/Node.java | 2 +- .../elasticsearch/script/AbstractSortScript.java | 4 ++-- .../org/elasticsearch/script/AggregationScript.java | 4 ++-- .../java/org/elasticsearch/script/FieldScript.java | 4 ++-- .../java/org/elasticsearch/script/ScoreScript.java | 4 ++-- .../script/ScriptedMetricAggContexts.java | 6 +++--- .../elasticsearch/script/TermsSetQueryScript.java | 4 ++-- .../AutoDateHistogramAggregatorFactory.java | 2 +- .../histogram/DateHistogramAggregatorFactory.java | 2 +- .../bucket/range/DateRangeAggregationBuilder.java | 2 +- .../terms/SignificantTermsAggregatorFactory.java | 2 +- .../completion/context/GeoContextMapping.java | 4 ++-- .../admin/indices/TransportAnalyzeActionTests.java | 9 +++++---- .../alias/get/TransportGetAliasesActionTests.java | 1 + .../metadata/MetadataCreateIndexServiceTests.java | 1 + .../elasticsearch/common/time/DateUtilsTests.java | 3 ++- .../common/unit/ByteSizeValueTests.java | 2 ++ .../elasticsearch/index/IndexSortSettingsTests.java | 2 ++ .../index/analysis/AnalysisRegistryTests.java | 11 ++++++----- .../index/mapper/CompletionFieldMapperTests.java | 2 ++ .../index/mapper/DateFieldMapperTests.java | 3 ++- .../index/mapper/FieldNamesFieldTypeTests.java | 3 ++- .../index/mapper/GeoShapeFieldMapperTests.java | 3 ++- .../functionscore/ScoreFunctionBuilderTests.java | 6 +++++- .../indices/analysis/AnalysisModuleTests.java | 7 ++++--- .../elasticsearch/search/SearchServiceTests.java | 3 ++- .../histogram/AutoDateHistogramAggregatorTests.java | 3 ++- .../histogram/DateHistogramAggregatorTests.java | 3 ++- .../bucket/range/DateRangeAggregatorTests.java | 3 ++- .../elasticsearch/index/mapper/MapperTestCase.java | 12 +++++++++--- .../test/loggerusage/ESLoggerUsageTests.java | 2 +- .../elasticsearch/query/DeprecatedQueryBuilder.java | 2 +- .../org/elasticsearch/xpack/core/XPackPlugin.java | 2 +- .../authz/permission/IndicesPermission.java | 2 +- .../core/transform/action/GetTransformAction.java | 2 +- .../transform/transforms/pivot/PivotConfig.java | 2 +- .../transform/MockDeprecatedAggregationBuilder.java | 2 +- .../core/transform/MockDeprecatedQueryBuilder.java | 2 +- .../action/GetTransformActionResponseTests.java | 3 ++- .../core/transform/transforms/QueryConfigTests.java | 3 ++- .../transform/transforms/TransformConfigTests.java | 11 ++++++----- .../transforms/pivot/AggregationConfigTests.java | 3 ++- .../transforms/pivot/PivotConfigTests.java | 3 ++- .../deprecation/TestDeprecatedQueryBuilder.java | 2 +- .../deprecation/NodeDeprecationChecksTests.java | 1 + .../index/engine/frozen/FrozenIndexTests.java | 7 ++++--- .../rest/inference/RestGetTrainedModelsAction.java | 2 +- .../xpack/ml/utils/DomainSplitFunction.java | 2 +- .../rollup/action/TransportPutRollupJobAction.java | 2 +- .../rollup/action/PutJobStateMachineTests.java | 2 ++ .../xpack/security/authc/ApiKeyService.java | 6 +++--- .../elasticsearch/xpack/security/authc/Realms.java | 2 +- .../security/authc/esnative/ReservedRealm.java | 2 +- .../authc/ldap/ActiveDirectorySessionFactory.java | 2 +- .../security/authc/ldap/support/SessionFactory.java | 2 +- .../security/authz/store/CompositeRolesStore.java | 2 +- .../store/DeprecationRoleDescriptorConsumer.java | 2 +- .../xpack/security/authc/RealmsTests.java | 1 + .../authc/ldap/support/SessionFactoryTests.java | 2 ++ .../authz/accesscontrol/IndicesPermissionTests.java | 3 +++ .../authz/store/CompositeRolesStoreTests.java | 2 ++ .../DeprecationRoleDescriptorConsumerTests.java | 2 +- .../mapper/GeoShapeWithDocValuesFieldMapper.java | 2 +- .../spatial/index/mapper/PointFieldMapper.java | 2 +- .../spatial/index/mapper/ShapeFieldMapper.java | 2 +- .../GeoShapeWithDocValuesFieldMapperTests.java | 3 ++- .../spatial/index/mapper/PointFieldMapperTests.java | 3 ++- .../spatial/index/mapper/ShapeFieldMapperTests.java | 3 ++- .../transform/transforms/pivot/PivotTests.java | 3 ++- .../vectors/mapper/SparseVectorFieldMapper.java | 2 +- .../mapper/SparseVectorFieldMapperTests.java | 13 +++++++++---- .../watcher/rest/action/RestWatcherStatsAction.java | 2 +- 99 files changed, 191 insertions(+), 127 deletions(-) diff --git a/modules/analysis-common/src/main/java/org/elasticsearch/analysis/common/CommonAnalysisPlugin.java b/modules/analysis-common/src/main/java/org/elasticsearch/analysis/common/CommonAnalysisPlugin.java index 018ac0fd37b6..0535798d1dc4 100644 --- a/modules/analysis-common/src/main/java/org/elasticsearch/analysis/common/CommonAnalysisPlugin.java +++ b/modules/analysis-common/src/main/java/org/elasticsearch/analysis/common/CommonAnalysisPlugin.java @@ -248,7 +248,7 @@ public class CommonAnalysisPlugin extends Plugin implements AnalysisPlugin, Scri filters.put("dutch_stem", DutchStemTokenFilterFactory::new); filters.put("edge_ngram", EdgeNGramTokenFilterFactory::new); filters.put("edgeNGram", (IndexSettings indexSettings, Environment environment, String name, Settings settings) -> { - deprecationLogger.critical( + deprecationLogger.warn( DeprecationCategory.ANALYSIS, "edgeNGram_deprecation", "The [edgeNGram] token filter name is deprecated and will be removed in a future version. " @@ -276,7 +276,7 @@ public class CommonAnalysisPlugin extends Plugin implements AnalysisPlugin, Scri filters.put("multiplexer", MultiplexerTokenFilterFactory::new); filters.put("ngram", NGramTokenFilterFactory::new); filters.put("nGram", (IndexSettings indexSettings, Environment environment, String name, Settings settings) -> { - deprecationLogger.critical( + deprecationLogger.warn( DeprecationCategory.ANALYSIS, "nGram_deprecation", "The [nGram] token filter name is deprecated and will be removed in a future version. " @@ -330,7 +330,7 @@ public class CommonAnalysisPlugin extends Plugin implements AnalysisPlugin, Scri tokenizers.put("thai", ThaiTokenizerFactory::new); tokenizers.put("nGram", (IndexSettings indexSettings, Environment environment, String name, Settings settings) -> { if (indexSettings.getIndexVersionCreated().onOrAfter(org.elasticsearch.Version.V_7_6_0)) { - deprecationLogger.critical( + deprecationLogger.warn( DeprecationCategory.ANALYSIS, "nGram_tokenizer_deprecation", "The [nGram] tokenizer name is deprecated and will be removed in a future version. " @@ -342,7 +342,7 @@ public class CommonAnalysisPlugin extends Plugin implements AnalysisPlugin, Scri tokenizers.put("ngram", NGramTokenizerFactory::new); tokenizers.put("edgeNGram", (IndexSettings indexSettings, Environment environment, String name, Settings settings) -> { if (indexSettings.getIndexVersionCreated().onOrAfter(org.elasticsearch.Version.V_7_6_0)) { - deprecationLogger.critical( + deprecationLogger.warn( DeprecationCategory.ANALYSIS, "edgeNGram_tokenizer_deprecation", "The [edgeNGram] tokenizer name is deprecated and will be removed in a future version. " @@ -645,7 +645,7 @@ public class CommonAnalysisPlugin extends Plugin implements AnalysisPlugin, Scri // Temporary shim for aliases. TODO deprecate after they are moved tokenizers.add(PreConfiguredTokenizer.elasticsearchVersion("nGram", (version) -> { if (version.onOrAfter(org.elasticsearch.Version.V_7_6_0)) { - deprecationLogger.critical( + deprecationLogger.warn( DeprecationCategory.ANALYSIS, "nGram_tokenizer_deprecation", "The [nGram] tokenizer name is deprecated and will be removed in a future version. " @@ -656,7 +656,7 @@ public class CommonAnalysisPlugin extends Plugin implements AnalysisPlugin, Scri })); tokenizers.add(PreConfiguredTokenizer.elasticsearchVersion("edgeNGram", (version) -> { if (version.onOrAfter(org.elasticsearch.Version.V_7_6_0)) { - deprecationLogger.critical( + deprecationLogger.warn( DeprecationCategory.ANALYSIS, "edgeNGram_tokenizer_deprecation", "The [edgeNGram] tokenizer name is deprecated and will be removed in a future version. " diff --git a/modules/analysis-common/src/main/java/org/elasticsearch/analysis/common/SynonymTokenFilterFactory.java b/modules/analysis-common/src/main/java/org/elasticsearch/analysis/common/SynonymTokenFilterFactory.java index 9a11f33adae7..319f40ab658a 100644 --- a/modules/analysis-common/src/main/java/org/elasticsearch/analysis/common/SynonymTokenFilterFactory.java +++ b/modules/analysis-common/src/main/java/org/elasticsearch/analysis/common/SynonymTokenFilterFactory.java @@ -46,7 +46,7 @@ public class SynonymTokenFilterFactory extends AbstractTokenFilterFactory { this.settings = settings; if (settings.get("ignore_case") != null) { - DEPRECATION_LOGGER.critical( + DEPRECATION_LOGGER.warn( DeprecationCategory.ANALYSIS, "synonym_ignore_case_option", "The ignore_case option on the synonym_graph filter is deprecated. " diff --git a/modules/analysis-common/src/test/java/org/elasticsearch/analysis/common/CommonAnalysisPluginTests.java b/modules/analysis-common/src/test/java/org/elasticsearch/analysis/common/CommonAnalysisPluginTests.java index 19366e97db01..62e59a84b20b 100644 --- a/modules/analysis-common/src/test/java/org/elasticsearch/analysis/common/CommonAnalysisPluginTests.java +++ b/modules/analysis-common/src/test/java/org/elasticsearch/analysis/common/CommonAnalysisPluginTests.java @@ -8,6 +8,7 @@ package org.elasticsearch.analysis.common; +import org.apache.logging.log4j.Level; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.Tokenizer; import org.elasticsearch.Version; @@ -193,6 +194,7 @@ public class CommonAnalysisPluginTests extends ESTestCase { createTestAnalysis(IndexSettingsModule.newIndexSettings("index", settings), settings, commonAnalysisPlugin); assertWarnings( + Level.WARN, "The [nGram] token filter name is deprecated and will be removed in a future version. " + "Please change the filter name to [ngram] instead." ); @@ -214,6 +216,7 @@ public class CommonAnalysisPluginTests extends ESTestCase { createTestAnalysis(IndexSettingsModule.newIndexSettings("index", settings), settings, commonAnalysisPlugin); assertWarnings( + Level.WARN, "The [edgeNGram] token filter name is deprecated and will be removed in a future version. " + "Please change the filter name to [edge_ngram] instead." ); @@ -276,6 +279,7 @@ public class CommonAnalysisPluginTests extends ESTestCase { assertNotNull(tokenizer); if (expectWarning) { assertWarnings( + Level.WARN, "The [" + deprecatedName + "] tokenizer name is deprecated and will be removed in a future version. " @@ -302,6 +306,7 @@ public class CommonAnalysisPluginTests extends ESTestCase { if (expectWarning) { assertWarnings( + Level.WARN, "The [" + deprecatedName + "] tokenizer name is deprecated and will be removed in a future version. " diff --git a/modules/analysis-common/src/test/java/org/elasticsearch/analysis/common/CompoundAnalysisTests.java b/modules/analysis-common/src/test/java/org/elasticsearch/analysis/common/CompoundAnalysisTests.java index 615519ba70dd..3b2d4d9ed131 100644 --- a/modules/analysis-common/src/test/java/org/elasticsearch/analysis/common/CompoundAnalysisTests.java +++ b/modules/analysis-common/src/test/java/org/elasticsearch/analysis/common/CompoundAnalysisTests.java @@ -8,6 +8,7 @@ package org.elasticsearch.analysis.common; +import org.apache.logging.log4j.Level; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.TokenStream; import org.apache.lucene.analysis.tokenattributes.CharTermAttribute; @@ -57,7 +58,7 @@ public class CompoundAnalysisTests extends ESTestCase { hasItems("donau", "dampf", "schiff", "donaudampfschiff", "spargel", "creme", "suppe", "spargelcremesuppe") ); } - assertWarnings("Setting [version] on analysis component [custom7] has no effect and is deprecated"); + assertWarnings(Level.WARN, "Setting [version] on analysis component [custom7] has no effect and is deprecated"); } private List analyze(Settings settings, String analyzerName, String text) throws IOException { diff --git a/modules/ingest-common/src/test/java/org/elasticsearch/ingest/common/BytesProcessorTests.java b/modules/ingest-common/src/test/java/org/elasticsearch/ingest/common/BytesProcessorTests.java index 1b35ea427c59..fc28c5f13cac 100644 --- a/modules/ingest-common/src/test/java/org/elasticsearch/ingest/common/BytesProcessorTests.java +++ b/modules/ingest-common/src/test/java/org/elasticsearch/ingest/common/BytesProcessorTests.java @@ -8,6 +8,7 @@ package org.elasticsearch.ingest.common; +import org.apache.logging.log4j.Level; import org.elasticsearch.ElasticsearchException; import org.elasticsearch.common.unit.ByteSizeUnit; import org.elasticsearch.common.unit.ByteSizeValue; @@ -84,6 +85,7 @@ public class BytesProcessorTests extends AbstractStringProcessorTestCase { processor.execute(ingestDocument); assertThat(ingestDocument.getFieldValue(fieldName, expectedResultType()), equalTo(1126L)); assertWarnings( + Level.WARN, "Fractional bytes values are deprecated. Use non-fractional bytes values instead: [1.1kb] found for setting " + "[Ingest Field]" ); } diff --git a/modules/reindex/src/main/java/org/elasticsearch/reindex/ReindexValidator.java b/modules/reindex/src/main/java/org/elasticsearch/reindex/ReindexValidator.java index ae281c262bb9..aad38f64f64a 100644 --- a/modules/reindex/src/main/java/org/elasticsearch/reindex/ReindexValidator.java +++ b/modules/reindex/src/main/java/org/elasticsearch/reindex/ReindexValidator.java @@ -68,7 +68,7 @@ public class ReindexValidator { ); SearchSourceBuilder searchSource = request.getSearchRequest().source(); if (searchSource != null && searchSource.sorts() != null && searchSource.sorts().isEmpty() == false) { - deprecationLogger.critical(DeprecationCategory.API, "reindex_sort", SORT_DEPRECATED_MESSAGE); + deprecationLogger.warn(DeprecationCategory.API, "reindex_sort", SORT_DEPRECATED_MESSAGE); } } diff --git a/modules/reindex/src/test/java/org/elasticsearch/reindex/ReindexSingleNodeTests.java b/modules/reindex/src/test/java/org/elasticsearch/reindex/ReindexSingleNodeTests.java index a4f1c9f24ac0..e1f71af2fc16 100644 --- a/modules/reindex/src/test/java/org/elasticsearch/reindex/ReindexSingleNodeTests.java +++ b/modules/reindex/src/test/java/org/elasticsearch/reindex/ReindexSingleNodeTests.java @@ -8,6 +8,7 @@ package org.elasticsearch.reindex; +import org.apache.logging.log4j.Level; import org.elasticsearch.index.query.RangeQueryBuilder; import org.elasticsearch.index.reindex.ReindexAction; import org.elasticsearch.index.reindex.ReindexRequestBuilder; @@ -47,6 +48,6 @@ public class ReindexSingleNodeTests extends ESSingleNodeTestCase { assertHitCount(client().prepareSearch("dest").setSize(0).get(), subsetSize); assertHitCount(client().prepareSearch("dest").setQuery(new RangeQueryBuilder("foo").gte(0).lt(max - subsetSize)).get(), 0); - assertWarnings(ReindexValidator.SORT_DEPRECATED_MESSAGE); + assertWarnings(Level.WARN, ReindexValidator.SORT_DEPRECATED_MESSAGE); } } diff --git a/plugins/discovery-azure-classic/src/main/java/org/elasticsearch/plugin/discovery/azure/classic/AzureDiscoveryPlugin.java b/plugins/discovery-azure-classic/src/main/java/org/elasticsearch/plugin/discovery/azure/classic/AzureDiscoveryPlugin.java index cb050b439440..213fe6909f5a 100644 --- a/plugins/discovery-azure-classic/src/main/java/org/elasticsearch/plugin/discovery/azure/classic/AzureDiscoveryPlugin.java +++ b/plugins/discovery-azure-classic/src/main/java/org/elasticsearch/plugin/discovery/azure/classic/AzureDiscoveryPlugin.java @@ -38,7 +38,7 @@ public class AzureDiscoveryPlugin extends Plugin implements DiscoveryPlugin { public AzureDiscoveryPlugin(Settings settings) { this.settings = settings; - deprecationLogger.critical(DeprecationCategory.PLUGINS, "azure_discovery_plugin", "azure classic discovery plugin is deprecated."); + deprecationLogger.warn(DeprecationCategory.PLUGINS, "azure_discovery_plugin", "azure classic discovery plugin is deprecated."); logger.trace("starting azure classic discovery plugin..."); } diff --git a/plugins/discovery-ec2/src/main/java/org/elasticsearch/discovery/ec2/Ec2ClientSettings.java b/plugins/discovery-ec2/src/main/java/org/elasticsearch/discovery/ec2/Ec2ClientSettings.java index 1d13cbbd13ec..b32015bfc272 100644 --- a/plugins/discovery-ec2/src/main/java/org/elasticsearch/discovery/ec2/Ec2ClientSettings.java +++ b/plugins/discovery-ec2/src/main/java/org/elasticsearch/discovery/ec2/Ec2ClientSettings.java @@ -151,7 +151,7 @@ final class Ec2ClientSettings { return null; } else { if (key.length() == 0) { - deprecationLogger.critical( + deprecationLogger.warn( DeprecationCategory.SETTINGS, "ec2_invalid_settings", "Setting [{}] is set but [{}] is not, which will be unsupported in future", @@ -160,7 +160,7 @@ final class Ec2ClientSettings { ); } if (secret.length() == 0) { - deprecationLogger.critical( + deprecationLogger.warn( DeprecationCategory.SETTINGS, "ec2_invalid_settings", "Setting [{}] is set but [{}] is not, which will be unsupported in future", diff --git a/plugins/discovery-ec2/src/test/java/org/elasticsearch/discovery/ec2/AwsEc2ServiceImplTests.java b/plugins/discovery-ec2/src/test/java/org/elasticsearch/discovery/ec2/AwsEc2ServiceImplTests.java index d91eaaea62ff..9a0aa07cf894 100644 --- a/plugins/discovery-ec2/src/test/java/org/elasticsearch/discovery/ec2/AwsEc2ServiceImplTests.java +++ b/plugins/discovery-ec2/src/test/java/org/elasticsearch/discovery/ec2/AwsEc2ServiceImplTests.java @@ -15,7 +15,7 @@ import com.amazonaws.auth.AWSCredentialsProvider; import com.amazonaws.auth.BasicSessionCredentials; import com.amazonaws.auth.DefaultAWSCredentialsProviderChain; -import org.elasticsearch.common.logging.DeprecationLogger; +import org.apache.logging.log4j.Level; import org.elasticsearch.common.settings.MockSecureSettings; import org.elasticsearch.common.settings.Setting; import org.elasticsearch.common.settings.Settings; @@ -73,7 +73,7 @@ public class AwsEc2ServiceImplTests extends ESTestCase { assertSettingDeprecationsAndWarnings( new Setting[] {}, new DeprecationWarning( - DeprecationLogger.CRITICAL, + Level.WARN, "Setting [discovery.ec2.access_key] is set but " + "[discovery.ec2.secret_key] is not, which will be unsupported in future" ) ); @@ -91,7 +91,7 @@ public class AwsEc2ServiceImplTests extends ESTestCase { assertSettingDeprecationsAndWarnings( new Setting[] {}, new DeprecationWarning( - DeprecationLogger.CRITICAL, + Level.WARN, "Setting [discovery.ec2.secret_key] is set but " + "[discovery.ec2.access_key] is not, which will be unsupported in future" ) ); diff --git a/qa/evil-tests/src/test/java/org/elasticsearch/common/logging/EvilLoggerTests.java b/qa/evil-tests/src/test/java/org/elasticsearch/common/logging/EvilLoggerTests.java index 83e8f7141af6..98394b295c70 100644 --- a/qa/evil-tests/src/test/java/org/elasticsearch/common/logging/EvilLoggerTests.java +++ b/qa/evil-tests/src/test/java/org/elasticsearch/common/logging/EvilLoggerTests.java @@ -115,7 +115,7 @@ public class EvilLoggerTests extends ESTestCase { } for (int j = 0; j < iterations; j++) { for (final Integer id : ids) { - deprecationLogger.critical( + deprecationLogger.warn( DeprecationCategory.OTHER, Integer.toString(id), "This is a maybe logged deprecation message" + id @@ -167,7 +167,7 @@ public class EvilLoggerTests extends ESTestCase { for (int i = 0; i < 128; i++) { assertLogLine( deprecationEvents.get(i), - DeprecationLogger.CRITICAL, + Level.WARN, "org.elasticsearch.common.logging.DeprecationLogger.logDeprecation", "This is a maybe logged deprecation message" + i ); diff --git a/server/src/main/java/org/elasticsearch/action/admin/indices/alias/get/TransportGetAliasesAction.java b/server/src/main/java/org/elasticsearch/action/admin/indices/alias/get/TransportGetAliasesAction.java index 1ec7090e3c40..49a9e3525850 100644 --- a/server/src/main/java/org/elasticsearch/action/admin/indices/alias/get/TransportGetAliasesAction.java +++ b/server/src/main/java/org/elasticsearch/action/admin/indices/alias/get/TransportGetAliasesAction.java @@ -227,7 +227,7 @@ public class TransportGetAliasesAction extends TransportMasterNodeReadAction