Elasticsearch version 8.7.1edit

Also see Breaking changes in 8.7.

Known issuesedit

  • ArrayIndexOutOfBoundsException may be thrown while creating a transport message

    Certain sequences of writes and seeks to the buffer used to create a transport message may encounter an alignment bug which results in an ArrayIndexOutOfBoundsException, preventing the transport message from being sent.

    This issue is fixed in 8.8.0.

  • Shard rebalancing may temporarily unbalance cluster

    From 8.6.0 onwards the default shard rebalancing algorithm will compute the final desired balance and then make shard movements to reconcile the current state of the cluster with the desired state. However the order in which the shard movements take place may be skewed towards certain nodes, causing the cluster to become temporarily unbalanced while the reconciliation is ongoing. As always, once a node reaches a disk watermark it will not accept any additional shards, but this skew may result in nodes reaching their disk watermarks more often than expected in normal operation. Once the reconciliation process completes, the cluster will be balanced again.

    To avoid this problem, upgrade to 8.8.0 or later.

Bug fixesedit

Allocation
  • Compute balancer threshold based on max shard size #95090
  • Use applied state after DiskThresholdMonitor reroute #94916
  • Weaken node-replacement decider during reconciliation #95070
ILM+SLM
  • Downsample ILM action should skip non-time-series indices #94835 (issue: #93123)
Ingest Node
  • Fix async enrich execution prematurely releases enrich policy lock #94702 (issue: #94690)
Network
  • Fix off-by-one bug in RecyclerBytesStreamOutput #95036
Recovery
  • Async creation of IndexShard instances #94545
Search
  • Return 200 when closing empty PIT or scroll #94708
Stats
  • Fix _cluster/stats .nodes.fs deduplication #94798 (issue: #24472)
  • Fix FsInfo device deduplication #94744

Enhancementsedit

Authorization
  • Reuse FieldPermissionsCache in Role parsing #94931

Upgradesedit

Packaging
  • Upgrade bundled JDK to Java 20 #94600