Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[improve][misc] Sync commits from apache into 3.1_ds #346

Merged
merged 16 commits into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
f7bbbfb
[fix][test] Fix SimpleProducerConsumerTest.testMultiTopicsConsumerImp…
ZhaoGuorui666 Nov 6, 2024
636fd8f
[fix][test] Fix DeadLetterTopicTest.testDeadLetterTopicWithInitialSub…
ZhaoGuorui666 Nov 6, 2024
b81f240
[fix][client] fix the beforeConsume() method earlier hit with message…
codelipenghui Nov 8, 2024
28d7939
[fix][broker] Broker is failing to create non-durable sub if topic is…
rdhabalia Nov 11, 2024
f110dec
[fix][sec] Upgrade Zookeeper to 3.9.3 to address CVE-2024-51504 (#23581)
lhotari Nov 12, 2024
143e139
[improve][broker] Make cluster metadata teardown command support meta…
Demogorgon314 Oct 29, 2024
738dc2a
[improve][broker] Support cleanup `replication cluster` and `allowed …
Demogorgon314 Nov 12, 2024
afd9de5
[fix][client] The partitionedProducer maxPendingMessages always is 0 …
shibd Nov 13, 2024
5d0a90b
[fix][test][branch-3.0] Fix cherry-picking issue in 2f6c1a3 where Cle…
lhotari Nov 13, 2024
b935c82
[fix][sec] Upgrade to Netty 4.1.115.Final to address CVE-2024-47535 (…
lhotari Nov 13, 2024
06f222b
[improve] [broker] replace HashMap with inner implementation Concurre…
thetumbled Nov 13, 2024
a124255
Enabling DNS retryOnTimeout with TCP in DnsNameResolver (#23590)
graysonzeng Nov 13, 2024
6763538
[fix][broker] Fix currently client retries until operation timeout if…
BewareMyPower Nov 6, 2024
81ad29d
[fix][broker] Fix failed TokenAuthenticatedProducerConsumerTest (#23602)
BewareMyPower Nov 18, 2024
a17aed7
[fix][misc] Unable to connect an etcd metastore with recent releases …
Shawyeok Nov 16, 2024
daefd9c
Fix License file
nikhil-ctds Nov 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion buildtools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<license-maven-plugin.version>4.1</license-maven-plugin.version>
<puppycrawl.checkstyle.version>10.14.2</puppycrawl.checkstyle.version>
<maven-checkstyle-plugin.version>3.1.2</maven-checkstyle-plugin.version>
<netty.version>4.1.113.Final</netty.version>
<netty.version>4.1.115.Final</netty.version>
<guice.version>4.2.3</guice.version>
<guava.version>32.1.1-jre</guava.version>
<ant.version>1.10.12</ant.version>
Expand Down
1 change: 0 additions & 1 deletion distribution/server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
<groupId>${project.groupId}</groupId>
<artifactId>jetcd-core-shaded</artifactId>
<version>${project.version}</version>
<classifier>shaded</classifier>
</dependency>

<dependency>
Expand Down
68 changes: 34 additions & 34 deletions distribution/server/src/assemble/LICENSE.bin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -289,33 +289,33 @@ The Apache Software License, Version 2.0
- org.apache.commons-commons-lang3-3.11.jar
- org.apache.commons-commons-text-1.10.0.jar
* Netty
- io.netty-netty-buffer-4.1.113.Final.jar
- io.netty-netty-codec-4.1.113.Final.jar
- io.netty-netty-codec-dns-4.1.113.Final.jar
- io.netty-netty-codec-http-4.1.113.Final.jar
- io.netty-netty-codec-http2-4.1.113.Final.jar
- io.netty-netty-codec-socks-4.1.113.Final.jar
- io.netty-netty-codec-haproxy-4.1.113.Final.jar
- io.netty-netty-common-4.1.113.Final.jar
- io.netty-netty-handler-4.1.113.Final.jar
- io.netty-netty-handler-proxy-4.1.113.Final.jar
- io.netty-netty-resolver-4.1.113.Final.jar
- io.netty-netty-resolver-dns-4.1.113.Final.jar
- io.netty-netty-resolver-dns-classes-macos-4.1.113.Final.jar
- io.netty-netty-resolver-dns-native-macos-4.1.113.Final-osx-aarch_64.jar
- io.netty-netty-resolver-dns-native-macos-4.1.113.Final-osx-x86_64.jar
- io.netty-netty-transport-4.1.113.Final.jar
- io.netty-netty-transport-classes-epoll-4.1.113.Final.jar
- io.netty-netty-transport-native-epoll-4.1.113.Final-linux-aarch_64.jar
- io.netty-netty-transport-native-epoll-4.1.113.Final-linux-x86_64.jar
- io.netty-netty-transport-native-unix-common-4.1.113.Final.jar
- io.netty-netty-tcnative-boringssl-static-2.0.66.Final.jar
- io.netty-netty-tcnative-boringssl-static-2.0.66.Final-linux-aarch_64.jar
- io.netty-netty-tcnative-boringssl-static-2.0.66.Final-linux-x86_64.jar
- io.netty-netty-tcnative-boringssl-static-2.0.66.Final-osx-aarch_64.jar
- io.netty-netty-tcnative-boringssl-static-2.0.66.Final-osx-x86_64.jar
- io.netty-netty-tcnative-boringssl-static-2.0.66.Final-windows-x86_64.jar
- io.netty-netty-tcnative-classes-2.0.66.Final.jar
- io.netty-netty-buffer-4.1.115.Final.jar
- io.netty-netty-codec-4.1.115.Final.jar
- io.netty-netty-codec-dns-4.1.115.Final.jar
- io.netty-netty-codec-http-4.1.115.Final.jar
- io.netty-netty-codec-http2-4.1.115.Final.jar
- io.netty-netty-codec-socks-4.1.115.Final.jar
- io.netty-netty-codec-haproxy-4.1.115.Final.jar
- io.netty-netty-common-4.1.115.Final.jar
- io.netty-netty-handler-4.1.115.Final.jar
- io.netty-netty-handler-proxy-4.1.115.Final.jar
- io.netty-netty-resolver-4.1.115.Final.jar
- io.netty-netty-resolver-dns-4.1.115.Final.jar
- io.netty-netty-resolver-dns-classes-macos-4.1.115.Final.jar
- io.netty-netty-resolver-dns-native-macos-4.1.115.Final-osx-aarch_64.jar
- io.netty-netty-resolver-dns-native-macos-4.1.115.Final-osx-x86_64.jar
- io.netty-netty-transport-4.1.115.Final.jar
- io.netty-netty-transport-classes-epoll-4.1.115.Final.jar
- io.netty-netty-transport-native-epoll-4.1.115.Final-linux-aarch_64.jar
- io.netty-netty-transport-native-epoll-4.1.115.Final-linux-x86_64.jar
- io.netty-netty-transport-native-unix-common-4.1.115.Final.jar
- io.netty-netty-tcnative-boringssl-static-2.0.69.Final.jar
- io.netty-netty-tcnative-boringssl-static-2.0.69.Final-linux-aarch_64.jar
- io.netty-netty-tcnative-boringssl-static-2.0.69.Final-linux-x86_64.jar
- io.netty-netty-tcnative-boringssl-static-2.0.69.Final-osx-aarch_64.jar
- io.netty-netty-tcnative-boringssl-static-2.0.69.Final-osx-x86_64.jar
- io.netty-netty-tcnative-boringssl-static-2.0.69.Final-windows-x86_64.jar
- io.netty-netty-tcnative-classes-2.0.69.Final.jar
- io.netty.incubator-netty-incubator-transport-classes-io_uring-0.0.21.Final.jar
- io.netty.incubator-netty-incubator-transport-native-io_uring-0.0.21.Final-linux-x86_64.jar
- io.netty.incubator-netty-incubator-transport-native-io_uring-0.0.21.Final-linux-aarch_64.jar
Expand Down Expand Up @@ -453,9 +453,9 @@ The Apache Software License, Version 2.0
- org.apache.avro-avro-1.11.4.jar
- org.apache.avro-avro-protobuf-1.11.4.jar
* Apache Curator
- org.apache.curator-curator-client-5.1.0.jar
- org.apache.curator-curator-framework-5.1.0.jar
- org.apache.curator-curator-recipes-5.1.0.jar
- org.apache.curator-curator-client-5.7.1.jar
- org.apache.curator-curator-framework-5.7.1.jar
- org.apache.curator-curator-recipes-5.7.1.jar
* Apache Yetus
- org.apache.yetus-audience-annotations-0.12.0.jar
* Kubernetes Client
Expand All @@ -482,9 +482,9 @@ The Apache Software License, Version 2.0
- io.vertx-vertx-web-4.5.10.jar
- io.vertx-vertx-web-common-4.5.10.jar
* Apache ZooKeeper
- org.apache.zookeeper-zookeeper-3.9.2.jar
- org.apache.zookeeper-zookeeper-jute-3.9.2.jar
- org.apache.zookeeper-zookeeper-prometheus-metrics-3.9.2.jar
- org.apache.zookeeper-zookeeper-3.9.3.jar
- org.apache.zookeeper-zookeeper-jute-3.9.3.jar
- org.apache.zookeeper-zookeeper-prometheus-metrics-3.9.3.jar
* Snappy Java
- org.xerial.snappy-snappy-java-1.1.10.5.jar
* Google HTTP Client
Expand Down Expand Up @@ -602,7 +602,7 @@ Datastax
- com.datastax.oss-pulsar-transaction-common-3.1.4.11-SNAPSHOT.jar
- com.datastax.oss-pulsar-transaction-coordinator-3.1.4.11-SNAPSHOT.jar
- com.datastax.oss-testmocks-3.1.4.11-SNAPSHOT.jar
- com.datastax.oss-jetcd-core-shaded-3.1.4.11-SNAPSHOT-shaded.jar
- com.datastax.oss-jetcd-core-shaded-3.1.4.11-SNAPSHOT.jar

------------------------

Expand Down
52 changes: 26 additions & 26 deletions distribution/shell/src/assemble/LICENSE.bin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -344,35 +344,35 @@ The Apache Software License, Version 2.0
- commons-text-1.10.0.jar
- commons-compress-1.26.0.jar
* Netty
- netty-buffer-4.1.113.Final.jar
- netty-codec-4.1.113.Final.jar
- netty-codec-dns-4.1.113.Final.jar
- netty-codec-http-4.1.113.Final.jar
- netty-codec-socks-4.1.113.Final.jar
- netty-codec-haproxy-4.1.113.Final.jar
- netty-common-4.1.113.Final.jar
- netty-handler-4.1.113.Final.jar
- netty-handler-proxy-4.1.113.Final.jar
- netty-resolver-4.1.113.Final.jar
- netty-resolver-dns-4.1.113.Final.jar
- netty-transport-4.1.113.Final.jar
- netty-transport-classes-epoll-4.1.113.Final.jar
- netty-transport-native-epoll-4.1.113.Final-linux-aarch_64.jar
- netty-transport-native-epoll-4.1.113.Final-linux-x86_64.jar
- netty-transport-native-unix-common-4.1.113.Final.jar
- netty-tcnative-boringssl-static-2.0.66.Final.jar
- netty-tcnative-boringssl-static-2.0.66.Final-linux-aarch_64.jar
- netty-tcnative-boringssl-static-2.0.66.Final-linux-x86_64.jar
- netty-tcnative-boringssl-static-2.0.66.Final-osx-aarch_64.jar
- netty-tcnative-boringssl-static-2.0.66.Final-osx-x86_64.jar
- netty-tcnative-boringssl-static-2.0.66.Final-windows-x86_64.jar
- netty-tcnative-classes-2.0.66.Final.jar
- netty-buffer-4.1.115.Final.jar
- netty-codec-4.1.115.Final.jar
- netty-codec-dns-4.1.115.Final.jar
- netty-codec-http-4.1.115.Final.jar
- netty-codec-socks-4.1.115.Final.jar
- netty-codec-haproxy-4.1.115.Final.jar
- netty-common-4.1.115.Final.jar
- netty-handler-4.1.115.Final.jar
- netty-handler-proxy-4.1.115.Final.jar
- netty-resolver-4.1.115.Final.jar
- netty-resolver-dns-4.1.115.Final.jar
- netty-transport-4.1.115.Final.jar
- netty-transport-classes-epoll-4.1.115.Final.jar
- netty-transport-native-epoll-4.1.115.Final-linux-aarch_64.jar
- netty-transport-native-epoll-4.1.115.Final-linux-x86_64.jar
- netty-transport-native-unix-common-4.1.115.Final.jar
- netty-tcnative-boringssl-static-2.0.69.Final.jar
- netty-tcnative-boringssl-static-2.0.69.Final-linux-aarch_64.jar
- netty-tcnative-boringssl-static-2.0.69.Final-linux-x86_64.jar
- netty-tcnative-boringssl-static-2.0.69.Final-osx-aarch_64.jar
- netty-tcnative-boringssl-static-2.0.69.Final-osx-x86_64.jar
- netty-tcnative-boringssl-static-2.0.69.Final-windows-x86_64.jar
- netty-tcnative-classes-2.0.69.Final.jar
- netty-incubator-transport-classes-io_uring-0.0.21.Final.jar
- netty-incubator-transport-native-io_uring-0.0.21.Final-linux-aarch_64.jar
- netty-incubator-transport-native-io_uring-0.0.21.Final-linux-x86_64.jar
- netty-resolver-dns-classes-macos-4.1.113.Final.jar
- netty-resolver-dns-native-macos-4.1.113.Final-osx-aarch_64.jar
- netty-resolver-dns-native-macos-4.1.113.Final-osx-x86_64.jar
- netty-resolver-dns-classes-macos-4.1.115.Final.jar
- netty-resolver-dns-native-macos-4.1.115.Final-osx-aarch_64.jar
- netty-resolver-dns-native-macos-4.1.115.Final-osx-x86_64.jar
* Prometheus client
- simpleclient-0.16.0.jar
- simpleclient_log4j2-0.16.0.jar
Expand Down
49 changes: 1 addition & 48 deletions jetcd-core-shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -141,54 +142,6 @@
<file>${project.basedir}/dependency-reduced-pom.xml</file>
</transformer>
</transformers>
<!-- required for IntelliJ support -->
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>shaded</shadedClassifierName>
</configuration>
</execution>
</executions>
</plugin>
<!-- required for IntelliJ support, for some reason shadedArtifactAttached isn't sufficient alone -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>attach-shaded-jar</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar</file>
<type>jar</type>
<classifier>shaded</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
<!-- required for running tests in subproject -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>${maven-antrun-plugin.version}</version>
<executions>
<execution>
<id>unpack-shaded-jar</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<unzip src="${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar"
dest="${project.build.outputDirectory}"
overwrite="true" />
</target>
</configuration>
</execution>
</executions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3983,7 +3983,8 @@ private void checkManagedLedgerIsOpen() throws ManagedLedgerException {
}
}

synchronized void setFenced() {
@VisibleForTesting
public synchronized void setFenced() {
log.info("{} Moving to Fenced state", name);
STATE_UPDATER.set(this, State.Fenced);
}
Expand Down
7 changes: 3 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,13 @@ flexible messaging model and an intuitive client API.</description>
<commons-compress.version>1.26.0</commons-compress.version>

<bookkeeper.version>4.16.6</bookkeeper.version>
<zookeeper.version>3.9.2</zookeeper.version>
<zookeeper.version>3.9.3</zookeeper.version>
<commons-cli.version>1.5.0</commons-cli.version>
<commons-text.version>1.10.0</commons-text.version>
<snappy.version>1.1.10.5</snappy.version> <!-- ZooKeeper server -->
<dropwizardmetrics.version>4.1.12.1</dropwizardmetrics.version> <!-- ZooKeeper server -->
<curator.version>5.1.0</curator.version>
<netty.version>4.1.113.Final</netty.version>
<curator.version>5.7.1</curator.version>
<netty.version>4.1.115.Final</netty.version>
<netty-iouring.version>0.0.21.Final</netty-iouring.version>
<jetty.version>9.4.56.v20240826</jetty.version>
<conscrypt.version>2.5.2</conscrypt.version>
Expand Down Expand Up @@ -1082,7 +1082,6 @@ flexible messaging model and an intuitive client API.</description>
<groupId>${project.groupId}</groupId>
<artifactId>jetcd-core-shaded</artifactId>
<version>${project.version}</version>
<classifier>shaded</classifier>
<exclusions>
<exclusion>
<groupId>io.etcd</groupId>
Expand Down
1 change: 0 additions & 1 deletion pulsar-broker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,6 @@
<groupId>${project.groupId}</groupId>
<artifactId>jetcd-core-shaded</artifactId>
<version>${project.version}</version>
<classifier>shaded</classifier>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Loading
Loading