Commit Graph
2077 Commits
Author SHA1 Message Date
tiger lee 2d66e95d36 Merge pull request #4132 from dugenkui03/patch-012
[ISSUE #4130] Remove the exception which will never be thrown by method from method signature
2022-04-28 09:49:18 +08:00
wangfanandwangfan a492592d77 [Docs] Add squash guide and apache contributors guide link (#4221)
Co-authored-by: wangfan <wangfan8@xiaomi.com>
2022-04-28 09:12:48 +08:00
dugenkui b6e65a8054 [ISSUE #4099]Optimized the performance of sending traceMessage in AsyncTraceDispatcher (#4180)
* Optimized the performance of sending traceMessage

* Optimized the performance of sending traceMessage

* Optimized the performance of sending traceMessage

* Optimized the performance of sending traceMessage
2022-04-27 16:09:39 +08:00
huangliandyuz10 3cbb3b8ea5 [ISSUE 3585] [Part B] Improve encode/decode performance (#3588)
* [ISSUE 3585] [Part B] Improve header encode/decode performance

* [ISSUE 3585] [Part B] Improve RocketMQSerializable performance with zero-copy; fix securtiy problems.

* [ISSUE 3585] [Part B] Fix unit test

Co-authored-by: yuz10 <845238369@qq.com>
2022-04-27 09:26:10 +08:00
Oliver a800706752 [Optimization] Replace Timer to ScheduleExecutorService (#4208)
* replace Timer to ScheduleExecutorService

* replace timetask to runnable

* Change the style of creating ThreadPoolExecutor

* Remove unused import

* set daemon

* checkstyle
2022-04-27 09:22:21 +08:00
samz406 9de7be4785 update design doc (#4205) 2022-04-26 10:08:11 +08:00
yuz10 5d01023960 [ISSUE #4107] rocketmq-tools should not depend on rocketmq-store (#4108) 2022-04-25 14:03:00 +08:00
彭小漪 51baf87aed [ISSUE #4147] javadoc: Fix the problem described in the warning message prompted by the IDE. (#4148) 2022-04-25 10:46:33 +08:00
cserwen 2bd9059016 [ISSUE #3914] Support multi dirs storage in DLedger 2022-04-22 14:19:02 +08:00
dugenkui b503c4e5a1 [ISSUE #4181] Prevent int overflow in TraceContext
Prevent int overflow
2022-04-22 09:06:15 +08:00
灼华 a597c8e341 [ISSUE #4183] When the reportSlaveMaxOffset method fails, end the current loop early (#4184)
* [ISSUE #4183] When the reportSlaveMaxOffset method fails, end the current loop early

* Update HAService.java
2022-04-21 11:14:21 +08:00
cnScarb 86738365ec [ISSUE #4187]Support async publish in producer benchmark (#4188)
* Support async publish in producer benchmark

* Support async publish in producer benchmark
2022-04-21 11:00:56 +08:00
李晓双 Li Xiao Shuang 519c0b8a46 [ISSUE #4127] [BrokerOuterAPI] Anonymous new Runnable() can be replaced with lambda 2022-04-21 10:48:07 +08:00
李晓双 Li Xiao Shuang 4f2b708179 Explicit type argument can be replaced with <> (#4186) 2022-04-21 09:33:47 +08:00
cnScarb d1f8124919 [ISSUE #4170] Fix getEarliestMessageTime in DLedger mode (#4168) 2022-04-20 23:07:38 +08:00
yuz10 580b76d3de [ISSUE #4165] add new line in sendMsgStatus (#4166)
* add new line in sendMsgStatus

* keep format consistent
2022-04-20 13:42:00 +08:00
Echoandxiongyujie 6fca4e866c [ISSUE #4160]remove the final modifier of a method which is already in a final class (#4163)
Co-authored-by: xiongyujie <xiongyujie@highlight.mobi>
2022-04-20 10:54:35 +08:00
cnScarb 9f7142bdd1 [ISSUE #4175] Prevent update topic on slave (#4176)
* Prevent update topic on slave

* Prevent update subscription group on slave
2022-04-19 10:24:04 +08:00
李晓双 Li Xiao Shuang 50e314eb8a [ISSUE #4123] Explicit type argument can be replaced with <> for RouteInfoManager (#4124)
* Explicit type argument can be replaced with <> for RouteInfoManager

* Explicit type argument can be replaced with <> for RouteInfoManager
2022-04-17 23:58:38 +08:00
灼华and灼华 84f03c34b5 [ISSUE #4143] Remove file lock related code snippets in index file (#4135)
* Remove fileLock related code snippets in IndexFile

* Remove unused fileChannel

Co-authored-by: 灼华 <geyu@didiglobal.com>
2022-04-17 23:54:30 +08:00
Kvicii 320b728d6d [ISSUE #4167] cleanup code (#4013) 2022-04-17 23:46:26 +08:00
6U-U9 d100d3c9a5 [ISSUE #4167] Replace Charset.forName("UTF-8") with StandardCharsets.UTF_8 (#4024)
* Replace Charset.forName("UTF-8") with StandardCharsets.UTF_8

* Remove the specification of Charset according to SimplePullConsumer
2022-04-17 23:02:07 +08:00
dugenkui aa908ce825 [ISSUE #4103] Simplify string-list-join in Message (#4104)
[ISSUE #4103] Simplify string-list-join in `Message`
2022-04-15 11:10:53 +08:00
灼华and灼华 f120645a11 [ISSUE #4167] Optimize the logic of MessageDecoder#decodeMessageId method (#4082)
Co-authored-by: 灼华 <geyu@didiglobal.com>
2022-04-14 23:06:09 +08:00
zhangyang 93edad2cb3 [ISSUE #4033] fix async deliver msg will resend forever when serivce not avliable (#4045)
Signed-off-by: zhangyang21 <zhangyang21@xiaomi.com>
2022-04-13 10:31:23 +08:00
gogodjzhuanddjzhu 2897bbfba2 [ISSUE #4150] Fix spelling mistakes on docs (#4141)
Co-authored-by: djzhu <zhudejun1@huya.com>
2022-04-13 09:16:29 +08:00
caigy 9563683c2d [ISSUE #4155] fix acl test 2022-04-13 09:14:28 +08:00
刘月财 ead6274b3e fix mac 12+ slow bug (#4010) 2022-04-11 09:29:30 +08:00
dugenkui03 049abc2434 remove checked Exception which will never be thrown from method signature 2022-04-10 11:33:11 +08:00
hnandhening 47561bdd85 [ISSUE #3666] fix npe (#4136)
Co-authored-by: hening <ninghe.hn@alibaba-inc.com>
2022-04-08 19:20:49 +08:00
dependabot[bot] 50f2b32451 Bump junit from 4.12 to 4.13.1 in /test (#4119)
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1)

---
updated-dependencies:
- dependency-name: junit:junit
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-08 15:12:11 +08:00
dugenkui03 164a1e9642 remove checked Exception which will never be thrown from method signature 2022-04-07 23:26:10 +08:00
dugenkui03 3e38468d55 remove checked Exception which will never be thrown from method signature 2022-04-07 23:17:58 +08:00
drgnchan 8745d4c538 [ISSUE #4129] Fix typo in CommitLog.java 2022-04-07 10:52:20 +08:00
zhangjidi2016andzhangjidi 13765b040a [ISSUE #3940]Optimize AllocateMessageQueueStrategy (#3941)
* [ISSUE #3940]Optimize AllocateMessageQueueStrategy

* remove the check in AllocateMessageQueueByConfig

Co-authored-by: zhangjidi <zhangjidi@cmss.chinamobile.com>
2022-04-06 22:28:49 +08:00
9f82b1e6b6 [Doc] Fixed typo in getStartIndex method in RocketMQ_Example.md file (#4012)
* Update .travis.yml

Depracated MODERATE noisy mail for dev@rocketmq.apache.org. Still Failing: apache/rocketmq#5670 (5.0.0-alpha-static-topic - 5ebc327) @dongeforever

* Updated Notice file to 2022 (#3735)

* 4.2消息列表分割示例  getStartIndex方法中变量名称错误

方法getStartIndex() 中messages.get(curIndex)修正为messages.get(currIndex);

Co-authored-by: von gosling <vongosling@apache.org>
Co-authored-by: ZhangJian He <shoothzj@gmail.com>
Co-authored-by: tigerweili <tigerweili@tencent.com>
2022-04-06 22:17:54 +08:00
李晓双 Li Xiao Shuang c5db5ac3e4 [ISSUE #4125] Anonymous new Runnable() can be replaced with lambda (#4031) 2022-04-06 22:02:00 +08:00
rongtong e7c87fa1ce [ISSUE #4110] Update dledger version to 0.2.4 (#4111) 2022-04-06 09:16:45 +08:00
dugenkui fd554ab120 [Document] Update user_guide.md: Fix for link. (#4085)
* Update user_guide.md

Fix for link: md field regard 'full width text' as part of link.

Replace linkage with '#'.

* Highlight java code

* fix typo in TraceDispatcher
2022-04-02 10:00:57 +08:00
cnScarb e3b67484b0 [ISSUE #4048] Make storePathCommitLog base on storePathRootDir (#4057) 2022-04-01 09:25:50 +08:00
yuz10 336939080e [ISSUE #4035] rename some commands (#4036)
* rename some commands

* update doc
2022-04-01 08:58:27 +08:00
zhangyang21 4f7a224a04 [ISSUE #3699] fix unit test
Signed-off-by: zhangyang21 <zhangyang21@xiaomi.com>
2022-03-31 18:42:51 +08:00
4574d59f4b fix clusterRT and checkMsgSendRT (#4047)
* Update .travis.yml

Depracated MODERATE noisy mail for dev@rocketmq.apache.org. Still Failing: apache/rocketmq#5670 (5.0.0-alpha-static-topic - 5ebc327) @dongeforever

* Updated Notice file to 2022 (#3735)

* fix description mismatch of mqadmin command

Co-authored-by: von gosling <vongosling@apache.org>
Co-authored-by: ZhangJian He <shoothzj@gmail.com>
Co-authored-by: tigerweili <tigerweili@tencent.com>
Co-authored-by: shizhili <shizhili@cmss.chinamobile.com>
2022-03-30 14:22:37 +08:00
zhangyang21 45010d9bdf [ISSUE #4050] fix origin messsage id missing from dead leetter meessage
Signed-off-by: zhangyang21 <zhangyang21@xiaomi.com>
2022-03-30 10:45:30 +08:00
zhangyang 6817856d08 [ISSUE #4054] fix doc format (#4055)
Signed-off-by: zhangyang21 <zhangyang21@xiaomi.com>
2022-03-30 10:24:00 +08:00
李晓双 Li Xiao Shuang 9fff8ae01f [ISSUE #4053] NamesrvController code optimization 2022-03-29 19:38:10 +08:00
ScarbWin 18287f64cf [ISSUE #4048] Make storePathCommitLog base on storePathRootDir 2022-03-29 14:03:31 +08:00
李晓双 Li Xiao Shuang 818ef2152f RemotingCommandException is not thrown in a method (#4030) 2022-03-28 15:01:06 +08:00
hjl11 c121565c3e [ISSUE #4040] Unnecessary toString methods deleted (#4041) 2022-03-28 10:15:43 +08:00
ScarbWin 02228d870c Fix #4004 2022-03-25 09:35:56 +08:00