Elasticsearch version 7.16.1
Elasticsearch version 7.16.1
Also see Breaking changes in 7.16.
Security updates
A high severity vulnerability (CVE-2021-44228) for Apache Log4j 2 versions 2.0 to 2.14 was disclosed publicly on the project’s GitHub on December 9, 2021.
For information about affected Elasticsearch versions and mitigation steps, see our related security announcement.
Known issues
Painless: Any Painless script where a method call resolves a lambda argument to a
UnaryOperator
or aBinaryOperator
type results in anIllegalArgumentException
. This exception results in a compilation error when static types are used, or a runtime error for dynamic types. Use standard procedural statements as a workaround, such asif/else
,while
, andfor
statements.The following example is a
UnaryOperator
type that will result in a failure:List l = ['abc', '123']; l.replaceAll(f -> f.replace('abc', 'doremi');
The following example is a possible workaround:
List l = ['abc', '123'];
for (int i = 0; i < l.size(); ++i) {
l.set(i, l.get(i).replace('abc', 'doremi'));
}
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)
Enhancements
Infra/Logging
- Disable JNDI lookups via the
log4j2.formatMsgNoLookups
system property #81622 - Patch log4j jar to remove the
JndiLookup
class from the classpath #81629
Infra/Core
Other
Bug fixes
Autoscaling
CCR
ILM+SLM
- Allow the
unfollow
action in the frozen phase #81434
Indices APIs
Infra/Core
- Allow configuration of
ThreadPool
warning times #81487
Infra/Logging
- Add
trace.id
to indexed deprecation logs #81524
Infra/Scripting
Machine Learning
Network
- Fail fast remote cluster requests when
skip_unavailable
istrue
#80589 (issue: #74773) - Fix channel open trace logging #81308
Other
SQL
- Fix metrics reporting when sorting on aggregated values #81510 (issue: #81502)
- Fix rearranging columns in PIVOT queries #81032 (issue: #80952)
- Only resolve aliases if asked for local cluster #81158 (issue: #81157)
Search
Transform