lhotari opened a new pull request, #20659: URL: https://github.com/apache/pulsar/pull/20659
### Motivation & Modifications Backport #16832 which fixes #16601 . This includes multiple other changes which are required dependencies for backporting the pull request. This was achieved by cherry-picking #14648, #15365, copying over these specific files from master branch, cherry-picking #16832 and resolving merge conflicts on the way. These are the files that were copied over from master branch (license header was modified to match `JAVADOC_STYLE`): ``` pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/LinuxInfoUtils.java pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalance/impl/LinuxBrokerHostUsageImpl.java pulsar-broker/src/test/java/org/apache/pulsar/broker/loadbalance/impl/LinuxBrokerHostUsageImplTest.java pulsar-broker-common/src/main/java/org/apache/pulsar/broker/BitRateUnit.java pulsar-broker-common/src/test/java/org/apache/pulsar/broker/BitRateUnitTest.java pulsar-broker/src/test/java/org/apache/pulsar/broker/loadbalance/LoadReportNetworkLimitTest.java pulsar-broker/src/test/java/org/apache/pulsar/broker/loadbalance/SimpleBrokerStartTest.java pulsar-broker/src/test/java/org/apache/pulsar/broker/loadbalance/LoadReportNetworkLimitTest.java ``` Java 11 has cgroup v2 support since 11.0.16 with https://bugs.openjdk.org/browse/JDK-8230305 changes. ### Documentation <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. --> - [ ] `doc` <!-- Your PR contains doc changes. --> - [ ] `doc-required` <!-- Your PR changes impact docs and you will update later --> - [x] `doc-not-needed` <!-- Your PR changes do not impact docs --> - [ ] `doc-complete` <!-- Docs have been already added --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
