Elasticsearch version 8.1.2

Elasticsearch version 8.1.2

Also see Breaking changes in 8.1.

Known issues

  • 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 fixes

Authorization

  • Add delete privilege to kibana_system for APM #85085

Engine

  • Increase store ref before snapshotting index commit #84776

Infra/Core

  • Return empty version instead of blowing up if we cannot find it #85244
  • Validate index format agreement for system index descriptors #85173
  • Wrap thread creation in doPrivileged call #85180

Machine Learning

  • Do not fetch source when finding index of last state docs #85334
  • Fixes for multi-line start patterns in text structure endpoint #85066
  • Reallocate model deployments on node shutdown events #85310

Mapping

  • Do not fail on duplicated content field filters #85382

Search

  • Increase store ref before analyzing disk usage #84774
  • Limit concurrent shard requests in disk usage API #84900 (issue: #84779)
  • TransportBroadcastAction should always set response for each shard #84926

Snapshot/Restore

  • Fix leaking listeners bug on frozen tier #85239

Watcher

  • No longer require master node to install Watcher templates #85287 (issue: #85043)