Commit Graph

7994 Commits

Author SHA1 Message Date
TheR1sing3un d75ab111f3 [ISSUE #6406] Add more visual comments on IndexFile & IndexHeader & ConsumeQueue
1. add more visual comments
2023-03-21 08:42:40 +08:00
deepsola 38ce7c891d [ISSUE #6408] Due to network issues, use new ASK cluster in VIRGINA to run e2e test (#6409)
* Match apache actions policy, use apache/rocketmq-test-tool in workflow

* use new env ASK_CONFIG_VIRGINA to run e2e test
2023-03-20 21:40:11 +08:00
Ji Juntao f1e02e8947 [ISSUE #6392] GetSyncStateSet prints replica's alive status (#6393)
* print replica's alive status

* refactor

* rename getIsAlive-getAlive and setIsAlive-setAlive.
2023-03-20 13:53:07 +08:00
mxsm 68362151a2 [ISSUE #6396] Fix DefaultMQPushConsumer javadoc typo (#6397) 2023-03-20 10:59:15 +08:00
Oliver 3f8cf890ff [ISSUE #6026] Fix the problem that the custom JAVA_HOME environment variable does not take effect (#6167) 2023-03-20 10:54:00 +08:00
rongtong c05a0b222c [ISSUE #6377] Polish the code when broker change to master (#6378)
* Polish the code when broker change to master

* Pass the check style

* Polish the log
2023-03-20 09:52:53 +08:00
Ji Juntao 7d67484456 [ISSUE #6390] Add break to the exception of WHEEL_TIMER_NOT_ENABLE. (#6394) 2023-03-19 14:56:52 +08:00
yuz10 3613821c6a [ISSUE #6365] fix no log in benchmark (#6366)
* fix no log in benchmark

* remove logging debug
2023-03-18 19:52:05 +08:00
fuyou001 7dbcdc8f96 [ISSUE #6372] new scheduledExecutor clean consume queue (#6376) 2023-03-17 16:48:50 +08:00
Ji Juntao 5ac91199f2 [ISSUE #6380] Optimize switch cases in BrokerOuterAPI. (#6381)
* [ISSUE #6380] Optimize switch cases in BrokerOuterAPI.

* optimize the logic.
2023-03-17 15:56:36 +08:00
fujian-zfj 4e0a723d22 [ISSUE #6344] queueOffsets in topicQueueTable rollback when master changes to master in ha mode (#6345)
* typo int readme[ecosystem]

* master to master, no need to recover topicQueueTable

* revert

* optimize

* fix bug found by test

* remove unused log
2023-03-17 09:26:38 +08:00
Lobo Xu 10d17cfaee [ISSUE #6287] Fixed two redundant judgments (#6288)
Co-authored-by: loboxu <loboxu@tencent.com>
2023-03-16 21:25:20 +08:00
loboxu 877f146f56 ReceiptHandleProcessor message renewal strategy optimization 2023-03-16 19:55:04 +08:00
loboxu feb1f3077a ReceiptHandleProcessor message renewal strategy optimization 2023-03-16 19:55:04 +08:00
loboxu 1e3e7638f3 ReceiptHandleProcessor message renewal strategy optimization #6232 2023-03-16 19:55:04 +08:00
loboxu fce64608b1 ReceiptHandleProcessor message renewal strategy optimization #6232 2023-03-16 19:55:04 +08:00
loboxu 06a87e6504 ReceiptHandleProcessor message renewal strategy optimization #6232 2023-03-16 19:55:04 +08:00
loboxu 667ebbcc14 ReceiptHandleProcessor message renewal strategy optimization #6232 2023-03-16 19:55:04 +08:00
TheR1sing3un 6fd1bb9a28 [ISSUE #6358] Add chinese docs about persistent-unique-broker-id (#6359)
* docs(controller): add chinese docs about persistent-unique-broker-id

1. add chinese docs about persistent-unique-broker-id

* docs(controller): optimize style in docs: persistent-unique-broker-id.md

1. optimize style in docs: persistent-unique-broker-id.md

* docs(controller): remove test in docs: persistent-unique-broker-id.md

1. remove test in docs: persistent-unique-broker-id.md
2023-03-16 15:17:21 +08:00
Ji Juntao 63a014b810 [ISSUE#6342] Local SyncStatSet sync to remote value when changeToMaster (#6352)
* fix ISSUE#6342

* refactor

* correct the syncStateSet in elect process.

* move syncStateSet into request/response's body.

* optimize the broker electing switch's branch.
2023-03-16 11:48:04 +08:00
Lei Zhiyuan 3db8d039d1 [ISSUE #6347] fix: use mutable list to avoid start fail when enable tiered store 2023-03-16 11:01:34 +08:00
redlsz 4a4626df63 [ISSUE #6343] fix consumeQueueExtDir not deleted when deleting topic (#6351) 2023-03-15 16:08:20 +08:00
hardyfish 94db42ade7 [ISSUE #6292] fix typos (#6293)
* fix typos

* fix typos

* fix typos
2023-03-15 15:41:01 +08:00
TheR1sing3un 52c4c0cdf6 [ISSUE #6346] Support asynchronously notify brokers when their roles has been changed (#6348)
* feat(controller): support asynchronous notify brokers when roles changed

1. support asynchronous notify brokers when roles changed

* refactor(controller): move creating NotifyService instance logic to ControllerManager's constructor method

1. move creating NotifyService instance logic to ControllerManager's
constructor method
2023-03-15 13:50:06 +08:00
Liu Ruoyu 616885ce17 Added jul to slf4j bridge
Now, broker metrics and proxy metric could output to "rocketmqlogs" folder. Their names are "broker_metric.log" and "proxy_metric.log", respectively.
2023-03-15 10:19:41 +08:00
Liu Ruoyu 57dd002fab Update WORKSPACE 2023-03-15 10:19:41 +08:00
Liu Ruoyu 6a42102bc3 fix bazel test 2023-03-15 10:19:41 +08:00
Liu Ruoyu f34743217c Fix parameter in metrics exporter 2023-03-15 10:19:41 +08:00
Liu Ruoyu 5fd07d8aa7 Add logging exporter for metrics 2023-03-15 10:19:41 +08:00
Lobo Xu 7485d3cbef [ISSUE #6313] com.google.guava version upgraded
Co-authored-by: loboxu <loboxu@tencent.com>
2023-03-15 09:40:11 +08:00
Humkum 1c98a2316f [ISSUE #6215]make benchmark cover compress msg situation (#6216) 2023-03-14 21:07:51 +08:00
Misaki 95299c05e9 [ISSUE #6268] fix rocketmq-proxy does not work properly in k8s nodePort mode (#6262)
* fix rocketmq-proxy does not work properly in k8s nodePort mode

* Add configuration to support k8s nodePort mode

* rename forceUseEndpointPort to useEndpointPortFromRequest

---------

Co-authored-by: Misaki <Wsywsy22@2914883754@qq.com>
2023-03-14 17:21:05 +08:00
lk ba00ff8b79 [ISSUE #6339] set message's flag in popRevive (#6340) 2023-03-14 13:58:02 +08:00
lk acc3b89e30 [ISSUE #6328] fix ConfigurationManagerTest (#6329) 2023-03-14 11:24:54 +08:00
mxsm 22a7ec6b63 [ISSUE #6333] Simplify the logic of the FilterAPI#buildSubscriptionData method (#6334) 2023-03-14 11:23:51 +08:00
RongtongJin fac699ea4d Fix some spelling problems 2023-03-14 09:40:15 +08:00
TheR1sing3un 483ba12cae test(controller): To pass ControllerManagerTest in Windows, we forbid the controller to notify the brokers when their roles have been changed.
1. To pass `ControllerManagerTest` in Windows,  we forbid the controller to notify the brokers when their roles have been changed.
2023-03-14 09:40:15 +08:00
TheR1sing3un dcf51d715c test(broker): fix conflicts in test after rebase
1. fix conflicts in test after rebase
2023-03-14 09:40:15 +08:00
TheR1sing3un d802231163 fix(store): fix conflicts after rebase
1. fix conflicts after rebase
2023-03-14 09:40:15 +08:00
TheR1sing3un 10147debf5 test(broker): optimize some test base store path
1. optimize some test base store path
2023-03-14 09:40:15 +08:00
TheR1sing3un 600d873fba test(controller): try to fix flaky test 2023-03-14 09:40:15 +08:00
TheR1sing3un 506a8a9037 test(controller): add more logs when register and refactor ReplicasManagerRegisterTest
1. add more logs when register and refactor ReplicasManagerRegisterTest
2023-03-14 09:40:15 +08:00
RongtongJin a240753951 Fix CleanControllerBrokerMetaSubCommand and ReElectMasterSubCommand parameter error 2023-03-14 09:40:15 +08:00
TheR1sing3un e14158c7ff fix(controller): fix forgetting initialize BrokerHeartbeatManager
1. fix forgetting initialize BrokerHeartbeatManager
2023-03-14 09:40:15 +08:00
TheR1sing3un c94c65b691 fix(admin): fix incompatible command: CleanBrokerMeta
1. fix incompatible command: CleanBrokerMeta
2023-03-14 09:40:15 +08:00
TheR1sing3un 19eafc80ff fix(broker): fix wrong test
1. fix wrong test
2023-03-14 09:40:15 +08:00
TheR1sing3un 175ec4b1ae fix(broker): fix wrong log
1. fix wrong log
2023-03-14 09:40:15 +08:00
TheR1sing3un ce418c907c feat(broker): add more logs when broker register to controller
1. add more logs when broker register to controller
2023-03-14 09:40:15 +08:00
TheR1sing3un 935e6d573d test(broker): fix forgetting set the changed cluster name broker config back to default value
1. fix forgetting set the changed cluster name broker config back to default value
2023-03-14 09:40:15 +08:00
TheR1sing3un 498ffbb938 refactor(broker): rename registerSuccess to registerBrokerToController
1. rename registerSuccess to registerBrokerToController
2023-03-14 09:40:15 +08:00