Elasticsearch version 8.19.20

edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Elasticsearch version 8.19.20

edit

Also see Breaking changes in 8.19.

Known issues

edit
  • Clusters which use the s3 repository type with storage that is not fully compatible with Amazon S3 may report errors such as Missing required header for this request: Content-MD5 on DeleteObjects requests after upgrading to Elasticsearch 8.19.20. This may prevent creating or updating a repository, verifying a repository, repository analysis, and may leave unreferenced objects in place after deleting a snapshot.

    Amazon S3 and third-party storage products that are fully compatible with Amazon S3 are not impacted. Using storage which is not fully compatible with Amazon S3 with the s3 repository type puts your snapshot data at risk. Review S3-compatible services for further guidance about third-party S3-compatible services.

    If you are using an affected third-party storage product, seek a fix for this incompatibility with Amazon S3 from its supplier. As a temporary workaround, upgrade to at least Elasticsearch 8.19.24 and set s3.client.CLIENT_NAME.legacy_content_md5 in the S3 client settings to true for the affected client.

  • Clusters which use the s3 repository type with storage that is not fully compatible with Amazon S3 may report errors such as The Content-SHA256 you specified did not match what we received or The provided 'x-amz-content-sha256' header does not match what was computed on upload requests after upgrading to Elasticsearch 8.19.20. This may prevent creating a snapshot and repository analysis.

    Amazon S3 and third-party storage products that are fully compatible with Amazon S3 are not impacted. Using storage which is not fully compatible with Amazon S3 with the s3 repository type puts your snapshot data at risk. Review S3-compatible services for further guidance about third-party S3-compatible services.

    If you are using an affected third-party storage product, seek a fix for this incompatibility with Amazon S3 from its supplier. As a temporary workaround, upgrade to at least Elasticsearch 8.19.26 and set s3.client.CLIENT_NAME.unsafely_omit_request_body_checksums in the S3 client settings to true for the affected client. Do not set the AWS_REQUEST_CHECKSUM_CALCULATION environment variable or the -Daws.requestChecksumCalculation system property as these have no effect from Elasticsearch 8.19.26 onwards.

Breaking changes

edit
ILM
  • When number_of_replicas is specified in the ILM allocate action, auto_expand_replicas is now explicitly removed from the index settings. #155279 (issue: #150407)

Bug fixes

edit
Aggregations
  • Overestimate memory usage of delayable writables #155015
Analysis
  • Add a check against self-referencing filters #154793
  • Trip request breaker on term and phrase suggesters based on backing array estimates #154837
ES|QL
  • Avoid an integer overflow loop in the REPEAT function #154295
  • Fix FROM_BASE64 generating invalid non-UTF-8 strings. Previously it could create binary values that ES|QL does not support in other operations; only valid UTF-8 is supported, and invalid cases now return null with a warning. #154955
  • Fix MV_SORT incorrectly allowing geospatial types, which are not sortable #154417
  • Fix a cause of lost ES|QL warnings by preserving thread context #154016
  • Fix incorrect inclusion of flattened subfields in multi-index queries #154508 (issues: #154743, #154484, #154011)
  • Remove quadratic complexity from DROP with field name patterns #154716
Inference
  • Deploy text embedding models before the validation call #153886 (issue: #144871)
  • Fix associating an inference endpoint with an ML node deployment #153688 (issue: #144860)
  • Fix SSE parser handling of empty lines and byte order marks #154632
  • Fix SSE parsing across network read boundaries #154155 (issue: #153980)
Infra/CLI
  • Upgrade JANSI to 2.4.3 to fix terminal detection on zlib-ng based systems (EL10) #155853 (issue: #154510)
Machine Learning
  • Fix double decrement of the pending inference request count #154577 (issue: #154483)
  • Use the model’s deployment_id when waiting for model allocation #153213 (issue: #146835)
Mapping
  • Fix wildcard queries on keyword fields whose normalizer rewrites wildcard characters #153582 (issue: #150699)
Ranking
  • Add a hardcoded limit on nested retrievers #154814
Search
  • Apply max_regex_length limit to intervals regexp and wildcard rules #155231
  • Bound numeric string length before parsing #154689
  • Ensure cancelled _field_caps tasks are removed from the tasks API #153831 (issue: #137475)
  • Limit dot-separated identifiers per version part #154572
  • Parse scroll ID from a bounded byte array #154542
  • Reserve regexp automaton memory on the circuit breaker before building it #155076
  • Use readArraySize in readImmutableMap and readImmutableOpenMap #154525

Upgrades

edit
Authentication
  • Upgrade OpenTelemetry in ms-graph-authz #151968
FIPS
  • Update Bouncy Castle FIPS TLS libraries #155937
Infra/Core
  • Upgrade lz4-java to 1.11.1 #155598
Security
  • Upgrade Bouncy Castle to 1.85 #155819
  • Upgrade Jackson to 2.18.9 #154569
  • Upgrade Log4j to 2.26.1 #154115