Loading

Elasticsearch breaking changes

Breaking changes can impact your Elastic applications, potentially disrupting normal operations. Before you upgrade, carefully review the Elasticsearch breaking changes and take the necessary steps to mitigate any issues.

If you are migrating from a version prior to version 9.0, you must first upgrade to the last 8.x version available. To learn how to upgrade, check out Upgrade.

ILM: * In earlier versions of {es} the downsampling API was force merging the downsampled index. In {es} 9.3.0 and later we moved this behaviour from the downsampling API to the ILM downsampling action and we enabled by default. This allowed users to disabled it if they wished. Seeing that the force merge is not inherently needed by the downsampling operation, in {es} 9.4.0, we choose to disable it by default. This change only affects the downsampling ILM actions; other actions that force merge an index by default, such as the searchable snapshot action, will remain unchanged. If a user was relying on this behaviour they will need to update their ILM policy, either by adding a force merge action in the same or a subsequent phase of the policy or by setting the force_merge_index parameter of the downsample action to true. #145400 (issue: #140811)

Mapping:

  • OTLP endpoint: use exponential_histograms by default #145065

TSDB: * Sequence numbers have significant storage footprint in metrics applications (up to 30% for OTLP). To alleviate this, we are disabling sequence numbers for indices in time-series mode, meaning that they get trimmed once they are no longer needed for replication. This helps with storage efficiency, as well as reducing the overhead for segment merging. The downside is that Optimistic Concurrency Control is no longer applicable to these indices. Index, update and delete operations using if_seq_no error out, and search calls with seq_no_primary_term set return sentinel values for sequence numbers. Moreover, update_by_query and delete_by_query operations proceed without conflict detection, so concurrent modifications may silently overwrite the affected docs without triggering version conflict errors. This is largely a favorable tradeoff as concurrent modifications are rather rare in metrics applications and the storage savings are substantial. Still, users requiring OCC support can restore the old behavior by setting index.disable_sequence_numbers to false in their time-series index templates. #145737 (issue: #136305)

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

Mapping:

  • Implement native synthetic source for normalized keywords #136915

Search:

  • Disable cross-cluster functionality for _fleet/_fleet_msearch #136703
  • Disable cross-cluster functionality for _fleet/_fleet_search #136039

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

Ingest Node:

  • Simulate API: Return 400 on invalid processor(s) #130325 (issue: #120731)

Mapping:

  • Don't enable norms for fields of type text when the index mode is LogsDB or TSDB #131317

Vector Search:

  • Enable exclude_source_vectors by default for new indices #131907

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

Discovery-Plugins:

ES|QL:

Snapshot/Restore:

There are no breaking changes associated with this release.

There are no breaking changes associated with this release.

Snapshot/Restore:

  • Make S3 custom query parameter optional #128043

There are no breaking changes associated with this release.

Aggregations:

  • Remove date histogram boolean support #118484

Allocation:

  • Increase minimum threshold in shard balancer #115831
  • Remove cluster.routing.allocation.disk.watermark.enable_for_single_data_node setting #114207
  • Remove cluster state from /_cluster/reroute response #114231 (issue: #88978)

Analysis:

  • Snowball stemmers have been upgraded #114146
  • The 'german2' stemmer is now an alias for the 'german' snowball stemmer #113614
  • The 'persian' analyzer has stemmer by default #113482 (issue: #113050)
  • The Korean dictionary for Nori has been updated #114124

Authentication:

  • Configuring a bind DN in an LDAP or Active Directory (AD) realm without a corresponding bind password will prevent node from starting #118366

Cluster Coordination:

  • Remove unsupported legacy value for discovery.type #112903

EQL:

  • Set allow_partial_search_results=true by default #120267

Extract&Transform:

  • Restrict Connector APIs to manage/monitor_connector privileges #119863

Highlighting:

  • Remove support for deprecated force_source highlighting parameter #116943

Indices APIs:

  • Apply more strict parsing of actions in bulk API #115923
  • Remove deprecated local attribute from alias APIs #115393
  • Remove the ability to read frozen indices #120108
  • Remove unfreeze REST endpoint #119227

Infra/Core:

  • Change Elasticsearch timeouts to 429 response instead of 5xx #116026
  • Limit ByteSizeUnit to 2 decimals #120142
  • Remove client.type setting #118192 (issue: #104574)
  • Remove any references to org.elasticsearch.core.RestApiVersion#V_7 #118103

Infra/Logging:

  • Change deprecation.elasticsearch keyword to elasticsearch.deprecation #117933 (issue: #83251)
  • Rename deprecation index template #125606 (issue: #125445)

Infra/Metrics:

  • Deprecated tracing.apm.* settings got removed. #119926

Infra/REST API:

  • Output a consistent format when generating error json #90529 (issue: #89387)

Ingest Node:

  • Remove ecs option on user_agent processor #116077
  • Remove ignored fallback option on GeoIP processor #116112

Logs:

  • Conditionally enable logsdb by default for data streams matching with logs-- pattern. #121049 (issue: #106489)

Machine Learning:

  • Disable machine learning on macOS x86_64 #104125

Mapping:

  • Remove support for type, fields, copy_to and boost in metadata field definition #118825
  • Turn _source meta fieldmapper's mode attribute into a no-op #119072 (issue: #118596)

Search:

  • Adjust random_score default field to _seq_no field #118671
  • Change Semantic Text To Act Like A Normal Text Field #120813
  • Remove legacy params from range query #116970

Snapshot/Restore:

  • Remove deprecated xpack.searchable.snapshot.allocate_on_rolling_restart setting #114202

TLS:

  • Drop TLS_RSA cipher support for JDK 24 #123600
  • Remove TLSv1.1 from default protocols #121731

Transform:

  • Remove data_frame_transforms roles #117519

Vector Search:

  • Remove old _knn_search tech preview API in v9 #118104

Watcher:

  • Removing support for types field in watcher search #120748