From 0d3633264c2257c05f209a1b4b29107a9dee004e Mon Sep 17 00:00:00 2001 From: elasticsearchmachine Date: Mon, 11 Aug 2025 21:37:24 +0000 Subject: [PATCH 1/2] Update docs for v8.19.2 release --- docs/reference/release-notes.asciidoc | 2 ++ docs/reference/release-notes/8.19.2.asciidoc | 29 ++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 docs/reference/release-notes/8.19.2.asciidoc diff --git a/docs/reference/release-notes.asciidoc b/docs/reference/release-notes.asciidoc index dce931b7d62a3..f1a3157452a5e 100644 --- a/docs/reference/release-notes.asciidoc +++ b/docs/reference/release-notes.asciidoc @@ -6,6 +6,7 @@ This section summarizes the changes in each release. +* <> * <> * <> * <> @@ -99,6 +100,7 @@ This section summarizes the changes in each release. -- +include::release-notes/8.19.2.asciidoc[] include::release-notes/8.19.1.asciidoc[] include::release-notes/8.19.0.asciidoc[] include::release-notes/8.18.4.asciidoc[] diff --git a/docs/reference/release-notes/8.19.2.asciidoc b/docs/reference/release-notes/8.19.2.asciidoc new file mode 100644 index 0000000000000..0115dd22afb31 --- /dev/null +++ b/docs/reference/release-notes/8.19.2.asciidoc @@ -0,0 +1,29 @@ +[[release-notes-8.19.2]] +== {es} version 8.19.2 + +coming[8.19.2] + +Also see <>. + +[[bug-8.19.2]] +[float] +=== Bug fixes + +Aggregations:: +* Aggs: Add validation to Bucket script pipeline agg {es-pull}132320[#132320] (issue: {es-issue}132272[#132272]) + +Codec:: +* Use local segment `fieldInfos` to lookup tsdb merge stats {es-pull}132597[#132597] +* [8.19] Remove forgotten `tsdb_doc_values_optimized_merge` feature flag that caused an optimization to be disabled that should have been enabled {es-pull}128459[#128459] + +Mapping:: +* Strings outside BMP have 2 chars per code points {es-pull}132593[#132593] + +[[enhancement-8.19.2]] +[float] +=== Enhancements + +Authorization:: +* [ExtraHop & QualysGAV] Add `manage`, `create_index`, `read`, `index`, `write`, `delete`, permission for third party agent indices `kibana_system` {es-pull}132387[#132387] (issue: {es-issue}131825[#131825]) + + From 4836c165f984da6e46d297966218c6995885db0c Mon Sep 17 00:00:00 2001 From: Charlotte Hoblik Date: Tue, 12 Aug 2025 12:35:49 +0200 Subject: [PATCH 2/2] Editor release notes --- docs/reference/release-notes/8.19.2.asciidoc | 38 +++++++++++++++++--- 1 file changed, 33 insertions(+), 5 deletions(-) diff --git a/docs/reference/release-notes/8.19.2.asciidoc b/docs/reference/release-notes/8.19.2.asciidoc index 0115dd22afb31..37ec6c40e6422 100644 --- a/docs/reference/release-notes/8.19.2.asciidoc +++ b/docs/reference/release-notes/8.19.2.asciidoc @@ -10,20 +10,48 @@ Also see <>. === Bug fixes Aggregations:: -* Aggs: Add validation to Bucket script pipeline agg {es-pull}132320[#132320] (issue: {es-issue}132272[#132272]) ++ +.Validate parent aggregation type in `bucket_script` +[%collapsible] +=============== +The `bucket_script` pipeline aggregation didn’t validate that its parent aggregation was a multi-bucket aggregation. +This caused a `ClassCastException` at runtime when the parent was not multi-bucket. +{es-pull}132320[#132320] adds a validation step so the aggregation fails early, preventing the runtime error. (issue: {es-issue}132272[#132272]) +=============== Codec:: -* Use local segment `fieldInfos` to lookup tsdb merge stats {es-pull}132597[#132597] -* [8.19] Remove forgotten `tsdb_doc_values_optimized_merge` feature flag that caused an optimization to be disabled that should have been enabled {es-pull}128459[#128459] ++ +.Use local segment `fieldInfos` for TSDB merge stats +[%collapsible] +=============== +Merging shrink TSDB or LogsDB indices in versions 8.19 or 9.1+ could fail when using addIndexes to combine Lucene segments directly. +In these cases, fieldInfos could differ between shards and the merged segment, causing incorrect merge statistics. +PR {es-pull}132597[#132597] updates the process to use `fieldInfos` from each segment instead of the merged segment, ensuring accurate stats and preventing merge failures. +=============== ++ +.Remove unused `tsdb_doc_values_optimized_merge` feature flag in 8.19 +[%collapsible] +=============== +In 8.19, the `tsdb_doc_values_optimized_merge` optimization was unintentionally disabled because its feature flag was not removed as planned. +This happened when the original change failed to merge due to CI issues. +{es-pull}128459[#128459] removes the leftover flag, enabling the optimization as intended. +=============== Mapping:: -* Strings outside BMP have 2 chars per code points {es-pull}132593[#132593] ++ +.Calculate text string length correctly for code points outside BMP +[%collapsible] +=============== +Strings parsed with the optimized UTF-8 parsing path had incorrect length calculations for characters outside the basic multilingual plane (BMP). +These characters require two UTF-16 code units, but the optimized path did not account for this, causing mismatches with the non-optimized path. +{es-pull}132593[#132593] fixes the calculation to ensure consistent and correct string lengths. +=============== [[enhancement-8.19.2]] [float] === Enhancements Authorization:: -* [ExtraHop & QualysGAV] Add `manage`, `create_index`, `read`, `index`, `write`, `delete`, permission for third party agent indices `kibana_system` {es-pull}132387[#132387] (issue: {es-issue}131825[#131825]) +* Adds `manage`, `create_index`, `read`, `index`, `write`, and `delete` privileges for the `kibana_system` role on third-party agent indices used by ExtraHop (logs-extrahop.investigation-*) and Qualys GAV (logs-qualys_gav.asset-*). This ensures ILM policies can delete these indices without permission errors. {es-pull}132387[#132387] (issue: {es-issue}131825[#131825])