Commit Graph
8048 Commits
Author SHA1 Message Date
Abhijeet Mishra d1b14b0ff9 [ISSUE #6525]Make ConsumeQueueInterface extends from FileQueueLifeCycle (#6534)
* [#6525] Make ConsumeQueueInterface extends from FileQueueLifeCycle

* [apache#6525] forced typecast is removed

* [#6525] remove all the forced convert
2023-04-15 18:21:03 +08:00
guyinyouandguyinyou d3a8fe0c5b [ISSUE #6587] fix getMax() in SparseConsumeQueue
Co-authored-by: guyinyou <guyinyou.gyy@alibaba-inc.com>
2023-04-14 11:26:11 +08:00
lyx d34a28bb31 [ISSUE #6513] fix(proxy): enhance ProxyContext (#6522)
* feat(proxy): improve proxy context

Signed-off-by: lyx <1419360299@qq.com>

* fix(proxy): rollback to fullname for compatibility

Signed-off-by: lyx2000 <1419360299@qq.com>

* fix(proxy): use simple_rpc_name add to ProxyContext action

Signed-off-by: lyx <1419360299@qq.com>

* fix(proxy): improve naming

Signed-off-by: lyx <1419360299@qq.com>

---------

Signed-off-by: lyx <1419360299@qq.com>
Signed-off-by: lyx2000 <1419360299@qq.com>
2023-04-13 19:59:06 +08:00
mxsm d9a7315ffe [ISSUE #6584] Fix AppendMessageCallback comments typo (#6585) 2023-04-13 10:37:26 +08:00
rongtong baad0a427f [ISSUE #6579] Prevent the properties of trace message from exceeding the maximum value of short (#6580)
* Prevent the properties of trace message from exceeding the maximum value of short

* Use reduce instead of foreach
2023-04-13 09:17:58 +08:00
yueyaandAaron Ai 938b5bb929 [ISSUE #6581]Add a description of the Apache RocketMQ E2E repository in README.md (#6582)
* Add a description of the Apache RocketMQ E2E repository in README.md

* Update README.md

Co-authored-by: Aaron Ai <yangkun.ayk@gmail.com>

---------

Co-authored-by: Aaron Ai <yangkun.ayk@gmail.com>
2023-04-12 18:14:59 +08:00
Aaron Ai f44a1c3fd5 Update the image of bazel-build to ubuntu-latest (#6569) 2023-04-11 17:17:10 +08:00
lk 7dc9942fe2 [ISSUE #6547] Some RemotingChannel calls need to be forwarded to the original Channel (#6548) 2023-04-11 10:33:44 +08:00
CoderBruisandhaiyang.luo cb53fa572e remove (#6564)
Co-authored-by: haiyang.luo <apple@haiyang.luo>
2023-04-10 18:05:50 +08:00
Aaron Ai 465bfcf802 Upgrade the image to the latest version (#6562) 2023-04-10 12:54:40 +08:00
Aaron Ai e55e5e204d Temporary removal of required maven-compile status check (#6561) 2023-04-10 11:53:47 +08:00
hardyfish 9574165fe3 [ISSUE #6299] Remove TimerFlushService#run duplicate code (#6300) 2023-04-06 10:19:04 +08:00
schopenhauerz a258a301d4 [ISSUE #6436] Fix broker boot succes but get wrong ip address (#6437) 2023-04-04 13:56:24 +08:00
guyinyouandguyinyou 72befa0fb4 1. change the compactionTopic dispatch process from asynchronous to synchronous (#6530)
2. compactionTopic dispatch performance improvement

Co-authored-by: guyinyou <guyinyou.gyy@alibaba-inc.com>
2023-04-04 10:39:04 +08:00
mxsm 66cf564c67 [ISSUE #6523] Schematic diagram of adding BatchConsumeQueue storage unit (#6524) 2023-04-02 09:52:48 +08:00
guyinyouandguyinyou e7f29798ec [ISSUE #6518] Fix bug that multi-threaded using bytebuffer
Co-authored-by: guyinyou <guyinyou.gyy@alibaba-inc.com>
2023-03-31 17:03:37 +08:00
fujian-zfjandRongtongJin 526a107557 [ISSUE #6508] Prohibit writing and reading before confirming the broker role in ha mode (#6509)
* typo int readme[ecosystem]

* disable RW before confirming broker role

* fix comment

* set isolated and brokerPermission when broker role is confirmed

* set isolated and brokerPermission when broker role is confirmed

* remove unused import

* unified in replicasManager

* Add volatile to originalBrokerPermission var

* Remove useless originalBrokerPermission

---------

Co-authored-by: RongtongJin <jinrongtong16@mails.ucas.ac.cn>
2023-03-31 14:55:19 +08:00
yukon 24bc8c9092 Only enable the squash button when merging a pull request (#6504) 2023-03-30 09:28:42 +08:00
mxsm ec5c199b90 [ISSUE #6501] Replace deprecated DLedgerServer#getdLedgerStore method (#6502) 2023-03-30 08:44:42 +08:00
fujian-zfj 0d516ba708 [ISSUE #6473] Fix multi dispatch error when enableMultiDispatch=true and enableLmq=true (#6476)
* typo int readme[ecosystem]

* remove multi_dispatch to avoid building cq again

* if topic starts with %RETRY%, do not process INNER_MULTI_DISPATCH

* quickstart consumer test revert
2023-03-29 14:05:07 +08:00
guyinyouandguyinyou cbd1d38199 flush() in compactionTopic (#6498)
Co-authored-by: guyinyou <guyinyou.gyy@alibaba-inc.com>
2023-03-29 11:46:03 +08:00
Aaron Ai 59b49dee31 [ISSUE #6203] Allow to publish delay message with arbitrary timestamp (#6204)
* Allow to publish delay message with arbitrary timestamp

* Fix SendMessageActivityTest#testBuildMessage
2023-03-28 15:11:47 +08:00
rongtong 77cb5ce672 [ISSUE #6492] Polish persistent unique broker id document (#6493)
* Polish persistent unique broker id document

* Polish persistent unique broker id document
2023-03-28 11:40:37 +08:00
Lin ZiHaoand林子豪 8b5853d0c3 [ISSUE #6263] use true address from channel
Co-authored-by: 林子豪 <zihao.lin@shopcider.com>
2023-03-28 10:43:20 +08:00
fuyou001andRongtongJin 17aa86c618 [ISSUE #6324] Improving compact topic stability (#6353)
Co-authored-by: RongtongJin <jinrongtong16@mails.ucas.ac.cn>
2023-03-28 10:41:23 +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
SSpirits a96f672338 [ISSUE #6484] Revert inappropriate modification
This reverts commit 054ee473fd.
2023-03-28 09:33:14 +08:00
Sena0777 054ee473fd [ISSUE #6482]style: Rename the variable "filepath" to "filePath" on line 55 of PosixFileSegment.java 2023-03-27 18:50:37 +08:00
guyinyouandguyinyou 9ccfcfbd13 [ISSUE #6478] Fix outTPS in mqadmin when using compactionTopic
Co-authored-by: guyinyou <guyinyou.gyy@alibaba-inc.com>
2023-03-27 16:24:08 +08:00
Oliver 9b90b5b70a [ISSUE #6445] Fix the attribute of the compaction topic doc (#6451) 2023-03-27 15:26:10 +08:00
guyinyouandguyinyou 654c12ed56 [ISSUE #6430] Scan topic.json to find compactionTopic and copy it
Co-authored-by: guyinyou <guyinyou.gyy@alibaba-inc.com>
2023-03-27 15:25:29 +08:00
YonminMa cc9321db49 [ISSUE #6462] Optimize PushConsumer code and logic (#6463)
* [ISSUE #6462] Optimize PushConsumer code and logic

* [ISSUE #6462] Optimize PushConsumer code and logic
2023-03-27 13:42:29 +08:00
yuz10 ca927600d3 [ISSUE #6390] Add break to the exception of WHEEL_TIMER_NOT_ENABLE. (#6477) 2023-03-27 13:40:39 +08:00
mxsm 4da7b1884b [ISSUE #6474]Optimize ServiceThread log print (#6475) 2023-03-27 13:13:23 +08:00
dependabot[bot]andLi Zhanhui 6662f2a86d build(deps): bump spring-core from 5.3.23 to 5.3.26 (#6464)
* build(deps): bump spring-core from 5.3.23 to 5.3.26

Bumps [spring-core](https://github.com/spring-projects/spring-framework) from 5.3.23 to 5.3.26.
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v5.3.23...v5.3.26)

---
updated-dependencies:
- dependency-name: org.springframework:spring-core
  dependency-type: direct:production
...

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

* Sync bazel

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Li Zhanhui <lizhanhui@gmail.com>
2023-03-27 13:07:41 +08:00
mxsm eb804014f1 [ISSUE #6466] Add ForbiddenType when Broker process PullMessage return no permission 2023-03-26 11:00:57 +08:00
mxsm 8ddf2fdd42 [ISSUE #6469]Translation persistent_unique_broker_id.md (CN->EN) (#6470) 2023-03-25 17:13:13 +08:00
caigy 8aa7bc08f7 [ISSUE #6400] Remove unnecessary config BrokerConfig.maxDelayTime 2023-03-24 14:48:17 +08:00
Zhouxiang Zhan 8c4568569c Add rpc validatation for gRPC in PlainAccessResource (#6460)
* including NotifyClientTerminationRequest, QueryRouteRequest, QueryAssignmentRequest, ChangeInvisibleDurationRequest
2023-03-24 10:16:52 +08:00
Ji JuntaoandLi 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
hiyoandLi Zhanhui 0faa0a2c7d [ISSUE #6414] polish MQClientAPIImpl.getDefaultTopicRouteInfoFromName… (#6452)
* [ISSUE #6414] polish MQClientAPIImpl.getDefaultTopicRouteInfoFromNameServer parameters

* Fix to make Bazel CI pass

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

* Fix typo

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

---------

Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
Co-authored-by: Li Zhanhui <lizhanhui@gmail.com>
2023-03-23 20:30:21 +08:00
SSpirits a7a86382f0 [ISSUE #6454] Fix unsafe shutdown process in tiered storage (#6455)
* fix the risk of a potential JVM crash in tiered storage test

* fix unit test

* fix checkstyle
2023-03-23 19:20:43 +08:00
Lobo Xu 91ccfeb2f4 When the proxy starts, the log displays the configuration details (#6453) 2023-03-23 18:57:53 +08:00
guyinyouandguyinyou 9b97eaf5ba [ISSUE #6424] Make topicConfig updating atomically
Co-authored-by: guyinyou <guyinyou.gyy@alibaba-inc.com>
2023-03-23 14:18:19 +08:00
Cyandcyu fe0a0a0789 [ISSUE #6440] Optimize the code of consumer thread name,and support tag the name of scheduledExecutor thread. (#6441)
Co-authored-by: cyu <dingchengyu@hydee.cn>
2023-03-23 14:16:24 +08:00
lk 59c82d9976 [ISSUE #6449] Fix NPE in MultiProtocolRemotingServer (#6450) 2023-03-23 11:41:23 +08:00
Lobo Xu b41d1ddf35 [ISSUE #6373] Optimized log printing and fixed null pointer exceptions (#6375) 2023-03-23 10:44:46 +08:00
lk e3b5f07ae8 [ISSUE #6438] Optimizing the memory usage of MultiProtocolRemotingServer (#6439) 2023-03-22 19:09:49 +08:00
guyinyouandguyinyou c17baf1e33 [ISSUE #6386] Some improvements for compactionTopic (#6387)
* 1、Graceful shutdown needs to wait for the compactionTopic to build the index
2、Exception handling that may occur when adding pullMessageFromMaster
3、Update usage docs

* fix doc

---------

Co-authored-by: guyinyou <guyinyou.gyy@alibaba-inc.com>
2023-03-22 11:23:13 +08:00