@@ -219,7 +219,7 @@ static DeprecationIssue checkImplicitlyDisabledBasicRealms(final Settings settin
219
219
return new DeprecationIssue (
220
220
DeprecationIssue .Level .WARNING ,
221
221
"File and/or native realms are enabled by default in next major release." ,
222
- "https://www.elastic.co/guide/en/elasticsearch/reference/7.13/deprecated -7.13.html#implicitly-disabled-basic-realms " ,
222
+ "https://www.elastic.co/guide/en/elasticsearch/reference/7.15/migrating -7.13.html#breaking_713_security_changes " ,
223
223
details ,
224
224
false ,
225
225
null
@@ -245,7 +245,7 @@ static DeprecationIssue checkReservedPrefixedRealmNames(final Settings settings,
245
245
return new DeprecationIssue (
246
246
DeprecationIssue .Level .WARNING ,
247
247
"Realm names cannot start with [" + RESERVED_REALM_NAME_PREFIX + "] in a future major release." ,
248
- "https://www.elastic.co/guide/en/elasticsearch/reference/ 7.14/deprecated-7.14. html#reserved-prefixed-realm-names " ,
248
+ "https://www.elastic.co/guide/en/elastic-stack/ 7.14/elasticsearch-breaking-changes. html#breaking_714_security_changes " ,
249
249
String .format (Locale .ROOT , "Found realm " + (reservedPrefixedRealmIdentifiers .size () == 1 ? "name" : "names" )
250
250
+ " with reserved prefix [%s]: [%s]. "
251
251
+ "In a future major release, node will fail to start if any realm names start with reserved prefix." ,
@@ -507,7 +507,7 @@ static DeprecationIssue checkMultipleDataPaths(Settings nodeSettings, PluginsAnd
507
507
if (dataPaths .size () > 1 ) {
508
508
return new DeprecationIssue (DeprecationIssue .Level .CRITICAL ,
509
509
"multiple [path.data] entries are deprecated, use a single data directory" ,
510
- "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking-changes-8.0. html#breaking_80_packaging_changes " ,
510
+ "https://www.elastic.co/guide/en/elasticsearch/reference/7.15/modules-node. html#max-local-storage-nodes " ,
511
511
"Multiple data paths are deprecated. Instead, use RAID or other system level features to utilize multiple disks." ,
512
512
false , null );
513
513
}
@@ -519,7 +519,7 @@ static DeprecationIssue checkDataPathsList(Settings nodeSettings, PluginsAndModu
519
519
if (Environment .dataPathUsesList (nodeSettings )) {
520
520
return new DeprecationIssue (DeprecationIssue .Level .CRITICAL ,
521
521
"[path.data] in a list is deprecated, use a string value" ,
522
- "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking-changes-8.0. html#breaking_80_packaging_changes " ,
522
+ "https://www.elastic.co/guide/en/elasticsearch/reference/7.15/modules-node. html#max-local-storage-nodes " ,
523
523
"Configuring [path.data] with a list is deprecated. Instead specify as a string value." , false , null );
524
524
}
525
525
return null ;
@@ -545,8 +545,7 @@ static DeprecationIssue checkSingleDataNodeWatermarkSetting(final Settings setti
545
545
String key = DiskThresholdDecider .ENABLE_FOR_SINGLE_DATA_NODE .getKey ();
546
546
return new DeprecationIssue (DeprecationIssue .Level .CRITICAL ,
547
547
String .format (Locale .ROOT , "setting [%s=false] is deprecated and will not be available in a future version" , key ),
548
- "https://www.elastic.co/guide/en/elasticsearch/reference/7.14/" +
549
- "breaking-changes-7.14.html#deprecate-single-data-node-watermark" ,
548
+ "https://www.elastic.co/guide/en/elasticsearch/reference/7.15/modules-cluster.html#disk-based-shard-allocation" ,
550
549
String .format (Locale .ROOT , "found [%s] configured to false. Discontinue use of this setting or set it to true." , key ),
551
550
false , null
552
551
);
@@ -559,8 +558,7 @@ static DeprecationIssue checkSingleDataNodeWatermarkSetting(final Settings setti
559
558
return new DeprecationIssue (DeprecationIssue .Level .WARNING ,
560
559
String .format (Locale .ROOT , "the default value [false] of setting [%s] is deprecated and will be changed to true" +
561
560
" in a future version. This cluster has only one data node and behavior will therefore change when upgrading" , key ),
562
- "https://www.elastic.co/guide/en/elasticsearch/reference/7.14/" +
563
- "breaking-changes-7.14.html#deprecate-single-data-node-watermark" ,
561
+ "https://www.elastic.co/guide/en/elasticsearch/reference/7.15/modules-cluster.html#disk-based-shard-allocation" ,
564
562
String .format (Locale .ROOT , "found [%s] defaulting to false on a single data node cluster." +
565
563
" Set it to true to avoid this warning." +
566
564
" Consider using [%s] to disable disk based allocation" , key ,
@@ -613,7 +611,7 @@ static DeprecationIssue checkJoinTimeoutSetting(final Settings settings,
613
611
final XPackLicenseState licenseState ) {
614
612
return checkRemovedSetting (settings ,
615
613
JoinHelper .JOIN_TIMEOUT_SETTING ,
616
- "https://www.elastic.co/guide/en/elasticsearch/reference/master/migrating-8.0. html#breaking_80_cluster_changes " ,
614
+ "https://www.elastic.co/guide/en/elasticsearch/reference/7.x/modules-discovery-settings. html" ,
617
615
DeprecationIssue .Level .CRITICAL
618
616
);
619
617
}
@@ -668,7 +666,7 @@ static DeprecationIssue checkClusterRoutingAllocationIncludeRelocationsSetting(f
668
666
final XPackLicenseState licenseState ) {
669
667
return checkRemovedSetting (settings ,
670
668
CLUSTER_ROUTING_ALLOCATION_INCLUDE_RELOCATIONS_SETTING ,
671
- "https://www.elastic.co/guide/en/elasticsearch/reference/master/migrating-8.0. html#breaking_80_allocation_changes " ,
669
+ "https://www.elastic.co/guide/en/elasticsearch/reference/7.15/modules-cluster. html#disk-based-shard-allocation " ,
672
670
DeprecationIssue .Level .CRITICAL
673
671
);
674
672
}
@@ -851,8 +849,7 @@ static DeprecationIssue checkTransportClientProfilesFilterSetting(
851
849
transportProfilesSettings
852
850
);
853
851
854
- final String url = "https://www.elastic.co/guide/en/elasticsearch/reference/master/migrating-8.0" +
855
- ".html#separating-node-and-client-traffic" ;
852
+ final String url = "https://www.elastic.co/guide/en/elasticsearch/client/java-api/7.x/transport-client.html" ;
856
853
return new DeprecationIssue (DeprecationIssue .Level .CRITICAL , message , url , details , false , null );
857
854
}
858
855
@@ -882,7 +879,7 @@ static DeprecationIssue checkDelayClusterStateRecoverySettings(final Settings se
882
879
"cannot use properties [%s] because they have been deprecated and will be removed in the next major version" ,
883
880
settingNames
884
881
);
885
- final String url = "https://www.elastic.co/guide/en/elasticsearch/reference/master/migrating-8.0. html#breaking_80_settings_changes " ;
882
+ final String url = "https://www.elastic.co/guide/en/elasticsearch/reference/7.x/modules-gateway. html" ;
886
883
return new DeprecationIssue (DeprecationIssue .Level .CRITICAL , message , url , details , false , null );
887
884
}
888
885
@@ -917,8 +914,7 @@ static DeprecationIssue checkFixedAutoQueueSizeThreadpool(final Settings setting
917
914
" major version" ,
918
915
settingNames
919
916
);
920
- final String url = "https://www.elastic.co/guide/en/elasticsearch/reference/master/migrating-8.0" +
921
- ".html#breaking_80_threadpool_changes" ;
917
+ final String url = "https://www.elastic.co/guide/en/elasticsearch/reference/7.x/modules-threadpool.html" ;
922
918
return new DeprecationIssue (DeprecationIssue .Level .CRITICAL , message , url , details , false , null );
923
919
}
924
920
@@ -995,7 +991,7 @@ static DeprecationIssue checkMaxLocalStorageNodesSetting(final Settings settings
995
991
final XPackLicenseState licenseState ) {
996
992
return checkRemovedSetting (settings ,
997
993
NodeEnvironment .MAX_LOCAL_STORAGE_NODES_SETTING ,
998
- "https://www.elastic.co/guide/en/elasticsearch/reference/master/migrating-8.0. html#breaking_80_node_changes " ,
994
+ "https://www.elastic.co/guide/en/elasticsearch/reference/7.14/modules-node. html#max-local-storage-nodes " ,
999
995
DeprecationIssue .Level .CRITICAL
1000
996
);
1001
997
}
0 commit comments