diff --git a/docs/changelog/136417.yaml b/docs/changelog/136417.yaml new file mode 100644 index 0000000000000..3e164b00703ec --- /dev/null +++ b/docs/changelog/136417.yaml @@ -0,0 +1,5 @@ +pr: 136417 +summary: Bump version to retroactively fix template upgrade +area: Infra/Logging +type: bug +issues: [] 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 4e5f75461316d..9653332ba0a77 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 @@ -34,7 +34,8 @@ public class DeprecationIndexingTemplateRegistry extends IndexTemplateRegistry { // history (please add a comment why you increased the version here) // version 1: initial // version 2: deprecated old name and renamed index pattern - public static final int INDEX_TEMPLATE_VERSION = 2; + // version 3: bump to fix https://github.com/elastic/sdh-elasticsearch/issues/9371 + public static final int INDEX_TEMPLATE_VERSION = 3; public static final String DEPRECATION_INDEXING_TEMPLATE_VERSION_VARIABLE = "xpack.deprecation.indexing.template.version";