Elasticsearch version 7.17.5edit

Also see Breaking changes in 7.17.

Known issuesedit

  • Parsing a request when the last element in an array is filtered out (for instance using _source_includes) fails. This is due to a bug in Jackson parser. Fixed in Elasticsearch 8.6.1 (#91456)

Bug fixesedit

Aggregations
  • Allow serial_diff under min_doc_count aggs #86401
  • Fix a bug with flattened fields in terms aggregations #87392
Audit
  • Fix audit logging to consistently include port number in origin.address #86732
  • Support removing ignore filters for audit logging #87675 (issue: #68588)
CCR
  • Prevent invalid datastream metadata when CCR follows a datastream with closed indices on the follower #87076 (issue: #87048)
  • Remove some blocking in CcrRepository #87235
Cluster Coordination
  • Small fixes to clear voting config excls API #87828
Engine
  • Fork to WRITE thread before failing shard in updateCheckPoints #87458 (issue: #87094)
Geo
  • Guard for adding null value tags to vector tiles #87051
Highlighting
ILM+SLM
  • Fix max_primary_shard_size resize factor math #86897
Indices APIs
  • Make GetIndexAction cancellable #87681
Infra/Circuit Breakers
  • Make CBE message creation more robust #87881
Infra/Core
  • Adjust osprobe assertion for burst cpu #86990
  • Clean up DeflateCompressor after exception #87163 (issue: #87160)
  • Prevent migration of indices that match templates #87933 (issues: #86801, #87827)
Infra/Scripting
  • Script: Load Whitelists as Resource #87539
Ingest
  • Don’t download geoip databases if geoip system index is blocked #86842
Java Low Level REST Client
  • Do not retry client requests when failing with ContentTooLargeException #87248 (issue: #86041)
Machine Learning
  • Adjacency weighting fixes in categorization #2277
  • Fix a source of "Discarding sample = nan, weights = …​" log errors for time series anomaly detection #2286
  • Fix ML task auditor exception early in cluster lifecycle #87023 (issue: #87002)
Recovery
  • Do not leak recover from snapshot file permits when recover from snapshot is disabled #87633 (issue: #86705)
  • Fail shard if STARTED after master failover #87451 (issue: #87367)
Search
  • Handle empty point values in DiskUsage API #87826 (issue: #87761)
  • Make sure to rewrite explain query on coordinator #87013 (issue: #64281)
Security
  • Security plugin close releasable realms #87429 (issue: #86286)
Snapshot/Restore
  • Fork after calling getRepositoryData from StoreRecovery #87254 (issue: #87237)
  • Fork after calling getRepositoryData from StoreRecovery #87264 (issue: #87237)
  • Throw exception on illegal RepositoryData updates #87654
Stats
  • Run TransportClusterInfoActions on MANAGEMENT pool #87679

Enhancementsedit

Discovery-Plugins
  • Remove redundant jackson dependencies from discovery-azure #87898
Infra/Core
  • Force property expansion for security policy #87396
Machine Learning
  • Make ML native processes work with glibc 2.35 (required for Ubuntu 22.04) #2272
  • Improve normalization of anomaly detection results for short bucket lengths. This corrects bias which could cause our scoring to be too low for these jobs #2285 (issue: #2276)
Packaging
Performance
  • Warn about impact of large readahead on search #88007