Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [UII] Make constant keyword backfill optional (elastic#192921) (e…
…lastic#192940) # Backport This will backport the following commits from `main` to `8.x`: - [[UII] Make constant keyword backfill optional (elastic#192921)](elastic#192921) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Jen Huang","email":"its.jenetic@gmail.com"},"sourceCommit":{"committedDate":"2024-09-14T02:34:46Z","message":"[UII] Make constant keyword backfill optional (elastic#192921)\n\n## Summary\r\n\r\nFollow up to elastic#188145. In some edge cases\r\n(elastic/sdh-beats#5156), users could override\r\nthe index template used by integration data streams. It is possible to\r\ncreate an index template without mappings, this causes\r\n`fillConstantKeywordValues` to receive an undefined object when\r\nupgrading the integration, and the upgrade then fails.\r\n\r\nThis PR makes the backfill operation here more fail-safe.","sha":"b5abc4ec7e308815b0f338f4c836a9caf3ee48a3","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v9.0.0","backport:prev-major"],"title":"[UII] Make constant keyword backfill optional","number":192921,"url":"https://github.com/elastic/kibana/pull/192921","mergeCommit":{"message":"[UII] Make constant keyword backfill optional (elastic#192921)\n\n## Summary\r\n\r\nFollow up to elastic#188145. In some edge cases\r\n(elastic/sdh-beats#5156), users could override\r\nthe index template used by integration data streams. It is possible to\r\ncreate an index template without mappings, this causes\r\n`fillConstantKeywordValues` to receive an undefined object when\r\nupgrading the integration, and the upgrade then fails.\r\n\r\nThis PR makes the backfill operation here more fail-safe.","sha":"b5abc4ec7e308815b0f338f4c836a9caf3ee48a3"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/192921","number":192921,"mergeCommit":{"message":"[UII] Make constant keyword backfill optional (elastic#192921)\n\n## Summary\r\n\r\nFollow up to elastic#188145. In some edge cases\r\n(elastic/sdh-beats#5156), users could override\r\nthe index template used by integration data streams. It is possible to\r\ncreate an index template without mappings, this causes\r\n`fillConstantKeywordValues` to receive an undefined object when\r\nupgrading the integration, and the upgrade then fails.\r\n\r\nThis PR makes the backfill operation here more fail-safe.","sha":"b5abc4ec7e308815b0f338f4c836a9caf3ee48a3"}}]}] BACKPORT--> Co-authored-by: Jen Huang <its.jenetic@gmail.com>
- Loading branch information