Elasticsearch version 7.14.0
editElasticsearch version 7.14.0
editAlso see Breaking changes in 7.14.
Known issues
edit-
Frozen tier: (Windows only) The frozen data tier relies on multiple caching mechanisms to speed up access to searchable snapshot files. One of these caches uses sparse files to avoid creating large files on disk when it is not strictly required. A bug prevented files from being created with the right options to enable sparse support on Windows, leading Elasticsearch to create potentially large files that can end up consuming all the disk space.
This issue is fixed in Elasticsearch versions 7.15.2 and later. There is no known workaround for earlier versions. Filesystems that enable sparse files by default are not affected. For more details, see #79371.
-
Aggregations: In Elasticsearch 7.14.0–7.15.0, when a cross-cluster search (CCS) request is proxied, the memory for the aggregations on the proxy node will not be freed. The trigger is cross-cluster search using aggregations where minimize roundtrips is not effective (for example, when minimize roundtrips is explicitly disabled, or implicitly disabled when using scroll, async and point-in-time searches).
This affects Kibana CCS aggregations because Kibana uses async search by default. This issue can also happen in all modes of remote connections configured for cross-cluster search (sniff and proxy). In sniff mode, we only connect to a subset of the remote nodes (by default 3). So if the remote node we want to send a request to is not one of those 3, we must send the request as a proxy request. The workaround is to periodically restart nodes with heap pressure.
We have fixed this issue in Elasticsearch 7.15.1 and later versions. For more details, see #78404.
-
Snapshot and restore: If a running snapshot is cancelled while a previously-started snapshot is still ongoing and a later snapshot is enqueued then there is a risk that some shard data may be lost from the repository. This will cause future restore operations to fail. To mitigate this problem, set
snapshot.max_concurrent_operations: 1
to prevent concurrent snapshot operations:PUT _cluster/settings { "persistent" : { "snapshot.max_concurrent_operations" : 1 } }
This issue is fixed in Elasticsearch versions 7.14.1 and later. It is not possible to repair a repository once it is affected by this issue, so you must restore the repository from a backup, or clear the repository by executing
DELETE _snapshot/<repository name>/*
, or move to a fresh repository. For more details, see #75598. -
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) -
The deprecated
index.mapper.dynamic
setting can break your cluster. It can only be set using the Update index settings API. Symptoms include nodes failing to start or shards failing to allocate. Do not use this setting in versions prior to 7.17.22. The bug is fixed in 7.17.22. (issue: #109160)
Breaking changes
edit- CCR
- Cluster Coordination
Deprecations
edit- Allocation
- Analysis
-
- Deprecate setting version on analyzers #74073
- Authentication
- Authorization
-
-
Designate
reporting_user
as a deprecated role #72057
-
Designate
- Features/Indices APIs
- Infra/Core
- Infra/Logging
-
- Deprecate slow log level #73718
- Mapping
-
- Add deprecation warnings to geo fields that define multifields #71912
- Security
New features
edit- Features/Data streams
- Features/ILM+SLM
- Mapping
- SQL
- Search
-
-
New
terms_enum
API for discovering terms in the index #66452
-
New
Enhancements
edit- Aggregations
-
-
Add
keep_values
gap policy #73297 (issue: #27377) - Add extra profiling information to terms agg #73636
- Add support for range aggregations on histogram mapped fields #74146 (issue: #74071)
- Only enable "filter by filter" optimization for terms, date_histogram, range, and fitlers aggregation when we’re sure it’ll be faster #74260
- Docvalueformat errors #73121 (issue: #72040)
-
Optimize lone single bucket
date_histogram
#71180 (issue: #69377) - Read aggregations directly from pooled buffers #72309
- Reduce agg buckets only if competitive #74096
-
Add
- Allocation
- Audit
- Authentication
- Authorization
-
-
Granting
kibana_system
reserved role access to "all" privileges to .alerts* and .siem-signals* index #72181 - Improve error when handling unexpected wildcards #73079 (issues: #43015, #61245)
- Make RBACEngine.resolveAuthorizedIndicesFromRole Return Set for Lookups #72598
- Service Accounts - Disallow oauth2 creation #72553
- Service Accounts - no roles in denial error message #72517
- Support shard request cache for queries with DLS and FLS #70191 (issue: #44581)
-
Granting
- CCR
- Client
-
- Service Accounts - HLRC #72431
- Cluster Coordination
- Distributed
- Features/Features
- Features/ILM+SLM
- Features/Ingest
-
- Add template snippets support for KV ingest processor #73758 (issue: #73377)
- Enable GeoIP downloader by default #74323
- Change GeoIP downloader policy after 30 days of no updates #74099
- Expose Community ID processor in Painless #73963 (issue: #73346)
- Expose URI parts processor in Painless #73634 (issue: #73346)
- Features/Java High Level REST Client
-
- Add point in time to HLRC #72167 (issue: #70593)
- Verify that main info response returns correct product headers #73910 (issue: #73434)
- Change GET method to POST in Searchtemplate #72851 (issues: #72073, #72397)
-
Adds new
running_state
field to datafeed stats (#73926) #74025 - Adds support for reset job API #74254
- Features/Stats
- Features/Watcher
- Geo
- Infra/Core
-
- Add thread pool for critical operations on system indices #72625 (issue: #69251)
-
Add
unenroll_timeout
/unenrolled_reason
field to Fleet system indices #74180 - Add warnings if timer thread is late to wake up #72465
- Log slow executions on scheduler thread #72606 (issue: #72465)
- Protect newly introduced system indices fully #74186 (issue: #72572)
-
RestController
not using thread context directly from thread pool #74293
- Infra/Node Lifecycle
- Infra/Scripting
-
-
Delegate to wrapped map for
toString
inDynamicMap
#72048
-
Delegate to wrapped map for
- Machine Learning
-
-
Add new
bucket_correlation
aggregation with initialcount_correlation
function #72133 -
Add new
ml_standard
tokenizer for ML categorization #72744 -
Adding
running_state
to datafeed stats object #73926 - Adding new KS test pipeline aggregation #73334
- Adds latest record timestamp to model snapshot deprecation warning #73066
- Closing an anomaly detection job now automatically stops its datafeed if necessary #74257
- Further increase memory estimates for categorization #73370 (issue: #68859)
-
Make
ml_standard
tokenizer create single tokens for email addresses #73052 -
Make
ml_standard
tokenizer the default for new categorization jobs #72805 (issue: #1724) - Optimize inference step when there are no test docs #74315
- Reset anomaly detection job API #73908
- Switch ML internal index templates to composable templates #73232 (issue: #65437)
- Give higher weight to multiple adjacent dictionary words when performing categorization #1903
-
Add new
- Mapping
-
- Add a cluster deprecation check for index templates containing multiple types #72540
-
Enhance error message for
copy_to
#72820 (issue: #49344) - Make intervals queries fully pluggable through field mappers #71429
-
DynamicFieldType
to expose its known subfields names #73530 -
FieldTypeLookup
to support dynamic runtime fields #73519
- Packaging
- Recovery
- Search
-
-
Add
search_after
support to newtermsEnum
API #72933 (issue: #72910) - Be cleverer about extracting nested sources #73157
-
Integrate circuit breaker in
AsyncTaskIndexService
#73862 (issues: #67594, #73638) - PIT: Make validation error actionable #74224 (issue: #74223)
-
Support field collapsing with
search_after
#73023 (issue: #53115) - Support much larger source filters #72277
- Write async response directly to XContent to reduce memory usage #73707 (issue: #67594)
-
Add
- Security
-
- Add REST API specification for SAML APIs #72839 (issue: #67189)
- Cache API key hashing results on creation time #74106
-
Expose API Key metadata to
SetSecurityUser
ingest processor #72137 (issue: #71024) - Move hashing on API key creation to crypto thread pool #74165 (issue: #74106)
- Service Accounts - show token name for name validation failures #73131 (issue: #73081)
- Snapshot/Restore
-
- Abort writes in repo analyzer #72077 (issue: #72051)
- Add more snapshot details to repo data #72232
- Allow some repository settings to be updated dynamically #72543
-
Cache
RepositoryData
outright instead of serialized #73190 -
Introduce
next
field in paginatedGetSnapshots
Response #74236 (issue: #73952) -
Introduce
SNAPSHOT_META
thread pool for fetching repository metadata #73172 - Make large bulk snapshot deletes more memory efficient #72788
-
Make
GetSnapshotsAction
cancellable #72644 -
Make
SnapshotStatusAction
cancellable #73818 (issue: #72644) - Pagination and sorting for get snapshots API #73952
- Prevent deletion of repositories that are used by snapshot-backed indices #73714
- Reroute when new repository is registered #73761 (issues: #73669, #73714)
- Save memory on large repository metadata blob writes #74313
- Task Management
-
- Add support for Rest XPackUsage task cancellation #72304
-
Add support for
RestGetMapping
cancellation #72234 -
Add support for task cancellation to
TransportMasterNodeAction
#72157 - Identify cancelled tasks in list tasks API #72931 (issue: #72907)
-
Log at
DEBUG
only on disconnect during cancellation #74042 (issues: #65443, #72968)
- Transform
Bug fixes
edit- Aggregations
- CRUD
-
- Move get-aliases handling onto management thread #74053
- CompositeAggs
-
- Fail composite aggregation if after key is unparsable #74252
- Distributed
-
-
Change REST status code for
TaskCancelledException
to 400 #73524
-
Change REST status code for
- Features/Ingest
- Features/Java High Level REST Client
-
- Fix comparison of identical values leads to a bug of non-effective value #74040
- Geo
-
-
Do not over-allocate when resizing in
GeoHashTiler
with bounds #72539 (issue: #72521) -
Handle properly precision 0 for
BoundedGeoTileGrid
#72800 - [Geopoint] Grid aggregations with bounds should exclude touching tiles #72493 (issue: #72295)
- [Geoshape] Grid aggregations with bounds should exclude touching tiles #72295
-
GeoShapeIndexer#prepareForIndex
should be called for computing the doc value centroid #73856 (issue: #73836)
-
Do not over-allocate when resizing in
- Highlighting
- Infra/Core
- Infra/Logging
- Infra/Scripting
-
- Fix several function reference bugs in Painless #73538
- Machine Learning
- Mapping
- Packaging
- Recovery
- Search
- Snapshot/Restore
- TLS