Elasticsearch version 8.19.21

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

Elasticsearch version 8.19.21

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.21. 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.21. 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.

Bug fixes

edit
ES|QL
  • Clamp out-of-range COUNT_DISTINCT precision thresholds to the maximum #157553 (issue: #157549)
  • Fix incorrect results for multi-key SORT with LIMIT #155923
  • Fix missing columns when CIDR_MATCH is used with CASE and casts #156162 (issue: #155979)
Inference
  • Fix Google Vertex AI chat_completion tool calls with non-string arguments #156665 (issue: #156644)
Infra/Core
  • Fix error when truncating long JSON in log and error messages #156382 (issue: #156289)
Infra/Metrics
  • Fix errors from node flush metrics during shutdown #157161
Machine Learning
  • Re-audit datafeed extraction errors periodically #157565
SQL
  • Reject ROUND results that overflow byte or short values #157554 (issue: #157550)
Search
  • Add search.aggs.max_nested_depth to limit aggregation nesting #155743
  • Ensure batched queries always return a response #155908
  • Exclude non-metadata _type from default search hit fields #155706 (issue: #110438)
  • Fix search failures caused by missing query cache shard statistics #157050
  • Keep scroll contexts on transient search queue rejection #155697 (issue: #90912)
  • Return a clear error when search_after contains a null value #132434 (issue: #132370)
  • Return an error for deeply nested aggregations instead of failing the node #155745
Snapshot/Restore
  • Halt the node correctly on fatal errors during S3 multipart uploads #156765
Transform
  • Preserve transform credentials when a deprecated setting is migrated #156191
Vector Search
  • Fix empty inner_hits for nested kNN search on quantized vectors #156332 (issue: #138496)

Enhancements

edit
Authorization
  • Grant kibana_system privileges on Ping Directory log indices #156029

Upgrades

edit
FIPS
  • Upgrade Bouncy Castle FIPS to 2.0.2 (FIPS 140-3) and 1.0.2.7 (FIPS 140-2) #156296
Infra/Core
  • Upgrade ASM to 9.10.1 #156213
  • Upgrade the bundled JDK to 26.0.2 #156203