Elasticsearch version 7.16.1
editElasticsearch version 7.16.1
editAlso see Breaking changes in 7.16.
Security updates
edit-
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
edit-
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
edit- Infra/Logging
- Infra/Core
- Other