Преглед изворни кода

Forward port release notes for v8.12.2 (#105752)

elasticsearchmachine пре 1 година
родитељ
комит
c60706cdd9

+ 2 - 0
docs/reference/release-notes.asciidoc

@@ -8,6 +8,7 @@ This section summarizes the changes in each release.
 
 * <<release-notes-8.14.0>>
 * <<release-notes-8.13.0>>
+* <<release-notes-8.12.2>>
 * <<release-notes-8.12.1>>
 * <<release-notes-8.12.0>>
 * <<release-notes-8.11.4>>
@@ -63,6 +64,7 @@ This section summarizes the changes in each release.
 
 include::release-notes/8.14.0.asciidoc[]
 include::release-notes/8.13.0.asciidoc[]
+include::release-notes/8.12.2.asciidoc[]
 include::release-notes/8.12.1.asciidoc[]
 include::release-notes/8.12.0.asciidoc[]
 include::release-notes/8.11.4.asciidoc[]

+ 58 - 0
docs/reference/release-notes/8.12.2.asciidoc

@@ -0,0 +1,58 @@
+[[release-notes-8.12.2]]
+== {es} version 8.12.2
+
+Also see <<breaking-changes-8.12,Breaking changes in 8.12>>.
+
+[[bug-8.12.2]]
+[float]
+=== Bug fixes
+
+Application::
+* Fix bug in `rule_query` where `text_expansion` errored because it was not rewritten {es-pull}105365[#105365]
+* [Connectors API] Fix bug with crawler configuration parsing and `sync_now` flag {es-pull}105024[#105024]
+
+Authentication::
+* Validate settings before reloading JWT shared secret {es-pull}105070[#105070]
+
+Downsampling::
+* Downsampling better handle if source index isn't allocated and fix bug in retrieving last processed tsid {es-pull}105228[#105228]
+
+ES|QL::
+* ESQL: Push CIDR_MATCH to Lucene if possible {es-pull}105061[#105061] (issue: {es-issue}105042[#105042])
+* ES|QL: Fix exception handling on `date_parse` with wrong date pattern {es-pull}105048[#105048] (issue: {es-issue}104124[#104124])
+
+Indices APIs::
+* Always show `composed_of` field for composable index templates {es-pull}105315[#105315] (issue: {es-issue}104627[#104627])
+
+Ingest Node::
+* Backport stable `ThreadPool` constructor from `LogstashInternalBridge` {es-pull}105165[#105165]
+* Harden index mapping parameter check in enrich runner {es-pull}105096[#105096]
+
+Machine Learning::
+* Fix handling of `ml.config_version` node attribute for nodes with machine learning disabled {es-pull}105066[#105066]
+* Fix handling surrogate pairs in the XLM Roberta tokenizer {es-pull}105183[#105183] (issues: {es-issue}104626[#104626], {es-issue}104981[#104981])
+* Inference service should reject tasks during shutdown {es-pull}105213[#105213]
+
+Network::
+* Close `currentChunkedWrite` on client cancel {es-pull}105258[#105258]
+* Fix leaked HTTP response sent after close {es-pull}105293[#105293] (issue: {es-issue}104651[#104651])
+* Fix race in HTTP response shutdown handling {es-pull}105306[#105306]
+
+Search::
+* Field-caps should read fields from up-to-dated shards {es-pull}105153[#105153] (issue: {es-issue}104809[#104809])
+
+Snapshot/Restore::
+* Finalize all snapshots completed by shard snapshot updates {es-pull}105245[#105245] (issue: {es-issue}104939[#104939])
+
+Transform::
+* Do not log warning when triggering an `ABORTING` transform {es-pull}105234[#105234] (issue: {es-issue}105233[#105233])
+* Make `_reset` action stop transforms without force first {es-pull}104870[#104870] (issues: {es-issue}100596[#100596], {es-issue}104825[#104825])
+
+[[enhancement-8.12.2]]
+[float]
+=== Enhancements
+
+IdentityProvider::
+* Include user's privileges actions in IdP plugin `_has_privileges` request {es-pull}104026[#104026]
+
+

+ 33 - 6
docs/reference/release-notes/highlights.asciidoc

@@ -28,13 +28,40 @@ Other versions:
 
 endif::[]
 
-// The notable-highlights tag marks entries that
-// should be featured in the Stack Installation and Upgrade Guide:
 // tag::notable-highlights[]
-// [discrete]
-// === Heading
-//
-// Description.
+
+[discrete]
+[[improve_storage_efficiency_for_non_metric_fields_in_tsdb]]
+=== Improve storage efficiency for non-metric fields in TSDB
+Adds a new `doc_values` encoding for non-metric fields in TSDB that takes advantage of TSDB's index sorting.
+While terms that are used in multiple documents (such as the host name) are already stored only once in the terms dictionary,
+there are a lot of repetitions in the references to the terms dictionary that are stored in `doc_values` (ordinals).
+In TSDB, documents (and therefore `doc_values`) are implicitly sorted by dimenstions and timestamp.
+This means that for each time series, we are storing long consecutive runs of the same ordinal.
+With this change, we are introducing an encoding that detects and efficiently stores runs of the same value (such as `1 1 1 2 2 2 …`),
+and runs of cycling values (such as `1 2 1 2 …`).
+In our testing, we have seen a reduction in storage size by about 13%.
+The effectiveness of this encoding depends on how many non-metric fields, such as dimensions, are used.
+The more non-metric fields, the more effective this improvement will be.
+
+{es-pull}99747[#99747]
+
+[discrete]
+[[ga_release_of_synonyms_api]]
+=== GA Release of Synonyms API
+Removes the beta label for the Synonyms API to make it GA.
+
+{es-pull}103223[#103223]
+
+[discrete]
+[[flag_in_field_caps_to_return_only_fields_with_values_in_index]]
+=== Flag in `_field_caps` to return only fields with values in index
+We added support for filtering the field capabilities API output by removing
+fields that don't have a value. This can be done through the newly added
+`include_empty_fields` parameter, which defaults to true.
+
+{es-pull}103651[#103651]
+
 // end::notable-highlights[]