Commit Graph

8400 Commits

Author SHA1 Message Date
rongtong e656f91da5 [ISSUE #7929] Add some request codes to the permission verification for the admin role (#7930)
* Add some request codes to the permission verification for the admin role

* Fix UT can not pass
2024-03-18 13:56:24 +08:00
Cai ZhaoMin 9ab37b9854 Fix some ambiguous logs (#7934)
* Fix thread name ambiguity

* Fix namesrv log ambiguity
2024-03-18 11:38:47 +08:00
lizhimins 026a910b26 [ISSUE #7878] Performance Improvement and Bug Fixes for the Tiered Storage Module (#7899)
Performance Improvement and Bug Fixes for the Tiered Storage Module
2024-03-18 10:46:36 +08:00
oopooa a32eca0fd4 [ISSUE #7932] Rectify the modifier order in namesrv 2024-03-16 11:51:49 +08:00
mufeng 5eb0a8ce0f [ISSUE #7923] Exclude the master that are currently down
Co-authored-by: fengwang219475 <fengwang219475@sohu-inc.com>
2024-03-15 13:53:58 +08:00
oopooa 333c5457e3 [ISSUE #7926] Delete the unnecessary 'else' statement 2024-03-15 11:51:18 +08:00
Humkum 3c27bfe5ed [ISSUE #7902] fix:reput thread may quit by throwing error 2024-03-14 16:03:51 +08:00
ChineseTony ab9a40163c [ISSUE #7904] use string builder to concat string 2024-03-14 16:03:21 +08:00
Gezi-lzq 6d47404884 [ISSUE #7907] revise the description of transaction messages in RocketMQ_Example (#7908) 2024-03-14 11:58:30 +08:00
Jay Ko 72bd03c47c fix document typo (#7721) 2024-03-13 12:52:42 +08:00
rongtong db4c7da4f7 Add parameter configuration explanations for jRaft controller (#7882) 2024-03-06 09:21:55 +08:00
Zhouxiang Zhan cb9ea9efb3 Fix unboxing npe in SendMessageRequestHeader (#7873) 2024-03-01 11:11:19 +08:00
Zhouxiang Zhan a33f1d1c72 [ISSUE #7875] Add constructor for ProxyTopicRouteData (#7876) 2024-02-29 17:25:02 +08:00
mxsm eed303db7b [ISSUE #7845] Simplify the AbstractSendMessageProcessor#buildMsgContext code using Optional (#7846) 2024-02-29 10:50:17 +08:00
ChineseTony 3877dcd134 [ISSUE #7853] Fix the manualDeleteFileSeveralTimes count 2024-02-29 10:48:31 +08:00
ChineseTony af900e9416 [ISSUE #7868] Use entrySet to close channel 2024-02-29 10:47:25 +08:00
kaikoo 01761bdc7a fix transaction msg stats (#7766) 2024-02-29 08:21:03 +08:00
Qiping Luo 471dbc01bf [ISSUE #7851] Fix hashcode and equals methods of SubscriptionGroupConfig 2024-02-27 16:49:20 +08:00
mxsm 0b05e9c7c1 [ISSUE #7840] Update the version in the README.md document to 5.2.0 (#7841) 2024-02-21 14:27:32 +08:00
Zhouxiang Zhan 3ee7bc25ce [ISSUE #7815] Use createChannelAsync for async invoke rpc (#7816)
* async
2024-02-20 15:56:02 +08:00
Zhouxiang Zhan 6f37957e09 Add notifyLast flag for PopLongPollingService (#7835) 2024-02-20 14:41:48 +08:00
guyinyou 7dc0e5aed8 [ISSUE #7833] Fix invokeImpl() in RemotingAbstract 2024-02-19 17:33:01 +08:00
caigy 1b46d189db [ISSUE #7831] Make rat-check successful 2024-02-19 08:26:46 +08:00
rongtong f41160210a [maven-release-plugin] prepare for next development iteration (#7828) 2024-02-12 11:07:03 +08:00
rongtong 281a7b32f0 [maven-release-plugin] prepare release rocketmq-all-5.2.0 (#7827) rocketmq-all-5.2.0 2024-02-11 17:53:50 +08:00
kaikoo 3acc262ab4 [ISSUE #7822] fix NettyRemotingClient can't connect to IPv6 address. (#7823)
* #7822 fix NettyRemotingClient can't connect to IPv6 address.

* #7822 fix NettyRemotingClient can't connect to IPv6 address.
2024-02-09 00:20:40 +08:00
rongtong 5e61354fdc [ISSUE #7793] Prepare to release apache rocketmq 5.2.0 2024-02-08 10:48:13 +08:00
Lei Zhiyuan f525a34f61 [ISSUE #7813] setStartDetectorEnable Not effective 2024-02-07 10:52:32 +08:00
Liu Shengzhong d38558800c [ISSUE #7740] Optimize LocalFileOffsetStore 2024-02-06 09:20:02 +08:00
Ji Juntao d9526e7ab2 [ISSUE #7812] Remove reachable flag in brokers' available judgement. 2024-02-05 08:55:26 +08:00
Zhouxiang Zhan 702bbd2b83 [ISSUE #7803] Add try catch for lock and unlock (#7804)
* Add try catch for lock and unlock
2024-02-04 16:14:40 +08:00
rongtong cb7fa3e0b0 Revise the measurement method of GROUP_GET_LATENCY to reveal its intended semantics (#7808) 2024-02-04 10:27:21 +08:00
yuz10 c833ff6e9a [ISSUE #7538] fix wrong cachedMsgSize if msg body is changed in consumer callback 2024-02-02 12:34:13 +08:00
rongtong 6616600fa5 [ISSUE #7791] Polish the code for jraft controller 2024-02-02 12:33:22 +08:00
bazelisky af1936d93a [ISSUE #7715] Update Bazel toolchain to make the CI work (#7714)
* Update bazel toolchain

Signed-off-by: Bazelisky <bazelisk@hotmail.com>

* fix a bad test case as it violates requirement of ConcurrentHashMap#computeIfAbsent

Signed-off-by: Bazelisky <bazelisk@hotmail.com>

* Exclude flaky tests from test suite

Signed-off-by: bazelisky <155456828+bazelisky@users.noreply.github.com>

* fix: format issue

Signed-off-by: Zhanhui Li <lizhanhui@gmail.com>

* fix: Remove unused import

* fix deps issue

Signed-off-by: Zhanhui Li <lizhanhui@gmail.com>

* Expose data property of java_test, allowing to specify run_file

Signed-off-by: Zhanhui Li <lizhanhui@gmail.com>

---------

Signed-off-by: Bazelisky <bazelisk@hotmail.com>
Signed-off-by: bazelisky <155456828+bazelisky@users.noreply.github.com>
Signed-off-by: Zhanhui Li <lizhanhui@gmail.com>
Co-authored-by: Zhanhui Li <lizhanhui@gmail.com>
2024-02-01 16:52:55 +08:00
rongtong 84285d13a7 Update copyright year (#7797) 2024-02-01 11:29:40 +08:00
landonchan90 06e22b4b42 [ISSUE #7765] Fix unit test testEstimateLag
Co-authored-by: landonchan90 <landaonChan@163.com>
2024-01-31 17:39:30 +08:00
YASH PATEL f70862e57b [ISSUE #5613] Change the broker default value configuration of 'useServerSideResetOffset' (#5613) (#7581)
Co-authored-by: RongtongJin <jinrongtong16@mails.ucas.ac.cn>
2024-01-31 03:35:03 +08:00
schopenhauerz 7b64f50137 [ISSUE #7446] Add config of maxFilterMessageSize (#7447)
* bugfix broker boot succes but get fail ip addr

bug:
broker ip addr(IPV4) get fail  after broker start up;
fix:
add compare ,continue  when ip is start with '0.' ;
like :
The broker[broker-a, 0.0.1.1:10911] boot success. serializeType=JSON and name server is 127.0.0.1:9876;

* add config  maxFilterMessageSize , not hard code

* Pass the code check style

---------

Co-authored-by: mingzhi.zhang <mingzhi.zhang@jiduauto.com>
Co-authored-by: RongtongJin <jinrongtong16@mails.ucas.ac.cn>
2024-01-31 03:34:27 +08:00
yulangz 8df53dfde8 [ISSUE #7300] jRaft-Controller Implemention (#7301)
* jRaft-Controller Implemention

* fix bazel build

* reformat code

* remove fury dependence

* fix bazel build

* resolve conflict

* clear code

* Optimize code style

* Optimize code style

* Optimize code style

* revert style only change
fix code style
rollback an unexpected modification.

* Update Producer.java

* chore: move raft startup to start method

* chore: use jraftconfig to collect all configs about jraft

* fix: fix wrong store path because init use string constant

* fix: fix CONTROLLER_NOT_LEADER error in follower

* chore: seperate jraft and controller log

* chore: fix conflict with develop

* chore: add comment to clear the filter logic

* feat: triggerElectMaster will retry when failed

* feat: when controller all restart, we use a timestamp to trace the first heartbeat, avoid to elect again

* fix: implements Serializable to enable snapshot serialize

* fix: use for loop to simple the elect retry

* chore: update jraft version

* chore: opt import

---------

Co-authored-by: leizhiyuan <leizhiyuan@gmail.com>
2024-01-29 20:45:20 +08:00
Poirot Hercule 178421386f [ISSUE #7786] Optimize the execution logic of tool.sh in the JRE environment 2024-01-29 09:40:19 +08:00
mxsm a0cb9d42e3 [ISSUE #7777] Optimize the logic of DefaultRequestProcessor#getTopicsByCluster to avoid unnecessary deserialization (#7778) 2024-01-29 08:34:29 +08:00
wyyl1 e104273fd0 [ISSUE #7785] Remove the redundant code 2024-01-28 20:06:18 +08:00
Ji Juntao 3d357bb3ed [ISSUE #7772] Ensuring broker protection capabilities when POP does not return ACK (#7773)
* add stop pop situation.

* refactor the imports

* modify the threadhold into threshold.

* checkstyle
2024-01-26 14:34:53 +08:00
Zhouxiang Zhan 04eec34978 Get namespace from header (#7782) 2024-01-24 20:18:59 +08:00
dingshuangxi888 92e058c823 [ISSUE #7774] Make the handle of ppv2 tlv more extendable (#7775)
* Fix ascii validate for ppv2 tls.
* make the handle of ppv2 tlv extendable.
2024-01-24 09:50:15 +08:00
Zhouxiang Zhan 5262358140 [ISSUE #7699] Refector NamespaceRpcHook (#7769)
* [ISSUE #7699] Refector NamespaceRpcHook

* fix
2024-01-23 13:56:26 +08:00
Ji Juntao 6d7513425c [RIP-46] Enhanced metrics for timing and transactional messages (#7500)
* add request codes' distribution and timing messages' distribution

* remove the requestCode distribution.

* add delay message latency distribution.

* add transaction metrics

* transaction metric of topics finished, v1.

* add the transaction metrics, to be tested.

* fix the judgement of putMessageResult

* optimize.

* add config.

* fix test case.

* add unit tests for transactionMetrics.

* remove chinese character

* add rocksdb metrics.

* add more rocksdb metrics.

* fix NPE

* avoid the total time is 0.

* add license

* remove useless import.
2024-01-22 16:56:05 +08:00
Lei Zhiyuan 920dc32d27 [ISSUE #7760] make timerSkipUnknownError can be set by config file 2024-01-19 09:59:23 +08:00
bxfjb 646e2a4942 [ISSUE #7355] fix dledger recover abnormally may lost consume queue of tail (#7599)
* fix dledger recover abnormally may lost consume queue of tail

* fix correct storeTimestampPosition when bornhost is v6

* fix correct SYSFLAG offset

---------

Co-authored-by: 赵宇晗 <zhaoyuhan@xiaomi.com>
2024-01-18 15:43:01 +08:00