* acl temp
* acl
* fix test case
* fix code style issues
* add considerations on compatibility to the original one ACL config file and scalability of supporting multiple config files in different directories.
* fix test case testWatch
* 1.fix some issues
2.add a detailed design document
* Add warn log when the accesskey is repeated in multiple ACL files.
* 1.Change the folder of acl configuration to conf/acl
2.Add the logic to check if path is a directory in the method of getAllAclFiles(String path)
* Add a parameter in AclFileWatchService constructor.
* Add logic to determine if path exists in the getAllAclFiles(String path) method in PlainPermissionManager.java and AclFileWatchService.java
* Fix the serialization problem of allAclFileVersion field in clusterAclConfigVersion command
* 1.Fix the serialization problem of allAclFileVersion field in clusterAclConfigVersion command
2.Improve the logic of updateAccessConfig method
* Re-enable testing on ARM64
But this time on:
1) AWS Graviton2 machines - they are more reliable
2) Ubuntu 20.04 - it is better maintained by Travis team
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* Run `mvn verify` in batch mode and do not log network transfer progress
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* Do not use -ntp (--no-transfer-progress)
Because it is not available in Maven 3.6.0 (latest available in Ubuntu 18.04)
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
This commit may greatly increase thoughtput when network lantency is big or message size is big, especially for consumer.
In one broker (M/S sync master async flush), one producer send test.
250 byte body: 0.93x old version
4000 byte body: 3.85x of old version
16000 byte body: 6.07x of old version
100000 byte body: 7.93x of old version
The old version is 4.9.3-SNAPSHOT in this test. In this test the network latency from producer to broker is 1.61ms.
* [ISSUE #3708] add CorrectLogicOffsetService to periodically correct min logic offset; refactor QueueOffsetAssigner.
* Mock getDiskSpaceWarningLevelRatio and getDiskSpaceCleanForciblyRatio to get around configuration protection in unit-test.
* Fix check style.
* [RIP-26] Both CQ and BCQ will be supported in DefaultMessageStore.
* [RIP-26] Both CQ and BCQ will be supported in DefaultMessageStore.
* Part of ISSUE #3708. Refactor CQ and BCQ loading process.
* Mock getDiskSpaceWarningLevelRatio and getDiskSpaceCleanForciblyRatio for ut.
* Optimize batch message unit-test.
* Mock getDiskSpaceWarningLevelRatio and getDiskSpaceCleanForciblyRatio for ut.
* Optimize batch message unit-test.