Skip to content

Commit 8c7a882

Browse files
authored
[Transform] Change reindex links (#129879) (#129885)
Link directly to the Transform reindex migration guide.
1 parent eec192f commit 8c7a882

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/IndexDeprecationChecker.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ private DeprecationIssue oldIndicesCheck(
104104
return new DeprecationIssue(
105105
DeprecationIssue.Level.CRITICAL,
106106
"One or more Transforms write to this index with a compatibility version < " + Version.CURRENT.major + ".0",
107-
"https://ela.st/es-deprecation-9-transform-destination-index",
107+
"https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration",
108108
Strings.format(
109109
"This index was created in version [%s] and requires action before upgrading to %d.0. The following transforms are "
110110
+ "configured to write to this index: [%s]. Refer to the migration guide to learn more about how to prepare "
@@ -147,7 +147,7 @@ private DeprecationIssue ignoredOldIndicesCheck(
147147
return new DeprecationIssue(
148148
DeprecationIssue.Level.WARNING,
149149
"One or more Transforms write to this old index with a compatibility version < " + Version.CURRENT.major + ".0",
150-
"https://ela.st/es-deprecation-9-transform-destination-index",
150+
"https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration",
151151
Strings.format(
152152
"This index was created in version [%s] and will be supported as a read-only index in %d.0. The following "
153153
+ "transforms are no longer able to write to this index: [%s]. Refer to the migration guide to learn more "

x-pack/plugin/deprecation/src/test/java/org/elasticsearch/xpack/deprecation/IndexDeprecationCheckerTests.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public void testOldTransformIndicesCheck() {
105105
var expected = new DeprecationIssue(
106106
DeprecationIssue.Level.CRITICAL,
107107
"One or more Transforms write to this index with a compatibility version < " + Version.CURRENT.major + ".0",
108-
"https://ela.st/es-deprecation-9-transform-destination-index",
108+
"https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration",
109109
"This index was created in version ["
110110
+ OLD_VERSION.toReleaseVersion()
111111
+ "] and requires action before upgrading to "
@@ -133,7 +133,7 @@ public void testOldIndicesCheckWithMultipleTransforms() {
133133
var expected = new DeprecationIssue(
134134
DeprecationIssue.Level.CRITICAL,
135135
"One or more Transforms write to this index with a compatibility version < " + Version.CURRENT.major + ".0",
136-
"https://ela.st/es-deprecation-9-transform-destination-index",
136+
"https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration",
137137
"This index was created in version ["
138138
+ OLD_VERSION.toReleaseVersion()
139139
+ "] and requires action before upgrading to "
@@ -165,7 +165,7 @@ public void testMultipleOldIndicesCheckWithTransforms() {
165165
new DeprecationIssue(
166166
DeprecationIssue.Level.CRITICAL,
167167
"One or more Transforms write to this index with a compatibility version < " + Version.CURRENT.major + ".0",
168-
"https://ela.st/es-deprecation-9-transform-destination-index",
168+
"https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration",
169169
"This index was created in version ["
170170
+ OLD_VERSION.toReleaseVersion()
171171
+ "] and requires action before upgrading to "
@@ -182,7 +182,7 @@ public void testMultipleOldIndicesCheckWithTransforms() {
182182
new DeprecationIssue(
183183
DeprecationIssue.Level.CRITICAL,
184184
"One or more Transforms write to this index with a compatibility version < " + Version.CURRENT.major + ".0",
185-
"https://ela.st/es-deprecation-9-transform-destination-index",
185+
"https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration",
186186
"This index was created in version ["
187187
+ OLD_VERSION.toReleaseVersion()
188188
+ "] and requires action before upgrading to "
@@ -346,7 +346,7 @@ public void testOldTransformIndicesIgnoredCheck() {
346346
var expected = new DeprecationIssue(
347347
DeprecationIssue.Level.WARNING,
348348
"One or more Transforms write to this old index with a compatibility version < " + Version.CURRENT.major + ".0",
349-
"https://ela.st/es-deprecation-9-transform-destination-index",
349+
"https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration",
350350
"This index was created in version ["
351351
+ OLD_VERSION.toReleaseVersion()
352352
+ "] and will be supported as a read-only index in "
@@ -374,7 +374,7 @@ public void testOldIndicesIgnoredCheckWithMultipleTransforms() {
374374
var expected = new DeprecationIssue(
375375
DeprecationIssue.Level.WARNING,
376376
"One or more Transforms write to this old index with a compatibility version < " + Version.CURRENT.major + ".0",
377-
"https://ela.st/es-deprecation-9-transform-destination-index",
377+
"https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration",
378378
"This index was created in version ["
379379
+ OLD_VERSION.toReleaseVersion()
380380
+ "] and will be supported as a read-only index in "
@@ -406,7 +406,7 @@ public void testMultipleOldIndicesIgnoredCheckWithTransforms() {
406406
new DeprecationIssue(
407407
DeprecationIssue.Level.WARNING,
408408
"One or more Transforms write to this old index with a compatibility version < " + Version.CURRENT.major + ".0",
409-
"https://ela.st/es-deprecation-9-transform-destination-index",
409+
"https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration",
410410
"This index was created in version ["
411411
+ OLD_VERSION.toReleaseVersion()
412412
+ "] and will be supported as a read-only index in "
@@ -423,7 +423,7 @@ public void testMultipleOldIndicesIgnoredCheckWithTransforms() {
423423
new DeprecationIssue(
424424
DeprecationIssue.Level.WARNING,
425425
"One or more Transforms write to this old index with a compatibility version < " + Version.CURRENT.major + ".0",
426-
"https://ela.st/es-deprecation-9-transform-destination-index",
426+
"https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration",
427427
"This index was created in version ["
428428
+ OLD_VERSION.toReleaseVersion()
429429
+ "] and will be supported as a read-only index in "

0 commit comments

Comments
 (0)