mirror of https://github.com/apache/cassandra
Remove unnecessary Netty dependencies after upgrade to version 4.1.96
This patch also resolves CASSANDRA-18723 by bumping bcpkix-jdk15on of 1.70 to bcpkix-jdk18on of 1.76. patch by Stefan Miklosovic; reviewed by Jacek Lewandowski CASSANDRA-18729
This commit is contained in:
parent
7c355c6a02
commit
aa84b19112
|
|
@ -264,6 +264,9 @@
|
|||
<!-- as resolver will copy all dependencies into lib dir, and we are copying jars to lib/{x86_64|aarch64} as well, we would have duplicities -->
|
||||
<delete file="${build.lib}/AmazonCorrettoCryptoProvider-2.2.0-linux-x86_64.jar" failonerror="false"/>
|
||||
<delete file="${build.lib}/AmazonCorrettoCryptoProvider-2.2.0-linux-aarch_64.jar" failonerror="false"/>
|
||||
|
||||
<delete file="${build.lib}/netty-tcnative-boringssl-static-2.0.61.Final-windows-x86_64.jar" failonerror="false"/>
|
||||
<delete file="${build.dir.lib}/jars/netty-tcnative-boringssl-static-2.0.61.Final-windows-x86_64.jar" failonerror="false"/>
|
||||
</target>
|
||||
|
||||
<target name="_resolver-dist-lib_get_files">
|
||||
|
|
|
|||
|
|
@ -17,12 +17,11 @@
|
|||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<artifactId>cassandra-parent</artifactId>
|
||||
<groupId>org.apache.cassandra</groupId>
|
||||
<artifactId>cassandra-parent</artifactId>
|
||||
<version>@version@</version>
|
||||
<relativePath>@final.name@-parent.pom</relativePath>
|
||||
</parent>
|
||||
<groupId>org.apache.cassandra</groupId>
|
||||
<artifactId>cassandra-all</artifactId>
|
||||
<version>@version@</version>
|
||||
<name>Apache Cassandra</name>
|
||||
|
|
@ -172,12 +171,7 @@
|
|||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.bouncycastle</groupId>
|
||||
<artifactId>bcpkix-jdk15on</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-bom</artifactId>
|
||||
<type>pom</type>
|
||||
<artifactId>bcpkix-jdk18on</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.netty</groupId>
|
||||
|
|
@ -192,6 +186,15 @@
|
|||
<artifactId>netty-transport-native-epoll</artifactId>
|
||||
<classifier>linux-x86_64</classifier>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-transport-native-epoll</artifactId>
|
||||
<classifier>linux-aarch_64</classifier>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-tcnative-boringssl-static</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- chronicle queue, and fixed transitive dependencies -->
|
||||
<dependency>
|
||||
|
|
@ -321,10 +324,6 @@
|
|||
<groupId>org.psjava</groupId>
|
||||
<artifactId>psjava</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-tcnative-boringssl-static</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.inject</groupId>
|
||||
<artifactId>javax.inject</artifactId>
|
||||
|
|
|
|||
|
|
@ -722,17 +722,76 @@
|
|||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-bom</artifactId>
|
||||
<version>4.1.96.Final</version>
|
||||
<type>pom</type>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-all</artifactId>
|
||||
<version>4.1.96.Final</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-codec-dns</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-codec-haproxy</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-codec-http2</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-codec-http</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-codec-memcache</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-codec-mqtt</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-codec-redis</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-codec-smtp</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-codec-socks</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-codec-stomp</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-codec-xml</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-transport-udt</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-transport-sctp</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-transport-rxtx</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-resolver-dns</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-resolver-dns-classes-macos</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.netty</groupId>
|
||||
|
|
@ -741,20 +800,26 @@
|
|||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.bouncycastle</groupId>
|
||||
<artifactId>bcpkix-jdk15on</artifactId>
|
||||
<version>1.70</version>
|
||||
<artifactId>bcpkix-jdk18on</artifactId>
|
||||
<version>1.76</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-transport-native-epoll</artifactId>
|
||||
<version>4.1.94.Final</version>
|
||||
<version>4.1.96.Final</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-transport-native-epoll</artifactId>
|
||||
<version>4.1.94.Final</version>
|
||||
<version>4.1.96.Final</version>
|
||||
<classifier>linux-x86_64</classifier>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-transport-native-epoll</artifactId>
|
||||
<version>4.1.96.Final</version>
|
||||
<classifier>linux-aarch_64</classifier>
|
||||
</dependency>
|
||||
|
||||
<!-- chronicle-queue deps -->
|
||||
<dependency>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
5.0-alpha1
|
||||
* Remove unnecessary Netty dependencies after upgrade to version 4.1.96 (CASSANDRA-18729)
|
||||
* Prevent InaccessibleObjectException when the Leak Detector is traversing objects (CASSANDRA-18708)
|
||||
* Remove legacy command line options from cassandra-stress (CASSANDRA-18529)
|
||||
* Remove commitlog_sync_batch_window_in_ms (CASSANDRA-17161)
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ import org.slf4j.Logger;
|
|||
|
||||
import org.apache.cassandra.config.CassandraRelevantProperties;
|
||||
|
||||
@Shared
|
||||
public class SigarLibrary
|
||||
{
|
||||
private Logger logger = LoggerFactory.getLogger(SigarLibrary.class);
|
||||
|
|
|
|||
|
|
@ -191,6 +191,7 @@ public abstract class AbstractCluster<I extends IInstance> implements ICluster<I
|
|||
// those properties may be set for unit-test optimizations; those should not be used when running dtests
|
||||
CassandraRelevantProperties.TEST_FLUSH_LOCAL_SCHEMA_CHANGES.reset();
|
||||
CassandraRelevantProperties.NON_GRACEFUL_SHUTDOWN.reset();
|
||||
CassandraRelevantProperties.NATIVE_EPOLL_ENABLED.setBoolean(false);
|
||||
}
|
||||
|
||||
public AbstractBuilder(Factory<I, C, B> factory)
|
||||
|
|
|
|||
Loading…
Reference in New Issue