schopenhauerz
a258a301d4
[ISSUE #6436 ] Fix broker boot succes but get wrong ip address ( #6437 )
2023-04-04 13:56:24 +08:00
yuz10
e0213fb192
[ISSUE #6321 ] Optimize yaml parse code ( #6322 )
...
* optimize yaml parse
* update tests
* update tests
* update tests
* implements Serializable
* arrange import order
* fix spotbugs
2023-03-28 10:40:57 +08:00
mxsm
1eebed8e95
[ISSUE #6488 ] Use ServiceThread#shutdown to replace the deprecated ServiceThread#stop method ( #6489 )
2023-03-28 09:41:46 +08:00
mxsm
4da7b1884b
[ISSUE #6474 ]Optimize ServiceThread log print ( #6475 )
2023-03-27 13:13:23 +08:00
caigy
8aa7bc08f7
[ISSUE #6400 ] Remove unnecessary config BrokerConfig.maxDelayTime
2023-03-24 14:48:17 +08:00
Ji Juntao and Li Zhanhui
1818c2d507
[ISSUE #4890 ] BugFix: fix binary search consume offset by time ( #6429 )
...
* BugFix: fix binary search consume offset by time
* polish codes.
* modify the test case: when timestamp is skewing, only find lower bound.
* modify the test case: when timestamp is skewing, only find lower bound.
* modify the test case: when timestamp is skewing, only find lower bound.
---------
Co-authored-by: Li Zhanhui <shutian.lzh@alibaba-inc.com >
2023-03-24 10:15:41 +08:00
TheR1sing3un
1e2a301266
[ISSUE #6382 ] Periodically check for inactive masters ( #6383 )
...
* feat(controller): concurrent protect ReplicasInfoManager#replicaInfoTable and ReplicasInfoManager#syncStateSetInfoTable
1. concurrent protect ReplicasInfoManager#replicaInfoTable and
ReplicasInfoManager#syncStateSetInfoTable
* docs(controller): make statemachine thread-safe and support timed checking inactive master in each broker-set
1. make statemachine thread-safe
2. support timed checking inactive
master in each broker-set
* fix(controller): Add some logic when visit the BrokerReplicaInfo to avoid NPE
1. Add some logic when visit the BrokerReplicaInfo to avoid NPE
* test(controller): polish some test logic
1. polish some test logic
* fix(controller): Revise back the ControllerConfig#controllerStorePath to avoid the Incompatibility problems
1. Revise back the ControllerConfig#controllerStorePath to avoid the
Incompatibility problems
2023-03-21 13:59:53 +08:00
Ruantihong
c5fec3af41
[ISSUE #6402 ]opt transaction message check ( #6401 )
...
* If you specify a custom first check time CheckImmunityTimeInSeconds,And the commit/rollback request whose validity period exceeds CheckImmunityTimeInSeconds and is not checked back will be processed and failed
* remove useless code
* update transactionCheckInterval default to be 30s
2023-03-21 13:40:34 +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
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
RongtongJin
28618e95ab
Polish the code structure and code style
2023-03-14 09:40:15 +08:00
TheR1sing3un
c494a43c52
refactor(controller): optimize some code suggested by reviewer
...
1. optimize some code suggested by reviewer
2023-03-14 09:40:15 +08:00
TheR1sing3un
1293b74153
feat(broker): perfect ReplicaManagerTest.java
...
1. perfect ReplicaManagerTest.java
2023-03-14 09:40:15 +08:00
TheR1sing3un
e38ea9510a
feat(controller): refactor broker's information recording core from ip address to broker id
...
1. refactor broker's information recording core from ip address to broker id
2023-03-14 09:40:15 +08:00
hardyfish
5c45294c45
[ISSUE #6189 ] Replace ThreadFactory create ( #6190 )
...
* Replace ThreadFactory create
* delete unnecessary imports
* remove useless import
* reformat code
2023-03-08 20:24:30 +08:00
Zhouxiang Zhan
1986c6bdf9
[ISSUE #6207 ] Use static subscription to calculate consumer lag and latency
...
* Fix retryTopicPerm in ConsumerLagCalculator
* [ISSUE #6206 ] Use static subscription to calculate consumer lag and latency
* Add version for SimpleSubscriptionData
* Fix hashcode and equals for SubscriptionGroupConfig
* remove brokerId in equal and hashcode method
* Add getter setter for version
* fix consumerGroupInfo and getSubscriptionDataSet npe
2023-03-08 15:47:20 +08:00
yuz10
4af6c768fc
[ISSUE #6157 ] Fix incompatibility between 4.x and 5.x in message trace
2023-03-07 08:39:37 +08:00
echooymxq
527350decf
Polish the unified remoting logger name.
2023-02-23 15:10:35 +08:00
zhouxiang
0f878b5157
[maven-release-plugin] prepare for next development iteration
2023-02-16 12:35:58 +08:00
zhouxiang
b8e9334d2a
[maven-release-plugin] prepare release rocketmq-all-5.1.0
2023-02-16 12:35:58 +08:00
zhouxiang
83d6778747
[ISSUE #6030 ] Update version to 5.1.0-SNAPSHOT
2023-02-16 12:35:58 +08:00
zhouxiang
f9a4dfb351
[ISSUE #6030 ] Prepare to release Apache RocketMQ 5.1.0
2023-02-15 13:42:40 +08:00
zhouxiang
242c7249af
[ISSUE #6030 ] Prepare to release Apache RocketMQ 5.0.1
2023-02-14 17:51:45 +08:00
nowinkey
07e65d37d0
Put batchDispatchRequestThreadPoolNums config to MessageStoreConfig.java
2023-02-14 13:50:47 +08:00
nowinkey
c2ea0922b7
Remove enableBuildConsumeQueueConcurrently attribute from BrokerConfig class
2023-02-14 13:50:47 +08:00
nowinkey
dcf84e4125
Add integration test and add enableBuildConsumeQueueConcurrently attribute to BrokerConfig class
2023-02-14 13:50:47 +08:00
nowinkey
b92a29e135
Create ConcurrentReputMessageService and replace native thread with ServiceThread
2023-02-14 13:50:47 +08:00
mxsm
65737a0d0e
[ISSUE #5979 ] Fix FAQ url incorrect in FAQUrl class ( #6035 )
2023-02-12 16:04:38 +08:00
mxsm
4a6dc040bd
[ISSUE #5907 ] Optimize try catch to prevent ConcurrentHashMapUtils init failed ( #5908 )
...
* [ISSUE #5907 ]optimize try catch to prevent ConcurrentHashMapUtils init failed
* polish code style
2023-02-11 17:42:36 +08:00
mxsm
2545b783d0
[ISSUE #5924 ] Optimize UtilAll#sleep method ( #5925 )
...
* [ISSUE #5924 ]Optimize UtilAll#sleep method
* polish code
2023-02-05 16:54:12 +08:00
Xinda
0c26369a0d
refactor: simplify getPID ( #5962 )
2023-02-02 11:15:29 +08:00
rongtong
5a43f1d5ef
[ISSUE #5921 ] Support domain resolution to obtain the controller address ( #5922 )
...
* Support domain resolution to obtain the controller address
* Remove useless import
* Fix testLookupAddressByDomain can not pass
* Fix typo error
2023-01-28 08:53:50 +08:00
yuz10
a961a9b37b
[ISSUE #5905 ] fix config file disappear after vm crash
2023-01-20 13:11:30 +08:00
mxsm
7cbdad378e
[ISSUE #5885 ] Fix FAQurl's class FAQ url incorrect ( #5886 )
2023-01-17 16:05:47 +08:00
mxsm
617ba4471b
[ISSUE #5880 ] Remove useless attribute TOPIC_KEY_SPLITTER in MessageClientIDSetter class ( #5881 )
2023-01-15 16:56:11 +08:00
RagingSpud
e0ed87dc9c
[ISSUE #5740 ] Fix util.getIP sometimes choose localhost over LAN ip. ( #5856 )
2023-01-14 21:43:04 +08:00
mxsm
7c128a5f0a
[ISSUE #5708 ] Fix NamesrvStartup can't print config when use -p command ( #5709 )
2023-01-12 10:49:06 +08:00
mxsm
fa22a78387
[ISSUE #5507 ] Improve the speed of AttributeParser#parseToMap parsing ( #5508 )
2023-01-12 10:41:25 +08:00
mxsm
d070d467a6
[ISSUE #5802 ]Optimize HashMap and HasSet invoke resize method ( #5803 )
2023-01-03 10:32:36 +08:00
xiaoyifang
e986534728
[ISSUE #5699 ] remove duplicate code definition of UtilAll.isBlank ( #5700 )
...
* [ISSUE #5699 ] remove duplicate code definition of UtilAll.isBlank
* [ISSUE #5699 ] remove duplicate code definition of UtilAll.isBlank
2022-12-29 15:17:58 +08:00
SSpirits and Li Zhanhui
9f8e85bb76
[ISSUE #5754 ] [RIP-57] Add asynchronous interfaces to MessageStore ( #5755 )
...
* [RIP-57] Add asynchronous interfaces to MessageStore
* fix unit test
* Modified according to review comments
* Remove unnecessary stubbing
* Add some other methods to MessageStore
* fix bazel test
* Skip failing test case
Signed-off-by: Li Zhanhui <lizhanhui@gmail.com >
Signed-off-by: Li Zhanhui <lizhanhui@gmail.com >
Co-authored-by: Li Zhanhui <lizhanhui@gmail.com >
2022-12-29 09:42:45 +08:00
rongtong
646d04f425
[ISSUE #5712 ] Fix the invalid of heartbeat detection after controller switch ( #5711 )
...
* Fix the invalid of heartbeat detection after controller switch
* Pass the checkstyle
* Format ReplicasInfoManagerTest code style
2022-12-21 10:36:57 +08:00
zhouxiang
b713aebfa7
[ISSUE #5485 ] Fix by code review
2022-12-09 19:53:18 +08:00
zhouxiang
9897e74a6c
[ISSUE #5406 ] Overwrite sysFlag to broker
2022-12-09 19:53:18 +08:00
kaiyi.lk
8a23c54a91
[ISSUE #5486 ] polish clean expire request in remoting server
2022-12-09 19:53:18 +08:00
zhouxiang
934f5b6576
[ISSUE #5406 ] Add processor for remoting messaging module
2022-12-09 19:53:18 +08:00
SSpirits
7cab0a1aad
[ISSUSE #5589 ] record subscription from request ( #5590 )
2022-12-07 17:26:00 +08:00
lizhimins
49fc6eded9
[ISSUE #5568 ] Support long length group and topic for pop mode consumption ( #5611 )
...
* [ISSUE #5568 ] Support long length group and topic for pop mode consumption
Co-authored-by: 斜阳 <terrance.lzm@alibaba-inc.com >
2022-12-07 10:26:50 +08:00
Zhouxiang Zhan
62a959691c
[ISSUE #5595 ] Add validateSystemTopicWhenUpdateTopic ( #5596 )
...
* [ISSUE #5595 ] Add validateSystemTopicWhenUpdateTopic
2022-11-30 17:10:25 +08:00