Elasticsearch version 8.2.1edit

Also see Breaking changes in 8.2.

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
  • Fix AdaptingAggregator toString method #86042
  • Less complexity in after-key parsing for unmapped fields #86359 (issue: #85928)
Authentication
  • Ensure authentication is wire compatible when setting user #86741 (issue: #86716)
Cluster Coordination
  • Avoid breaking add/clear voting exclusions #86657
Geo
  • Fix bounded hexagonal grids when they contain the bin on one of the poles #86460
  • Fix mvt polygon orientation #86555 (issue: #86560)
ILM+SLM
  • Fix max_primary_shard_size resize factor math #86897
  • Reroute after migrating to data tiers routing #86574 (issue: #86572)
Infra/Core
  • Fix assertDefaultThreadContext enumerating allowed headers #86262
  • Forward port MDP deprecation info API #86103
  • Make data directories work with symlinks again #85878 (issue: #85701)
  • Set autoexpand replicas on Fleet actions data stream #85511
  • Do not autocreate alias for non-primary system indices #85977 (issue: #85072)
Ingest
  • Don’t download geoip databases if geoip system index is blocked #86842
  • Fix NPE when using object field as match field for enrich policy #86089 (issue: #86058)
  • Handle .geoip_databases being an alias or a concrete index #85792 (issue: #85756)
Machine Learning
  • Adjust memory overhead for PyTorch models #86416
  • Fix max_model_memory_limit reported by _ml/info when autoscaling is enabled #86660
  • Improve reliability of job stats in larger clusters #86305
  • Make autoscaling and task assignment use same memory staleness definition #86632 (issue: #86616)
  • Fix edge case which could cause the model bounds to inflate after detecting seasonality #2261
Packaging
  • Fix edge case where user-defined heap settings are ignored #86438 (issue: #86431)
Security
  • Authentication.token now uses version from the existing authentication #85978
Snapshot/Restore
  • Better failure for source-only snapshots of partially/fully mounted indices #86207
  • Check if searchable snapshots cache pre-allocation is successful in Windows #86192 (issue: #85725)
  • Delay searchable snapshot allocation during shutdown #86153 (issue: #85052)
  • Support generating AWS role session name in case it’s not provided #86255
Stats
  • Correctly calculate disk usage for frozen data tier telemetry #86580 (issue: #86055)

Upgradesedit

Packaging
  • Switch to OpenJDK and upgrade to 18.0.1 #86554