IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Elasticsearch version 8.2.0
editElasticsearch version 8.2.0
editKnown issues
edit-
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
edit- Aggregations
- Analysis
- Authorization
-
-
Add delete privilege to
kibana_system
for APM #85085 -
Ensure API key can only see itself with
QueryApiKey
API #84859 - Fix ownership of refresh tokens #85010
-
Grant
kibana_system
role read access to APM data streams #85744 - Handle role descriptor retrieval for internal users #85049
- Ignore app priv failures when resolving superuser #85519
-
Add delete privilege to
- EQL
-
- Clean any used memory by the sequence matcher and circuit breaker used bytes in case of exception #84451
- Engine
-
- Increase store ref before snapshotting index commit #84776
- Geo
- Highlighting
- ILM+SLM
-
- Fix Stacktraces Taking Memory in ILM Error Step Serialization #84266
-
Invoke initial
AsyncActionStep
for newly created indices #84541 (issue: #77269) - Retry clean and create snapshot if it already exists #83694 #84829 (issue: #83694)
- Skip the shrink step if the number of shards of the shrunk index is the same with the original #84434 (issue: #80180)
- Indices APIs
- Infra/Core
-
-
Fix
NullPointerException
inSystemIndexMetadataUpgradeService
hidden alias handling #84780 (issue: #81411) -
Prevent
ThreadContext
header leak when sending response #68649 (issue: #68278) - Relax data path deprecations from critical to warn #85952
- Require and preserve content type for filtered rest requests #84914 (issue: #84784)
- 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
-
Fix
- Infra/Plugins
- Infra/REST API
- Ingest
- License
- Machine Learning
-
-
Allow retrieving
boolean
fields from_source
in DFA jobs #85672 - Avoid multiple queued quantiles documents in renormalizer #85555 (issue: #85539)
- Disallow new trained model deployments when nodes are different versions #85465
- Do not fetch source when finding index of last state docs #85334
- Ensure that inference index primary shards are available before attempting to load model #85569
- Fix Kibana date format and similar overrides in text structure endpoint #84967
- Fix race condition when stopping a recently relocated datafeed #84636
- Fix serialisation of text embedding updates #85863
- Fixes for multi-line start patterns in text structure endpoint #85066
- Fixes to making old ML indices hidden #85383
- Reallocate model deployments on node shutdown events #85310
- Retry datafeed searches on skipped CCS clusters #84052 (issue: #83838)
- Return all Datafeeds with GET Anomaly Detector #84759
-
Allow retrieving
- Mapping
- Packaging
-
- Remove use of Cloudflare zlib #84680
- Rollup
- SQL
-
- Add range checks to interval multiplication operation #83478 (issue: #83336)
- Avoid empty last pages for GROUP BY queries when possible #84356 (issue: #75528)
- Fix SQLCompatIT.testCursorFromOldNodeFailsOnNewNode #85531 (issue: #85520)
- Fix issues with format=txt when paging through result sets and in mixed node environments #83833 (issues: #83581, #83788)
- Improve ROUND and TRUNCATE to better manage Long values and big Doubles #85106 (issues: #85105, #49391)
- Use exact attributes for script templates from scalar functions #84813 (issue: #80551)
-
RANDOM(<expr>)
always evaluates toNULL
if<expr>
isNULL
#84632 (issue: #84627)
- Search
-
-
Fix point visitor in
DiskUsage
API #84909 -
Fix skip caching factor with
indices.queries.cache.all_segments
#85510 - Increase store ref before analyzing disk usage #84774
- Limit concurrent shard requests in disk usage API #84900 (issue: #84779)
-
Rewrite
match_all
insidemust_not
#85999 -
DotExpandingXContentParser
to expose the original token location #84970 -
TransportBroadcastAction
should always set response for each shard #84926
-
Fix point visitor in
- Security
- Snapshot/Restore
-
- Don’t fail if there is no symlink for AWS Web Identity Token #84697
- Expose proxy settings for GCS repositories #85785 (issue: #84569)
- Fix atomic writes in HDFS #85210
- Fix leaking listeners bug on frozen tier #85239
- Fix snapshot status messages on node-left #85021
- Ignore frozen shared cache file during data folder upgrades #85638 (issue: #85603)
- [s3-repository] Lookup AWS Region for STS Client from STS endpoint #84585 (issue: #83826)
- Stats
- Transform
- Watcher
Enhancements
edit- Aggregations
-
-
Aggs: no filter-by-filter if
_doc_count
field #84427 (issue: #84048) - Extract agg bounds from queries in FILTER #83902
- Give Lucene more opportunities to enable the filter-by-filter optimization #85322
-
Improve performance of
date_histogram
when date histogram is in a BoostingQuery #83751 (issues: #82384, #75542)
-
Aggs: no filter-by-filter if
- Allocation
- Audit
-
- User Profile - Audit security config change for profile APIs #84785
- Authentication
- Authorization
-
- Add elastic/enterprise-search-server service account #83325
- Add index privileges for logs-enterprise_search.api-default to the enterprise-search-server service account #84965
- Add indices permissions to Enterprise Search service account #85726
- Note restricted indices in access denied message #85013
- Security global privilege for updating profile data of applications #83728
-
[Osquery] Extend
kibana_system
role with an access toosquery_manager
indices #84279
- CRUD
-
-
Speed up Reading
RetentionLeases
from the Wire #85159
-
Speed up Reading
- Cluster Coordination
- Data streams
-
-
Speed up
DatastreamTimestampFieldMapper#postParse
#85270
-
Speed up
- Discovery-Plugins
- Distributed
-
- Add elasticsearch health API #83119
- Geo
- Health
- ILM+SLM
-
-
Cache ILM policy name on
IndexMetadata
#83603 (issue: #83582) - GET _index_template and GET _component_template request support query parameter flat_settings #83297
- Make rollover cancellable #81763 #84584 (issue: #81763)
- Rollover add max_primary_shard_docs condition #80981
- Speed up ILM cluster task execution #85405 (issue: #82708)
-
Cache ILM policy name on
- Indices APIs
- Infra/Core
-
- Add support for negtive epoch timestamps #80208 (issues: #79135, #72123, #40983)
- Allow yaml values for dynamic node settings #85186 (issue: #65577)
- Improve XContent Array Parser #84477
-
Optimize
ImmutableOpenMap.Builder
#85184 - Provide system attribute when resolving system indices #85042 (issue: #82671)
- Remove Lucene split packages #82132 (issue: #81981)
- Simplify reading a list and converting it to a map from stream #84183
- Speed up CompressedXContent Serialization #84802
-
Update
readMap
to avoid resizing map during reading #84045
- Infra/Plugins
- Infra/Scripting
-
- Script: Fields API for Dense Vector #83550
- Ingest
- Machine Learning
- Mapping
- Network
-
- Use Throttling Netty Write Handler on HTTP Path #84751
- Query Languages
- Recovery
-
- Improve failure logging in recovery-from-snapshot #84910
- Reindex
-
-
Use
SecureString
for reindex from remote password #85091
-
Use
- SQL
- Search
- Security
-
- Bind host all instead of just site when needed #83145
-
Fleet: Add a new mapping for .fleet-actions-results
action_input_type
field #84316 - Update X509Certificate principal methods #85163 (issue: #81008)
- User Profile - Add APIs for enable/disable profile #84548
- User Profile - Add rest spec files and tests #83307
- User Profile - More REST spec, tests, API docs #84597
- User Profile - Update APIs to work with domain #83570
- User Profile - Update xpack usage output for domains #84747
- User Profile - capture domain when creating API keys and tokens #84547
- User Profile: Add feature flag #83347
- User Profile: Add initial search profile API #83191
- User Profile: handle racing on creating new profile #84208
- TSDB
- Watcher
New features
edit- Aggregations
-
-
New
random_sampler
aggregation for sampling documents in aggregations #84363
-
New
- Authentication
- Authorization
-
- API Key APIs with Security Domain #84704
- Health
- Indices APIs
- Infra/Core
- Machine Learning
-
-
Adds new
change_point
pipeline aggregation #83428
-
Adds new
- Search
- TSDB
-
- TSDB: Support GET and DELETE and doc versioning #82633