Elasticsearch 版本 8.10.0
editElasticsearch 版本 8.10.0
edit另请参阅 8.10 中的重大变更。
已知问题
edit-
基于快照的降级
快照存储库格式发生了变化,如果存储库包含从此版本创建的快照,并且上次写入此存储库的集群是在8.10系列中,则较早版本的Elasticsearch将无法读取存储库内容。这将阻止您通过恢复升级前创建的快照来回滚到8.10系列。
由运行版本8.11.0及更高版本的集群编写的快照存储库与所有早期版本兼容。此外,运行版本8.11.0或更高版本的集群在首次写入存储库以获取或删除快照时,将自动修复存储库格式,使其内容可以再次被所有早期版本读取。
如果您希望降级到8.9.0之前的版本,请先使用运行版本8.11.0或更高版本的集群进行快照的拍摄或删除,以修复存储库格式。如果您无法以这种方式修复存储库,请首先删除使用版本8.9.0或更高版本拍摄的存储库中的所有快照。为此,您需要使用运行版本8.10.0或更高版本的集群。
如果您希望降级到8.9系列的版本,您必须使用运行版本8.11.0或更高版本的集群来创建或删除快照以首先修复存储库格式。如果您无法以这种方式修复存储库,请首先使用运行版本8.10.4的集群删除使用版本8.10.0或更高版本创建的存储库中的所有快照。
-
由于GC JVM设置更改导致的高内存压力
此版本的 Elasticsearch 捆绑了 JDK 20。在 JDK 20 中,预防性 GC 默认被禁用。这可能会导致在某些负载模式下检索大文档时,内存压力增加和 CircuitBreakerExceptions 数量增加。(问题: #99592)
如果此更改影响您对 Elasticsearch 的使用,请考虑通过添加 JVM 参数
-XX:+UnlockDiagnosticVMOptions -XX:+G1UsePreventiveGC(参考: JDK 20 发布说明)重新启用之前的行为。需要注意的是,此解决方法是临时的,仅适用于 JDK 20,该版本与 Elasticsearch 8.10.2 及以下版本捆绑在一起。后续版本将捆绑 JDK 21+,其中此设置 已被移除。指定这些 JVM 参数将阻止 JVM(以及 Elasticsearch 节点)启动。
重大变更
editBug 修复
edit- Aggregations
- Allocation
- Application
- CRUD
-
-
在
indicesThatCannotBeCreated上添加缺失的同步 #97869
-
在
- Cluster Coordination
- Data streams
-
- 避免在数据流生命周期使用API中出现生命周期NPE #98260
- Distributed
- Downsampling
- EQL
- Geo
- Health
-
-
_health_reportSLM 指标应使用策略 ID(而不是名称)#99111
-
- Indices APIs
-
- 确保冻结索引具有正确的层级偏好 #97967
- Infra/REST API
-
-
修复了当 transportversion 为空时在
MainResponse中可能出现的 NPE 问题 #97203
-
修复了当 transportversion 为空时在
- Ingest Node
-
- 还原“添加用于丰富字段的映射” #98683
- Machine Learning
- Mapping
- Network
-
- 分叉远程集群响应处理 #97922
- Search
- Security
-
-
修复在配置索引存在之前使用配置UID调用
GetUser时的NPE问题 #98961
-
修复在配置索引存在之前使用配置UID调用
- Snapshot/Restore
-
-
修复
BlobCacheBufferedIndexInput克隆后的读取问题 #98970
-
修复
- TSDB
-
- 映射字段类型可通过doc值进行搜索 #97724
- Transform
- Watcher
-
- 更改观察者以禁用共享http客户端中的cookie #97591
弃用
edit- Authorization
-
-
标记
apm_user以在未来的主要版本中移除 #87674
-
标记
增强功能
edit- Aggregations
- Allocation
-
-
将
node.roles添加到 cat allocation API #96994
-
将
- Application
- Authentication
- Authorization
- Data streams
-
- 安装用于Kibana报告的数据流模板 #97765
- Downsampling
- EQL
-
-
EQL 仅在内部
field_caps调用中使用必要的字段 #98987
-
EQL 仅在内部
- Engine
- Health
- ILM+SLM
-
- 将SLM与ILM分离 #98184
- Infra/Core
-
- 用于报告文档解析的基础设施 #97961
- Infra/Node Lifecycle
- Infra/Plugins
-
-
添加
ApiFilteringActionFilter#97985
-
添加
- Infra/REST API
- Infra/Settings
-
- 为无服务器设置标记客户设置 #98051
- Ingest Node
-
- 允许下载自定义的地理IP数据库文件 #97850
- Network
-
- 为RCS传输连接添加请求头大小限制 #98692
- Search
-
-
Add
completion_timetime field toasync_searchget and status response #97700 (issue: #88640) - Add setting for search parallelism #98455
- Add support for concurrent collection when size is greater than zero #98425
- Cross-cluster search provides details about search on each cluster #97731
- Enable parallel collection in Dfs phase #97416
- Exclude clusters from a cross-cluster search #97865
- Improve MatchNoDocsQuery description #96069 (issue: #95741)
- Improve exists query rewrite #97159
- Improve match query rewrite #97208
- Improve prefix query rewrite #97209
- Improve wildcard query and terms query rewrite #97594
- Introduce Synonyms Management API used for synonym and synonym_graph filters #97962 (issue: #38523)
-
Introduce a collector manager for
PartialHitCountCollector#97550 -
Introduce a collector manager for
QueryPhaseCollector#97410 -
Limit
_terms_enumprefix size #97488 (issue: #96572) - Support minimum_should_match field for terms_set query #96082
- Support type for simple query string #96717
-
Unwrap IOException in
ContextIndexSearcherconcurrent code-path #98459 - Use a collector manager in DfsPhase Knn Search #96689
- Use the Weight#matches mode for highlighting by default #96068
-
Wire
QueryPhaseCollectorManagerinto the query phase #97726 - Wire concurrent top docs collector managers when size is 0 #97755
-
ProfileCollectorManagerto support child profile collectors #97387 - cleanup some code NoriTokenizerFactory and KuromojiTokenizerFactory #92574
-
Add
- Security
- Snapshot/Restore
- Store
- TSDB
- Transform
-
- 支持在转换中使用箱线图聚合 #96515
新功能
edit升级
edit- Network
-
- 将Netty升级到4.1.94.Final #97040