Skip to content

Commit f56a623

Browse files
committed
[Transform] Change reindex links
Link directly to the Transform reindex migration guide.
1 parent e6347b8 commit f56a623

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
@@ -102,7 +102,7 @@ private DeprecationIssue oldIndicesCheck(
102102
return new DeprecationIssue(
103103
DeprecationIssue.Level.CRITICAL,
104104
"One or more Transforms write to this index with a compatibility version < " + Version.CURRENT.major + ".0",
105-
"https://ela.st/es-deprecation-9-transform-destination-index",
105+
"https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration",
106106
Strings.format(
107107
"This index was created in version [%s] and requires action before upgrading to %d.0. The following transforms are "
108108
+ "configured to write to this index: [%s]. Refer to the migration guide to learn more about how to prepare "
@@ -145,7 +145,7 @@ private DeprecationIssue ignoredOldIndicesCheck(
145145
return new DeprecationIssue(
146146
DeprecationIssue.Level.WARNING,
147147
"One or more Transforms write to this old index with a compatibility version < " + Version.CURRENT.major + ".0",
148-
"https://ela.st/es-deprecation-9-transform-destination-index",
148+
"https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration",
149149
Strings.format(
150150
"This index was created in version [%s] and will be supported as a read-only index in %d.0. The following "
151151
+ "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
@@ -104,7 +104,7 @@ public void testOldTransformIndicesCheck() {
104104
var expected = 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
"This index was created in version ["
109109
+ OLD_VERSION.toReleaseVersion()
110110
+ "] and requires action before upgrading to "
@@ -132,7 +132,7 @@ public void testOldIndicesCheckWithMultipleTransforms() {
132132
var expected = new DeprecationIssue(
133133
DeprecationIssue.Level.CRITICAL,
134134
"One or more Transforms write to this index with a compatibility version < " + Version.CURRENT.major + ".0",
135-
"https://ela.st/es-deprecation-9-transform-destination-index",
135+
"https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration",
136136
"This index was created in version ["
137137
+ OLD_VERSION.toReleaseVersion()
138138
+ "] and requires action before upgrading to "
@@ -164,7 +164,7 @@ public void testMultipleOldIndicesCheckWithTransforms() {
164164
new DeprecationIssue(
165165
DeprecationIssue.Level.CRITICAL,
166166
"One or more Transforms write to this index with a compatibility version < " + Version.CURRENT.major + ".0",
167-
"https://ela.st/es-deprecation-9-transform-destination-index",
167+
"https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration",
168168
"This index was created in version ["
169169
+ OLD_VERSION.toReleaseVersion()
170170
+ "] and requires action before upgrading to "
@@ -181,7 +181,7 @@ public void testMultipleOldIndicesCheckWithTransforms() {
181181
new DeprecationIssue(
182182
DeprecationIssue.Level.CRITICAL,
183183
"One or more Transforms write to this index with a compatibility version < " + Version.CURRENT.major + ".0",
184-
"https://ela.st/es-deprecation-9-transform-destination-index",
184+
"https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration",
185185
"This index was created in version ["
186186
+ OLD_VERSION.toReleaseVersion()
187187
+ "] and requires action before upgrading to "
@@ -340,7 +340,7 @@ public void testOldTransformIndicesIgnoredCheck() {
340340
var expected = new DeprecationIssue(
341341
DeprecationIssue.Level.WARNING,
342342
"One or more Transforms write to this old index with a compatibility version < " + Version.CURRENT.major + ".0",
343-
"https://ela.st/es-deprecation-9-transform-destination-index",
343+
"https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration",
344344
"This index was created in version ["
345345
+ OLD_VERSION.toReleaseVersion()
346346
+ "] and will be supported as a read-only index in "
@@ -368,7 +368,7 @@ public void testOldIndicesIgnoredCheckWithMultipleTransforms() {
368368
var expected = new DeprecationIssue(
369369
DeprecationIssue.Level.WARNING,
370370
"One or more Transforms write to this old index with a compatibility version < " + Version.CURRENT.major + ".0",
371-
"https://ela.st/es-deprecation-9-transform-destination-index",
371+
"https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration",
372372
"This index was created in version ["
373373
+ OLD_VERSION.toReleaseVersion()
374374
+ "] and will be supported as a read-only index in "
@@ -400,7 +400,7 @@ public void testMultipleOldIndicesIgnoredCheckWithTransforms() {
400400
new DeprecationIssue(
401401
DeprecationIssue.Level.WARNING,
402402
"One or more Transforms write to this old index with a compatibility version < " + Version.CURRENT.major + ".0",
403-
"https://ela.st/es-deprecation-9-transform-destination-index",
403+
"https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration",
404404
"This index was created in version ["
405405
+ OLD_VERSION.toReleaseVersion()
406406
+ "] and will be supported as a read-only index in "
@@ -417,7 +417,7 @@ public void testMultipleOldIndicesIgnoredCheckWithTransforms() {
417417
new DeprecationIssue(
418418
DeprecationIssue.Level.WARNING,
419419
"One or more Transforms write to this old index with a compatibility version < " + Version.CURRENT.major + ".0",
420-
"https://ela.st/es-deprecation-9-transform-destination-index",
420+
"https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration",
421421
"This index was created in version ["
422422
+ OLD_VERSION.toReleaseVersion()
423423
+ "] and will be supported as a read-only index in "

0 commit comments

Comments
 (0)