Highlights
Bugs
- Fix AutoRecovery memory leak. PR #3361
- Fix: NPE in RackawareEnsemblePlacementPolicyImpl logged by AutoRecovery. PR #3350
- Fix underReplicatedLedgerTotalSize calculate problem. PR #3337
- Fix JVM exited when running localbookie with jdk17. PR #3334
- Fix the V2 AddRequest object leak issue. PR #3323
- Fix the PendingAddOp is not recycled when LedgerHandler closed. PR #3321
- Bookie can't start after rebooting due the cookie mistmatch. PR #3308
- Close journal channel in testJunkEndedJournal. PR #3307
- Fix jvm_memory_direct_bytes_used metrics when using jdk11+. PR #3252
- AutoRecovery does not process underreplicated empty ledgers. PR #3239
- Fix wrong ledger id parse radix for index relocation file in IndexPersistenceMgr. PR #2944
- Fix the infinite waiting for shutdown due to throttler limit. PR #2942
- Make sure the LedgerHandle close callback can be completed when encounter exception. PR #2913
Improvements
- If ensembleList is empty, return PlacementPolicyAdherence.FAIL. PR #3369
- reduce unnecessary checkpoints. PR #3341
- Pre break loop when self create layoutZNode succeed. PR #3335
- Avoid init WriteSet when waitForWriteSetMs < 0. PR #3325
- Tuning PendingReadOp.java seq. PR #3330
- Apply the backpressure changes on the V2 requests. PR #3324
- Deduplicate error log for SSLException. PR #3320
- Switch to rely on SslEngine for Hostname Verification. PR #3310
- Try to use Java9 CRC32C when JNI based CRC is not available. PR #3309
- Enhance future sync wait. PR #3336
- validate diskUsageThreshold and diskUsageLwmThreshold. PR #3285
- Replace unsafe NoEntryException with IOException. PR #2909
- let bookie quit if journal thread exit. PR #2887
- Ledger replicate supports throttle. PR #2778
- minorCompactionInterval should be greater than gcWaitTime. PR #2116
- Optimize concurrent collection's shrink logic. PR #3417
- Make BookieFileChannel interface public. PR #3396
- Prioritize compaction of entry logs with the lowest amount of remaining usable data. PR #3390
- Switch back ordered executor to LinkedBlockingQueue. PR #3384
- Consolidate Netty channel flushes to mitigate syscall overhead. PR #3383
- Shut down ReplicationWorker and Auditor on non-recoverable ZK error. PR #3374
- BP-41 Add flag to enable/disable BookieAddressResolver. PR #3356
- release the bookie from QuarantinedBookies when health check is disabled. PR #3349
Metrics changes
Dependency updates
Details
https://github.com/apache/bookkeeper/pulls?q=is%3Apr+label%3Arelease%2F4.15.1+is%3Aclosed+is%3Amerged