Skip to content

Prepare to release Apache RocketMQ 5.5.1 #10680

Description

@lizhimins

Prepare to release Apache RocketMQ 5.5.1

Motivation

Prepare to release Apache RocketMQ 5.5.1.

Prerequisites / Blockers

  • Waiting for the dLedger repository to completely remove the fastjson1 dependency before finalizing this release.

Summary

  • Stability & correctness: Fixed 30+ bugs including pop consumer CK record loss, TLS certificate hot-reload native memory leak, tiered storage concurrency issues, ServiceThread data race, master election comparator overflow, and CombineConsumeQueue long-polling notification miss.
  • Lite messaging evolution: Server-side Lite Simple Consumer support, exclusive subscription eviction via tombstones, lite topic reset offset fix, and removal of the legacy enableLiteEventMode switch.
  • Performance: Reduced per-message and per-RPC allocations (MessageId, Remoting header encoding, metrics AttributeKey, CommitLog scratch buffer), added madvise(MADV_RANDOM) for offset binary search, and introduced dispatch memory backpressure.
  • Tiered storage hardening: Dual TTL read-ahead cache, selective double-write in CombineConsumeQueueStore, resource leak fixes, and standardized logging/error handling.
  • Operations & developer experience: Batch topic/subscription-group deletion, gRPC keepalive configuration, LMQ gauge metric, native CqCompactionFilter JNI shim, and Bazel CI alignment.

变更摘要

  • 稳定性与正确性:修复 30+ 个 Bug,包括 Pop 消费 CK 记录丢失、TLS 证书热加载 native 内存泄漏、分级存储并发问题、ServiceThread 数据竞争、Master 选举比较器溢出、CombineConsumeQueue 长轮询通知丢失等。
  • Lite 消息演进:服务端支持 Lite Simple Consumer、基于墓碑机制的独占订阅驱逐、Lite Topic 重置 offset 修复、移除遗留 enableLiteEventMode 开关。
  • 性能优化:减少单消息和单 RPC 内存分配(MessageId、Remoting 头编码、Metrics AttributeKey、CommitLog 线程缓冲),offset 二分查找引入 madvise(MADV_RANDOM),新增 dispatch 内存反压。
  • 分级存储加固:双 TTL 预读缓存、CombineConsumeQueueStore 选择性双写、资源泄漏修复、日志与错误处理标准化。
  • 运维与开发体验:批量删除 Topic/订阅组、gRPC keepalive 配置、LMQ 数量 Gauge 指标、原生 CqCompactionFilter JNI shim、Bazel CI 对齐。

Changelog since 5.5.0

Bug Fixes:

New Features & Improvements:

Performance Optimizations:

CI / Build / Test:

Documentation & Misc:

Full changelog:
rocketmq-all-5.5.0...develop

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions