This is an automated email from the ASF dual-hosted git repository.
yong pushed a change to branch branch-4.16
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
from a39a5f9051 [maven-release-plugin] rollback changes from release
preparation of v4.16.1-rc0
new e03949af7b Use ChannelVoidPromise to avoid useless promise objects
creation (#3733)
new e44264270b Execute clean indexes in finally (#3772)
new 39d5fc1c9a [Bug] Always one orphan ledger is created (#3813)
new 9a2cc80273 [Bookie] Prevent transit to writable mode when
forceReadOnly mode is active (#3881)
new 68cff3d035 Return activeLogChannel if new create (#3894)
new 25e7784686 Fix garbage collection blocked by runtime exception (#3901)
new 4d65b9e123 Fix keys leak in EntryLocationIndex when ledgersToDelete is
empty (#3903)
new b66af0fd73 Fix ReclaimedSpaceViaDeletes stats incorrect problem.
(#3906)
new d3f8aa3389 Cleanup CbThreadFactory (#3907)
new 4b688521c3 [Bug] SingleDirectoryDbLedgerStorage#flushMutex does not
release lock on all exception paths (#3909)
new 0679858479 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 36043c3ffe recycle dropping read-write requests when various
exceptions happened (#3912)
new 8c4f3c8cbb Enable PCBC completionObjects autoShrink to reduce memory
usage and gc (#3913)
new 81fd119ff1 Upgrade docker base image to resolve CVE-2023-0286 (#3916)
new db41a5c33f Fix ledger replicated failed blocks bookie decommission
process (#3917)
new eaefcfc47b Fix some metrics generated by prometheus client without
type info (#3927)
new 3e884383f0 Upgrade docusaurus to 2.4.0 (#3936)
new c8fecfe976 Upgrade jetty version to 9.4.51.v20230217 (#3937)
new 8e8ea7a269 drop invalid entryFormat arg from shell command (#3938)
new 6ade69fce6 fix wrong update checkAllLedgersTime when ledgerReplication
disabled (#3939)
new 6cbccfd8b8 When the executor has been shut down, do not schedule task
(#3946)
new c8d98333f9 Fix npe when iterate pendingLedgersUpdates and
pendingDeletedLedgers. (#3955)
new 2aede4b5ca Avoid compaction to trigger extra flushes DbLedgerStorage
(#3959)
new 02074ad7a3 Reduce unnecessary creation of ReplicationEnableCb objects
(#3960)
new ab90a14b72 clear channel when channelInactive (#3966)
new 59ef60a9a3 check indexBaseDir specified with ledgerBaseDir (#3967)
new 2d4694d514 Upgrade Netty to 4.1.93.Final (#3975)
new 79485f9f75 Fix journal without flush (#3979)
new 07d3af61e5 Fix arbitrary file upload vulnerability with
httpServerEnabled (#3982)
new cec8551b1d Fix memory leak of direct memory. (#3983)
new 306eaef60d Unify ByteBufAllocator for the DirectIO component (#3985)
The 31 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/website-deploy.yaml | 2 +-
.github/workflows/website-pr-validation.yml | 2 +-
bin/bookkeeper | 4 +-
bookkeeper-dist/src/assemble/bin-all.xml | 2 +-
bookkeeper-dist/src/assemble/bin-server.xml | 2 +-
bookkeeper-dist/src/assemble/bkctl.xml | 2 +-
.../src/main/resources/LICENSE-all.bin.txt | 178 +-
.../src/main/resources/LICENSE-bkctl.bin.txt | 160 +-
.../src/main/resources/LICENSE-server.bin.txt | 178 +-
.../src/main/resources/NOTICE-all.bin.txt | 64 +-
.../src/main/resources/NOTICE-bkctl.bin.txt | 44 +-
.../src/main/resources/NOTICE-server.bin.txt | 64 +-
.../LICENSE.aalto-xml.txt | 0
.../LICENSE.base64.txt | 0
.../LICENSE.bouncycastle.txt | 0
.../LICENSE.caliper.txt | 0
.../LICENSE.commons-lang.txt | 0
.../LICENSE.commons-logging.txt | 0
.../LICENSE.compress-lzf.txt | 0
.../LICENSE.dnsinfo.txt | 0
.../LICENSE.harmony.txt | 0
.../LICENSE.hpack.txt | 0
.../LICENSE.hyper-hpack.txt | 0
.../LICENSE.jboss-marshalling.txt | 0
.../LICENSE.jbzip2.txt | 0
.../LICENSE.jctools.txt | 0
.../LICENSE.jfastlz.txt | 0
.../LICENSE.jsr166y.txt | 0
.../LICENSE.jzlib.txt | 0
.../LICENSE.libdivsufsort.txt | 0
.../LICENSE.log4j.txt | 0
.../LICENSE.lz4.txt | 0
.../LICENSE.lzma-java.txt | 0
.../LICENSE.mvn-wrapper.txt | 0
.../LICENSE.nghttp2-hpack.txt | 0
.../LICENSE.protobuf.txt | 0
.../LICENSE.slf4j.txt | 0
.../LICENSE.snappy.txt | 0
.../LICENSE.webbit.txt | 0
.../NOTICE.harmony.txt | 0
.../bookkeeper/http/vertx/VertxHttpServer.java | 2 +-
.../bookkeeper/http/vertx/TestVertxHttpServer.java | 76 +
.../bookkeeper/bookie/BookieStateManager.java | 5 +
.../bookie/EntryLogManagerForSingleEntryLog.java | 1 +
.../bookkeeper/bookie/GarbageCollectorThread.java | 13 +-
.../java/org/apache/bookkeeper/bookie/Journal.java | 14 +-
.../org/apache/bookkeeper/bookie/StateManager.java | 5 +
.../bookie/storage/directentrylogger/Buffer.java | 8 +-
.../storage/directentrylogger/BufferPool.java | 5 +-
.../DirectCompactionEntryLog.java | 2 +-
.../directentrylogger/DirectEntryLogger.java | 4 +-
.../storage/directentrylogger/DirectReader.java | 3 +-
.../storage/directentrylogger/DirectWriter.java | 9 +-
.../storage/directentrylogger/LogReaderScan.java | 6 +-
.../bookie/storage/ldb/EntryLocationIndex.java | 6 +-
.../bookie/storage/ldb/LedgerMetadataIndex.java | 8 +-
.../ldb/SingleDirectoryDbLedgerStorage.java | 63 +-
.../apache/bookkeeper/client/LedgerFragment.java | 7 +-
.../meta/ZkLedgerUnderreplicationManager.java | 2 +-
.../org/apache/bookkeeper/proto/AuthHandler.java | 42 +-
.../bookkeeper/proto/BookieRequestProcessor.java | 40 +-
.../bookkeeper/proto/PacketProcessorBase.java | 4 +-
.../bookkeeper/proto/PerChannelBookieClient.java | 3 +-
.../bookkeeper/proto/ReadEntryProcessor.java | 1 +
.../bookkeeper/proto/WriteEntryProcessor.java | 2 +
.../org/apache/bookkeeper/replication/Auditor.java | 23 +-
.../replication/AuditorCheckAllLedgersTask.java | 1 +
.../bookkeeper/replication/ReplicationWorker.java | 14 +
.../http/service/BookieStateReadOnlyService.java | 5 +
.../apache/bookkeeper/util/NettyChannelUtil.java | 62 +
.../bookkeeper/bookie/DefaultEntryLogTest.java | 21 +
.../storage/directentrylogger/TestBuffer.java | 17 +-
.../directentrylogger/TestDirectReader.java | 15 +-
.../directentrylogger/TestDirectWriter.java | 23 +-
.../storage/directentrylogger/TestMetadata.java | 2 +-
.../bookie/storage/ldb/DbLedgerStorageTest.java | 2 +
.../bookkeeper/client/BookieWriteLedgerTest.java | 75 +
.../replication/ReplicationTestUtil.java | 2 +-
.../replication/TestReplicationWorker.java | 27 +
.../bookkeeper/server/http/TestHttpService.java | 8 +
.../bookkeeper/util/NettyChannelUtilTest.java | 73 +
conf/bkenv.sh | 3 -
dev/docker/Dockerfile | 2 +-
dev/release/Dockerfile | 2 +-
pom.xml | 8 +-
site3/website/docs/reference/cli.md | 1 -
site3/website/package.json | 4 +-
site3/website/yarn.lock | 3732 +++++++++++++-------
.../stats/prometheus/PrometheusTextFormat.java | 27 +
.../stats/prometheus/PrometheusTextFormatTest.java | 39 -
.../stats/prometheus/TestPrometheusFormatter.java | 56 +
.../distributedlog/bk/SimpleLedgerAllocator.java | 4 +-
.../distributedlog/TestBKLogWriteHandler.java | 48 +
.../apache/distributedlog/TestRollLogSegments.java | 2 +
stream/distributedlog/io/dlfs/pom.xml | 12 +
.../docker-images/statestore-image/bin/bookkeeper | 3 +-
96 files changed, 3496 insertions(+), 1850 deletions(-)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.aalto-xml.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.base64.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.bouncycastle.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.caliper.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.commons-lang.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.commons-logging.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.compress-lzf.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.dnsinfo.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.harmony.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.hpack.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.hyper-hpack.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.jboss-marshalling.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.jbzip2.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.jctools.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.jfastlz.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.jsr166y.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.jzlib.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.libdivsufsort.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.log4j.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.lz4.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.lzma-java.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.mvn-wrapper.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.nghttp2-hpack.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.protobuf.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.slf4j.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.snappy.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/LICENSE.webbit.txt (100%)
rename bookkeeper-dist/src/main/resources/deps/{netty-4.1.89.Final =>
netty-4.1.93.Final}/NOTICE.harmony.txt (100%)
create mode 100644
bookkeeper-server/src/main/java/org/apache/bookkeeper/util/NettyChannelUtil.java
create mode 100644
bookkeeper-server/src/test/java/org/apache/bookkeeper/util/NettyChannelUtilTest.java
delete mode 100644
stats/bookkeeper-stats-providers/prometheus-metrics-provider/src/test/java/org/apache/bookkeeper/stats/prometheus/PrometheusTextFormatTest.java