mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 04:58:50 +00:00
3c2d2a7d4a
Fix NPE when CumulativeSum agg encounters null/empty bucket If the cusum agg encounters a null value, it's because the value is missing (like the first value from a derivative agg), the path is not valid, or the bucket in the path was empty. Previously cusum would just explode on the null, but this changes it so we only increment the sum if the value is non-null and finite. This is safe because even if the cusum encounters all null or empty buckets, the cumulative sum is still zero (like how the sum agg returns zero even if all the docs were missing values) I went ahead and tweaked AggregatorTestCase to allow testing pipelines, so that I could delete the IT test and reimplement it as AggTests. Closes #27544
112 lines
3.2 KiB
Plaintext
112 lines
3.2 KiB
Plaintext
[[es-release-notes]]
|
|
= {es} Release Notes
|
|
|
|
[partintro]
|
|
--
|
|
// Use these for links to issue and pulls. Note issues and pulls redirect one to
|
|
// each other on Github, so don't worry too much on using the right prefix.
|
|
:issue: https://github.com/elastic/elasticsearch/issues/
|
|
:pull: https://github.com/elastic/elasticsearch/pull/
|
|
|
|
This section summarizes the changes in each release.
|
|
|
|
* <<release-notes-7.0.0>>
|
|
* <<release-notes-6.4.0>>
|
|
|
|
|
|
--
|
|
|
|
[[release-notes-7.0.0]]
|
|
== {es} 7.0.0
|
|
|
|
[float]
|
|
[[breaking-7.0.0]]
|
|
=== Breaking Changes
|
|
|
|
<<write-thread-pool-fallback, Removed `thread_pool.bulk.*` settings and
|
|
`es.thread_pool.write.use_bulk_as_display_name` system property>> ({pull}29609[#29609])
|
|
|
|
<<systemd-service-file-config, Systemd service file is no longer marked as configuration>> ({pull}29004[#29004])
|
|
<<remove-suggest-metric, Removed `suggest` metric on stats APIs>> ({pull}29635[#29635])
|
|
|
|
<<remove-field-caps-body, In field capabilities APIs, removed support for providing fields in the request body>> ({pull}30185[#30185])
|
|
|
|
Machine Learning::
|
|
* The `max_running_jobs` node property is removed in this release. Use the
|
|
`xpack.ml.max_open_jobs` setting instead. For more information, see <<ml-settings>>.
|
|
|
|
* <<remove-http-enabled, Removed `http.enabled` setting>> ({pull}29601[#29601])
|
|
|
|
=== Deprecations
|
|
Monitoring::
|
|
* The `xpack.monitoring.collection.interval` setting can no longer be set to `-1`
|
|
to disable monitoring data collection. Use `xpack.monitoring.collection.enabled`
|
|
and set it to `false` (its default), which was added in 6.3.0.
|
|
|
|
Security::
|
|
* The fields returned as part of the mappings section by get index, get
|
|
mappings, get field mappings, and field capabilities API are now only the
|
|
ones that the user is authorized to access in case field level security is enabled.
|
|
|
|
//[float]
|
|
//=== Breaking Java Changes
|
|
|
|
//[float]
|
|
//=== Deprecations
|
|
|
|
//[float]
|
|
//=== New Features
|
|
|
|
//[float]
|
|
//=== Enhancements
|
|
|
|
[float]
|
|
=== Bug Fixes
|
|
|
|
Fixed prerelease version of elasticsearch in the `deb` package to sort before GA versions
|
|
({pull}29000[#29000])
|
|
|
|
=== Regressions
|
|
Fail snapshot operations early when creating or deleting a snapshot on a repository that has been
|
|
written to by an older Elasticsearch after writing to it with a newer Elasticsearch version. ({pull}30140[#30140])
|
|
|
|
Fix NPE when CumulativeSum agg encounters null value/empty bucket ({pull}29641[#29641])
|
|
|
|
//[float]
|
|
//=== Regressions
|
|
|
|
//[float]
|
|
//=== Known Issues
|
|
|
|
[[release-notes-6.4.0]]
|
|
== {es} 6.4.0
|
|
|
|
[float]
|
|
=== New Features
|
|
|
|
The new <<mapping-ignored-field,`_ignored`>> field allows to know which fields
|
|
got ignored at index time because of the <<ignore-malformed,`ignore_malformed`>>
|
|
option. ({pull}30140[#29658])
|
|
|
|
[float]
|
|
=== Enhancements
|
|
|
|
{ref-64}/breaking_64_api_changes.html#copy-source-settings-on-resize[Allow copying source settings on index resize operations] ({pull}30255[#30255])
|
|
|
|
Added new "Request" object flavored request methods. Prefer these instead of the
|
|
multi-argument versions. ({pull}29623[#29623])
|
|
|
|
|
|
[float]
|
|
=== Bug Fixes
|
|
|
|
Do not ignore request analysis/similarity settings on index resize operations when the source index already contains such settings ({pull}30216[#30216])
|
|
|
|
Fix NPE when CumulativeSum agg encounters null value/empty bucket ({pull}29641[#29641])
|
|
|
|
//[float]
|
|
//=== Regressions
|
|
|
|
//[float]
|
|
//=== Known Issues
|