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 b2eccae3d8 Fixed the pivot selection in the group quick-sort (#3800)
new ed63885a1e change rocksDB config level_compaction_dynamic_level_bytes
to CFOptions (#3860)
new ef85cb7ae9 [Bookie] Prevent transit to writable mode when
forceReadOnly mode is active (#3881)
new d3e2f5ae0f Optimize log4j dependency in Bookkeeper (#3892)
new df3883346a Return activeLogChannel if new create (#3894)
new 573a995c90 Fix garbage collection blocked by runtime exception (#3901)
new fbc9c77658 Fix keys leak in EntryLocationIndex when ledgersToDelete is
empty (#3903)
new 9bae719841 Fix ReclaimedSpaceViaDeletes stats incorrect problem.
(#3906)
new 9c0f42851b [Bug] SingleDirectoryDbLedgerStorage#flushMutex does not
release lock on all exception paths (#3909)
new fda9ba9a7f Remove avro, hadoop-auth and jersey-json dependencies from
hadoop-common to resolve CVE-2019-10202, CVE-2023-1370 and CVE-2022-45685
(#3911)
new 7b8096430a recycle dropping read-write requests when various
exceptions happened (#3912)
new dd694c3951 Enable PCBC completionObjects autoShrink to reduce memory
usage and gc (#3913)
new 74d62b4090 Upgrade bc-fips to 1.0.2.4 to fix CVE-2022-45146 (#3915)
new 9daa157592 Upgrade docker base image to resolve CVE-2023-0286 (#3916)
new 277a9743c6 Fix ledger replicated failed blocks bookie decommission
process (#3917)
new fdc65ca2bc Upgrade jetty version to 9.4.51.v20230217 (#3937)
new 60cf9aa128 Fix some metrics generated by prometheus client without
type info (#3927)
new 31e5d186b1 drop invalid entryFormat arg from shell command (#3938)
new e5d86d36e3 Optimize getEntryLogMetadata (#3948)
new 3f73bd368b Fix npe when iterate pendingLedgersUpdates and
pendingDeletedLedgers. (#3955)
new 25463d8e4f Support skip invalid journal record in replying journal
stage (#3956)
new d94d1cc062 Avoid compaction to trigger extra flushes DbLedgerStorage
(#3959)
The 21 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:
bin/bookkeeper | 4 +-
.../src/main/resources/LICENSE-all.bin.txt | 16 +--
.../src/main/resources/LICENSE-bkctl.bin.txt | 2 +-
.../src/main/resources/LICENSE-server.bin.txt | 16 +--
.../src/main/resources/NOTICE-all.bin.txt | 16 +--
.../src/main/resources/NOTICE-server.bin.txt | 16 +--
bookkeeper-server/pom.xml | 8 ++
.../org/apache/bookkeeper/bookie/BookieImpl.java | 2 +-
.../bookkeeper/bookie/BookieStateManager.java | 5 +
.../bookie/EntryLogManagerForSingleEntryLog.java | 1 +
.../org/apache/bookkeeper/bookie/EntryLogger.java | 3 +
.../bookkeeper/bookie/GarbageCollectorThread.java | 14 +--
.../java/org/apache/bookkeeper/bookie/Journal.java | 16 ++-
.../org/apache/bookkeeper/bookie/StateManager.java | 5 +
.../bookie/storage/ldb/EntryLocationIndex.java | 7 +-
.../bookie/storage/ldb/LedgerMetadataIndex.java | 8 +-
.../bookie/storage/ldb/LedgersIndexRebuildOp.java | 2 +-
.../ldb/SingleDirectoryDbLedgerStorage.java | 52 ++++++---
.../apache/bookkeeper/client/LedgerFragment.java | 7 +-
.../bookkeeper/conf/ServerConfiguration.java | 21 ++++
.../bookkeeper/proto/PerChannelBookieClient.java | 2 +-
.../bookkeeper/proto/ReadEntryProcessor.java | 1 +
.../bookkeeper/proto/WriteEntryProcessor.java | 2 +
.../bookkeeper/replication/ReplicationWorker.java | 14 +++
.../http/service/BookieStateReadOnlyService.java | 5 +
.../cli/commands/bookie/ReadJournalCommand.java | 2 +-
.../bookkeeper/bookie/BookieJournalTest.java | 117 ++++++++++++++++++++-
.../org/apache/bookkeeper/bookie/EntryLogTest.java | 22 ++++
.../bookie/storage/ldb/DbLedgerStorageTest.java | 2 +
.../storage/ldb/KeyValueStorageRocksDBTest.java | 18 ++++
.../bookkeeper/client/BookieWriteLedgerTest.java | 75 +++++++++++++
.../replication/ReplicationTestUtil.java | 2 +-
.../replication/TestReplicationWorker.java | 28 +++++
.../bookkeeper/server/http/TestHttpService.java | 8 ++
.../resources/conf/entry_location_rocksdb.conf | 6 +-
.../stats/prometheus/PrometheusTextFormat.java | 22 ++++
.../stats/prometheus/PrometheusTextFormatTest.java | 39 -------
.../stats/prometheus/TestPrometheusFormatter.java | 56 ++++++++++
conf/bkenv.sh | 3 -
conf/entry_location_rocksdb.conf.default | 6 +-
dev/docker/Dockerfile | 2 +-
dev/release/Dockerfile | 2 +-
pom.xml | 12 +--
site3/website/docs/reference/cli.md | 1 -
stream/distributedlog/io/dlfs/pom.xml | 12 +++
.../docker-images/statestore-image/bin/bookkeeper | 3 +-
testtools/pom.xml | 11 ++
47 files changed, 555 insertions(+), 139 deletions(-)
delete mode 100644
bookkeeper-stats-providers/prometheus-metrics-provider/src/test/java/org/apache/bookkeeper/stats/prometheus/PrometheusTextFormatTest.java