This is an automated email from the ASF dual-hosted git repository.
yong pushed a change to branch branch-4.15
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
from 067dd4e614 Fix the build issue
new b1ae257996 use LinkedList to take place of ArrayList. (#3330)
new 5557e7bba6 Pre break loop when self create layoutZNode succeed. (#3335)
new e3ab4d9306 enhance future sync wait. (#3336)
new d0f88fde90 fix underReplicatedLedgerTotalSize calculate problem.
(#3337)
new 304873e807 reduce unnecessary checkpoints (#3341)
new 3464e07b9b upgrade groovy from 2.5.17 to 3.0.11 to fix
CVE-2019-11358(7.5) (#3346)
new fcfbfe6b43 [improve][client] release the bookie from
QuarantinedBookies when health check is disabled (#3349)
new eee3cc804a Fix: NPE in RackawareEnsemblePlacementPolicyImpl logged by
AutoRecovery (#3350)
new 4aac27e6ae BP-41 Add flag to enable/disable BookieAddressResolver
(#3356)
new 855cf9b7c5 Fix autoRecover memory leak. (#3361)
new ccb0417f6a add writeThreadQueuedLatency (#3363)
new 0e9a394aa6 Fix bookie CI test not run (#3367)
new 4a0b72ac42 If ensembleList is empty, return
PlacementPolicyAdherence.FAIL. (#3369)
new 0c3600d6c5 Shut down ReplicationWorker and Auditor on non-recoverable
ZK error (#3374)
new 063cc8b7cb [Issue 3389] Prioritize compaction of entry logs with the
lowest amount of remaining usable data (#3390)
new 4c1538a06a Make BookieFileChannel interface public (#3396)
new 6a4d70c6f5 Optimize concurrent collection's shrink logic (#3417)
new ea146161a9 Stable testBookieContinueWritingIfMultipleLedgersPresent
test (#3421)
new 18c998cfb4 Metrics: add journalCbQueueLatency (#3364)
new 7df24b738c add metric cbThreadPoolQueueSize (#3424)
new b52faf7061 upgrade log4j2 to 2.18.0 (#3434)
new 38d4ad9211 Revert some unwanted changes in commit 3309 (#3438)
The 22 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/bookie-tests.yml | 8 +--
.../bookkeeper/common/concurrent/FutureUtils.java | 14 +++-
.../src/main/resources/LICENSE-all.bin.txt | 8 +--
.../src/main/resources/LICENSE-bkctl.bin.txt | 8 +--
.../src/main/resources/LICENSE-server.bin.txt | 8 +--
.../bookkeeper/bookie/BookKeeperServerStats.java | 3 +
.../bookkeeper/bookie/BookieFileChannel.java | 2 +-
.../org/apache/bookkeeper/bookie/BookieShell.java | 3 +-
.../bookkeeper/bookie/DefaultFileChannel.java | 6 +-
.../bookkeeper/bookie/EntryLogMetadataMap.java | 8 +++
.../org/apache/bookkeeper/bookie/FileInfo.java | 1 +
.../bookkeeper/bookie/GarbageCollectorThread.java | 64 ++++++++++++++---
.../bookie/InMemoryEntryLogMetadataMap.java | 6 ++
.../java/org/apache/bookkeeper/bookie/Journal.java | 23 +++++-
.../bookkeeper/bookie/stats/JournalStats.java | 16 +++++
.../storage/ldb/PersistentEntryLogMetadataMap.java | 61 ++++++++++++----
.../ldb/SingleDirectoryDbLedgerStorage.java | 4 ++
.../org/apache/bookkeeper/client/BookKeeper.java | 6 +-
.../apache/bookkeeper/client/BookKeeperAdmin.java | 2 +-
...ner.java => BookieAddressResolverDisabled.java} | 24 ++++---
.../apache/bookkeeper/client/BookieWatcher.java | 5 ++
.../bookkeeper/client/BookieWatcherImpl.java | 5 +-
.../client/DefaultBookieAddressResolver.java | 2 +-
.../client/ListenerBasedPendingReadOp.java | 4 +-
.../apache/bookkeeper/client/PendingReadOp.java | 6 +-
.../RackawareEnsemblePlacementPolicyImpl.java | 15 +++-
.../ZoneawareEnsemblePlacementPolicyImpl.java | 4 ++
.../bookkeeper/conf/ClientConfiguration.java | 28 ++++++++
.../bookkeeper/meta/AbstractZkLedgerManager.java | 42 +++++++++++
.../bookkeeper/meta/FlatLedgerManagerFactory.java | 4 +-
.../bookkeeper/meta/LedgerManagerFactory.java | 3 +-
.../LegacyHierarchicalLedgerManagerFactory.java | 4 +-
.../bookkeeper/meta/MSLedgerManagerFactory.java | 3 +-
.../meta/ZkLedgerUnderreplicationManager.java | 70 +++++++++---------
.../apache/bookkeeper/net/BookieSocketAddress.java | 5 +-
.../bookkeeper/proto/PacketProcessorBase.java | 2 +
.../org/apache/bookkeeper/proto/RequestStats.java | 10 +++
.../bookkeeper/proto/WriteEntryProcessorV3.java | 2 +
.../org/apache/bookkeeper/replication/Auditor.java | 55 ++++++++++++---
.../replication/ReplicationException.java | 25 +++++++
.../bookkeeper/replication/ReplicationWorker.java | 14 ++--
.../autorecovery/ListUnderReplicatedCommand.java | 3 +-
.../QueryAutoRecoveryStatusCommand.java | 3 +-
.../cli/commands/autorecovery/ToggleCommand.java | 3 +-
.../cli/commands/bookies/ListBookiesCommand.java | 14 ++--
.../tools/cli/helpers/DiscoveryCommand.java | 6 +-
.../util/collections/ConcurrentLongHashMap.java | 40 ++++++++---
.../util/collections/ConcurrentLongHashSet.java | 31 ++++++--
.../collections/ConcurrentLongLongHashMap.java | 35 ++++++---
.../collections/ConcurrentLongLongPairHashMap.java | 31 ++++++--
.../util/collections/ConcurrentOpenHashMap.java | 36 ++++++++--
.../util/collections/ConcurrentOpenHashSet.java | 30 ++++++--
.../bookie/ForceAuditorChecksCmdTest.java | 5 +-
.../bookie/storage/ldb/DbLedgerStorageTest.java | 18 +++--
.../ldb/PersistentEntryLogMetadataMapTest.java | 14 ++++
.../client/BookieAddressResolverDisabledTest.java | 54 ++++++++++++++
.../TestRackawareEnsemblePlacementPolicy.java | 48 +++++++++++++
.../TestZoneawareEnsemblePlacementPolicy.java | 4 ++
.../meta/AbstractZkLedgerManagerTest.java | 7 ++
.../replication/AuditorPeriodicCheckTest.java | 3 +-
.../replication/TestReplicationWorker.java | 82 ++++++++++++++++++----
.../apache/bookkeeper/test/ReadOnlyBookieTest.java | 1 +
.../collections/ConcurrentLongHashMapTest.java | 33 +++++++++
.../collections/ConcurrentLongHashSetTest.java | 34 +++++++++
.../collections/ConcurrentLongLongHashMapTest.java | 33 +++++++++
.../ConcurrentLongLongPairHashMapTest.java | 32 +++++++++
.../collections/ConcurrentOpenHashMapTest.java | 33 +++++++++
.../collections/ConcurrentOpenHashSetTest.java | 34 +++++++++
.../zookeeper/MockZooKeeperTestCase.java | 32 +++++++++
conf/bk_server.conf | 6 ++
.../metadata/etcd/EtcdLedgerManagerFactory.java | 3 +-
.../proto/checksum/DigestTypeBenchmark.java | 24 +++----
pom.xml | 3 +-
.../grpc/resolver/BKRegistrationNameResolver.java | 8 ++-
tests/pom.xml | 2 +-
.../ListUnderReplicatedCommandTest.java | 8 +--
.../tools/cli/helpers/ClientCommandTest.java | 1 +
.../tools/cli/helpers/ClientCommandTestBase.java | 7 +-
.../tools/cli/helpers/CommandTestBase.java | 1 +
.../tools/cli/helpers/DiscoveryCommandTest.java | 26 ++++---
80 files changed, 1126 insertions(+), 245 deletions(-)
copy
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/{BookiesListener.java
=> BookieAddressResolverDisabled.java} (61%)
create mode 100644
bookkeeper-server/src/test/java/org/apache/bookkeeper/client/BookieAddressResolverDisabledTest.java