发布日期: 2025-12-03
版本号: v1.28.2

本次更新修复了Meilisearch 1.28.0和1.28.1版本中Prometheus指标路由的一个bug,当实例任务过多时会出现内存使用过高并可能导致实例被系统终止。建议使用/metrics路由的用户通过专用接口清理已完成或失败的任务,或升级至v1.28.2及以上版本。此次修复通过限制指标中获取的任务数量为一条来解决问题。

更新内容 (中文)

此版本修复了影响版本1.28.0和1.28.1中Prometheus指标路由的一个缺陷,特别是当实例的任务数量过多时。该问题表现为高内存使用率,并可能导致实例被OOM终止。如果您使用的是/metrics路由,我们建议使用专用路由删除索引中所有已完成或失败的任务,或升级至v1.28.2或更高版本。

🐛 缺陷修复

  • 通过@Kerollmops在https://github.com/meilisearch/meilisearch/pull/6024中将指标中检索的任务数量限制为一个

完整变更日志:https://github.com/meilisearch/meilisearch/compare/v1.28.1…v1.28.2

更新内容 (原始)

This release fixes a bug affecting the Prometheus metrics route in versions 1.28.0 and 1.28.1, specifically when the instance has too many tasks. The issue is visible as high memory usage and could cause the instance to be OOM-killed. If you are using the /metrics route, we recommend deleting all succeeded or failed tasks in the index using the dedicated route or upgrading to at least v1.28.2.

🐛 Bug fixes

Full Changelog: https://github.com/meilisearch/meilisearch/compare/v1.28.1...v1.28.2

下载链接