* fix(controller): fix the logic when deal with a write event with empty events
1. fix the logic when deal with a write event with empty events
* style(controller): remove unused import
1. remove unused import
* optimize the memory usage in DefaultMappedFile:
use AtomicIntegerFieldUpdater instead of AtomicInteger
* fix code bug:
if the initial cursor of listIterator equals zero,
the previous element will always null.
* modify constant name
* fix excessive nesting
* Update client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java
* update maven-surefire-plugin.version from 2.19.1 to 2.22.1
* Revert "update maven-surefire-plugin.version from 2.19.1 to 2.22.1"
This reverts commit 37fabe6e78.
* Code Style: fix warn info from the code detector.
* fix checkstyle: not use '*' for import.
Co-authored-by: shanpengyu <shanpengyu@bytedance.com>
Co-authored-by: Aaron Ai <yangkun.ayk@gmail.com>
* style(controller): fix the wrong typo about DLedger
1. fix the wrong typo about DLedger
* style(controller): fix the wrong typo about DLedger
1. fix the wrong typo about DLedger
* Fix invalid log output after the master and slave broker are started on the empty disk in controller mode
* Remove useless log output after the master and slave broker are started on the empty disk in controller mode
* Rule out tests that are flaky. Aka they failed to pass 64 sequential and concurrent runs
* Change default log root directory for tests
* Follow test encyclopedia
* Fix test cases, allowing OS pick up available port to listen to
* Add sha256
* Use pull_request
* Two improvements are made. 1, Search from previous minLogicOffset if possible; 2, Binary search instead of linear scan
* Add unit test cases, covering the changes
* Optimize terminal condition
* Adapt to latest code
* Support build with Bazel (#4865)
* Support build with Bazel, fixing tests to make them capable of running in concurrency and hermetic.
* Make test cases capable of running in parallel. (#4874)
* remove innerProducer and innerConsumer in Escape
#4832
* format code to pass code-style check
* Move topic route management logic to TopicRouteInfoManager
* Use ThreadPoolExecutor instead of creating a new ForkJoinPool
* remove retry logic
* remove unnecessary name server list
* remove unnecessary invokeId
* remove AssignmentManager and make maintenance of topic subscribe data lazy-initialized
* simply code
* remove unnecessary code