Commit Graph

9030 Commits

Author SHA1 Message Date
guyinyou c197e50f8d [ISSUE #10079] FlushConsumeQueueService: always flush store checkpoint after CQ flush (#10080)
Change-Id: I57c0922bb81c2d43359867e82a92fdf2deab7ad7

Co-authored-by: guyinyou <guyinyou.gyy@alibaba-inc.com>
2026-02-09 17:38:03 +08:00
gaoyf 1754cece4b Restore the lost PR 3460 (#10067) 2026-02-06 15:30:15 +08:00
guyinyou 26480ddc87 [ISSUE #10073] Fix StoreCheckpoint logicsMsgTimestamp to reflect flushed consume queue storetime (#10074)
* Fix StoreCheckpoint: set logicsMsgTimestamp only after CQ flush, use logicsMsgTempTimestamp for in-memory storetime

Change-Id: I6085bf6efaef84168ece31d080481717465f2b13

* rename to tmpLogicsMsgTimestamp

Change-Id: Ia65ca06751f765bdc2bf053c58e08789f4b2fb22

---------

Co-authored-by: guyinyou <guyinyou.gyy@alibaba-inc.com>
2026-02-05 22:34:12 +08:00
Quan d254f791f2 [ISSUE #10071] Fix PopLiteLongPollingService#cleanUnusedResource
Problem: The cleanUnusedResource method was cleaning up client long polling requests without returning results to clients, causing client errors.

Solution:
1. Simplified the cleanUnusedResource method to only remove entries with empty request queues
2. Changed cleanup interval from 5 minutes to 3 minutes

Change-Id: If7052ba0d088e68cf654e6b7efafe09f5fa877be
2026-02-05 17:51:47 +08:00
yx9o c2c674dcd4 [ISSUE #10068] Remove duplicate registration in DefaultMessagingProcessor.init (#10069) 2026-02-05 13:57:09 +08:00
qianye 7fe0349f71 [ISSUE #10063] Notification request adds subscription expression to support on-demand wake-up (#10064) 2026-02-05 10:55:32 +08:00
yx9o a6c5604b6c [ISSUE #10046] Fix lock leak risk in sendHeartbeatToBroker (#10047) 2026-02-05 09:50:22 +08:00
yx9o 04711367b7 [ISSUE #9999] Mark custom delay time messages with delay type (#10000) 2026-02-05 09:48:45 +08:00
lizhimins 10c650c487 [ISSUE #10034] Optimizing cq iterator and calculating lag (#10056) 2026-02-02 21:01:46 +08:00
gaoyf 93888428cc [ISSUE #9899] Forbid windows sync directory (#10057) 2026-02-02 15:13:13 +08:00
ltamber f80753f0da [ISSUE #10050] Support ChangeInvisibleTime without incrementing message reconsume times (#10051) 2026-02-02 14:06:57 +08:00
rongtong 7583fda113 fix(store): close all consume queue file handles on ConsumeQueueStore shutdown (#10060)
* fix(store): close all consume queue file handles on ConsumeQueueStore shutdown

* remove implementation

---------

Co-authored-by: RongtongJin <user@example.com>
2026-02-02 11:41:35 +08:00
yx9o 89d331c6ba [ISSUE #10054] Correct the output format for ConsumerRecords (#10055) 2026-02-02 10:52:11 +08:00
yx9o 3a184c3e9e [ISSUE #10021] Optimize consumer type check with EnumSet (#10022) 2026-01-30 10:05:48 +08:00
wizcraft_kris 24ca9e46b5 [ISSUE #10043] Make TimerMessageReputService thread pool configurable and shutdown gracefully (#10044) 2026-01-30 10:04:40 +08:00
yx9o 9ad4a1b947 [ISSUE #9988] Remove mismatched response header in getConsumerConnectionList (#9989) 2026-01-26 17:31:20 +08:00
guyinyou c7892a694a [ISSUE #9852] Print full message when CRC not found in properties (#9853)
When the error 'failed to check message CRC, not found CRC in properties' occurs,
now it will print the full message content including topic, properties map,
properties length, and full message hex for debugging purposes.

Change-Id: I26d977e13802c5e69d01f16512e40d121dcff354
Co-developed-by: Cursor <noreply@cursor.com>

Co-authored-by: guyinyou <guyinyou.gyy@alibaba-inc.com>
2026-01-26 10:02:17 +08:00
guyinyou 90b0906ae6 [ISSUE #10038] Fix checkCommitLogOffsetOnRecover to skip validation for BLANK_MAGIC_CODE messages (#10039)
Change-Id: If1913db5155fe4135f2dbd1b58417b3afc6748c1

Co-authored-by: guyinyou <guyinyou.gyy@alibaba-inc.com>
2026-01-26 10:01:49 +08:00
yx9o 50e7ffa4c8 [ISSUE #10040] Ignore flattened-pom.xml files generated by maven (#10041) 2026-01-22 11:55:56 +08:00
guyinyou 236ede218a Fix: avoid extra padding when message end position is already page-aligned (#10036)
Change-Id: I3e7fad9c4b194b20015414bcceb830760df68fea

Co-authored-by: guyinyou <guyinyou.gyy@alibaba-inc.com>
2026-01-21 17:19:34 +08:00
rongtong 4aa6cdd99e [ISSUE #10019] Revert "[ISSUE #8127]Optimize the metric calculation logic of the time wheel" (#10020)
* Revert "[ISSUE #8127]Optimize the metric calculation logic of the time wheel"

* Revert "[ISSUE #8127]Optimize the metric calculation logic of the time wheel"

* Revert "[ISSUE #8127]Optimize the metric calculation logic of the time wheel"

---------

Co-authored-by: RongtongJin <user@example.com>
2026-01-21 14:15:00 +08:00
guyinyou 94ba5e14f8 [ISSUE #10031] Add PreprocessHandler interface in AllocateMappedFileService
Change-Id: I4e81916a79f89c095ffb7b860c8ccd49e88c76ea

Co-authored-by: guyinyou <guyinyou.gyy@alibaba-inc.com>
2026-01-21 10:07:51 +08:00
guyinyou 36adf1251f [ISSUE #10017] Validate commitlog offset in recoverAbnormally to prevent processing … (#10018)
* validate commitlog offset in recoverAbnormally to prevent processing old file data that passes CRC checks

Change-Id: If4b1881f82d26ce8d374472d73ec9ce3d51ba643

* fix

Change-Id: Idc4bf7ec476cc9b6529619c2aa9afd6a980b819c

* add checkCommitLogOffsetOnRecover in MessageStoreConfig

Change-Id: Iac9afbb8b3ffb03fa15890decaf502afbfa44cf9

---------

Co-authored-by: guyinyou <guyinyou.gyy@alibaba-inc.com>
2026-01-20 14:44:22 +08:00
wizcraft_kris 899a1b5520 [ISSUE #10023] Remove duplicate shutdown and rejection handler calls for routeThreadPoolExecutor (#10024) 2026-01-20 14:09:02 +08:00
Aman Gautam 2eb537cdaa [ISSUE #9980] Skip invalid Pop records when consumer group does not exist (#9982)
Signed-off-by: Aman Gautam <amangautam2128@gmail.com>
2026-01-20 14:02:15 +08:00
guyinyou ee104114ac [ISSUE #10015] Optimize writeWithoutMmap. add page alignment to avoid read-modify-write
Change-Id: I41ae3b71a4803295c2487cdf8f5e458764b64ebc

Co-authored-by: guyinyou <guyinyou.gyy@alibaba-inc.com>
2026-01-16 17:59:02 +08:00
Quan 1b6a919bde [RIP-83] Lite Topic: A New Message Model (#9800)
Co-authored-by: imzs <imzs@foxmail.com>
Co-authored-by: zhouli11 <04081337@163.com>
2026-01-16 17:20:22 +08:00
yx9o 45fc4e0c7b [ISSUE #10005] Fix switch-case logic in updateConsumerOffsetAsync (#10006) 2026-01-15 10:58:35 +08:00
lizhimins 3d3a2d032f [ISSUE #9975] Bump broker rocksdb from 1.0.2 to 1.0.6 (#10002)
* [ISSUE #9975] Bump broker rocksdb from 1.0.2 to 1.0.5

Change-Id: Ic5c9e959d6ab532a92167bf562912b6008041df6

* [ISSUE #9975] Bump broker rocksdb from 1.0.2 to 1.0.6
2026-01-14 13:45:45 +08:00
wizcraft_kris 527bb9872d [ISSUE #9900] Supports sending heartbeats to the broker concurrently (#9901) 2026-01-14 11:15:18 +08:00
yx9o 500c46866a [ISSUE #9978] Remove static from loadJsonConfig and unify exception strings (#9979) 2026-01-14 10:36:46 +08:00
ymwneu b6cc188bfa [ISSUE #9992] Fix remoting server netty server codec thread reuse problem (#9993)
Co-authored-by: maowei.ymw <maowei.ymw@alibaba-inc.com>
2026-01-14 10:06:22 +08:00
lizhimins 4eead1364d [ISSUE #9912] Reduce excessive requests for consumer offset timestamps in tiered storage (#9991)
* [ISSUE #9912] Reduce excessive requests for consumer offset timestamps in tiered storage

Signed-off-by: terrance.lzm <terrance.lzm@alibaba-inc.com>

* [ISSUE #9912] Reduce excessive requests for consumer offset timestamps in tiered storage

---------

Signed-off-by: terrance.lzm <terrance.lzm@alibaba-inc.com>
2026-01-13 09:56:22 +08:00
Humkum 9fecafe086 [ISSUE #9953] Fix: there's no need to decompress message body in server side (#9954) 2026-01-12 11:26:58 +08:00
yx9o ae6981453a [ISSUE #9923] Transactional messages should not send custom delayed messages (#9924)
* [ISSUE #9923] Transactional messages should not send custom delayed messages

* Transactional messages do not support delayed delivery
2026-01-08 15:16:25 +08:00
majialong 4c665802a2 [ISSUE #9994] Improve switchTimerEngine command with OptionGroup validation (#9995) 2026-01-08 14:19:37 +08:00
qianye 7fc5452e0d [ISSUE #9970] Refactor the MessageQueueSelector to support more flexible queue selection strategy (#9971) 2026-01-07 15:40:09 +08:00
lizhimins 9f23894180 [ISSUE #9980] Skip invalid records when the group is absent in Pop (#9981)
Signed-off-by: terrance.lzm <terrance.lzm@alibaba-inc.com>
2026-01-07 15:19:54 +08:00
mxsm 6ab57ad478 [ISSUE #9976] Update copyright year in NOTICE file to 2026 (#9977) 2026-01-06 19:22:03 +08:00
yuz10 cbe72c7b6a [ISSUE #9962] Fix the failure of fastjson2 parsing metricsExporterType in proxy config (#9963) 2026-01-06 10:07:53 +08:00
yx9o 7cc077416e [ISSUE #9964] Rename intConfig method to initConfig (#9965) 2026-01-04 17:46:20 +08:00
yx9o 1117ab8f97 [ISSUE #9780] Skip unnecessary RPC when topic has no message queues (#9781) 2025-12-30 11:49:11 +08:00
lizhimins b5da00ad0f [ISSUE #9936] Release Apache RocketMQ 5.4.0 (#9937) rocketmq-all-5.4.0 2025-12-24 15:24:57 +08:00
imzs 4b187c6e11 [ISSUE #9945] Use UniqueKey as the TimerDelKey value when no namespace is appended (#9951) 2025-12-24 13:48:47 +08:00
gaoyf 541fdad0ff [ISSUE #9947] Fix TimerMessageStore.checkAndReviseMetrics throws BufferUnderflowException (#9948) 2025-12-24 11:27:59 +08:00
imzs 79e700312a [ISSUE #9945] Use UniqueKey as TimerDelKey by default 2025-12-24 10:00:01 +08:00
littleboy 5132258db9 Fix epoch truncate (#9942) 2025-12-24 09:31:42 +08:00
yx9o fef690c06d [ISSUE #9943] Remove redundant containsKey check in checkBrokerConfig (#9944) 2025-12-24 09:31:19 +08:00
yx9o 684e73311f [ISSUE #9938] Rename misnamed Messing classes to Messaging (#9939) 2025-12-23 10:50:58 +08:00
Drizzle fe5c17cb8b Optimized the function naming (#9935)
* add isWakeCommitWhenPutMessage  for AIO

* optimzie the Function name

Change-Id: Id91e3eb9c4488fb9804fb2c105082657e66c44c0

* optimized the function naming

Change-Id: Ifc482f91220ff328e5c5425a57a04ac627e8d469

---------

Co-authored-by: drizzle.zk <drizzle.zk@alibaba-inc.com>
2025-12-19 16:03:49 +08:00