From 9d432bc77490b897b57bdb5093b82f06c332b98d Mon Sep 17 00:00:00 2001 From: Sam Xiao Date: Fri, 10 Oct 2025 12:23:10 -0400 Subject: [PATCH 1/2] Bump version to retroactively fix template upgrade --- .../logging/DeprecationIndexingTemplateRegistry.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/logging/DeprecationIndexingTemplateRegistry.java b/x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/logging/DeprecationIndexingTemplateRegistry.java index 065053f117de0..8b00683033561 100644 --- a/x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/logging/DeprecationIndexingTemplateRegistry.java +++ b/x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/logging/DeprecationIndexingTemplateRegistry.java @@ -33,7 +33,8 @@ public class DeprecationIndexingTemplateRegistry extends IndexTemplateRegistry { // history (please add a comment why you increased the version here) // version 1: initial - public static final int INDEX_TEMPLATE_VERSION = 1; + // version 2: bump to fix https://github.com/elastic/sdh-elasticsearch/issues/9371 + public static final int INDEX_TEMPLATE_VERSION = 2; public static final String DEPRECATION_INDEXING_TEMPLATE_VERSION_VARIABLE = "xpack.deprecation.indexing.template.version"; From e96f6bf6d8fc3fd59b604d34536445bc89dbf193 Mon Sep 17 00:00:00 2001 From: Sam Xiao Date: Fri, 10 Oct 2025 12:33:09 -0400 Subject: [PATCH 2/2] Update docs/changelog/136421.yaml --- docs/changelog/136421.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 docs/changelog/136421.yaml diff --git a/docs/changelog/136421.yaml b/docs/changelog/136421.yaml new file mode 100644 index 0000000000000..f070f87f45f0b --- /dev/null +++ b/docs/changelog/136421.yaml @@ -0,0 +1,5 @@ +pr: 136421 +summary: Bump version to retroactively fix template upgrade +area: Infra/Logging +type: bug +issues: []