You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by xi...@apache.org on 2023/07/18 08:22:58 UTC

[iotdb] branch master updated: Fix write performance reduced caused by netty (#10578)

This is an automated email from the ASF dual-hosted git repository.

xingtanzjr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new c3ff60db53e Fix write performance reduced caused by netty (#10578)
c3ff60db53e is described below

commit c3ff60db53ea0895e50773aa97c54d83d7acad49
Author: Haonan <hh...@outlook.com>
AuthorDate: Tue Jul 18 16:22:52 2023 +0800

    Fix write performance reduced caused by netty (#10578)
---
 iotdb-core/metrics/interface/pom.xml          | 2 ++
 iotdb-core/metrics/micrometer-metrics/pom.xml | 2 ++
 pom.xml                                       | 8 +++++---
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/iotdb-core/metrics/interface/pom.xml b/iotdb-core/metrics/interface/pom.xml
index 1a203c2a98c..41f97ec0f7a 100644
--- a/iotdb-core/metrics/interface/pom.xml
+++ b/iotdb-core/metrics/interface/pom.xml
@@ -89,12 +89,14 @@
             <groupId>io.netty</groupId>
             <artifactId>netty-resolver-dns-native-macos</artifactId>
             <version>${netty.version}</version>
+            <classifier>osx-x86_64</classifier>
             <scope>compile</scope>
         </dependency>
         <dependency>
             <groupId>io.netty</groupId>
             <artifactId>netty-transport-native-epoll</artifactId>
             <version>${netty.version}</version>
+            <classifier>linux-x86_64</classifier>
             <scope>compile</scope>
         </dependency>
         <dependency>
diff --git a/iotdb-core/metrics/micrometer-metrics/pom.xml b/iotdb-core/metrics/micrometer-metrics/pom.xml
index e40e5937d59..2b358948fd5 100644
--- a/iotdb-core/metrics/micrometer-metrics/pom.xml
+++ b/iotdb-core/metrics/micrometer-metrics/pom.xml
@@ -113,12 +113,14 @@
             <groupId>io.netty</groupId>
             <artifactId>netty-resolver-dns-native-macos</artifactId>
             <version>${netty.version}</version>
+            <classifier>osx-x86_64</classifier>
             <scope>compile</scope>
         </dependency>
         <dependency>
             <groupId>io.netty</groupId>
             <artifactId>netty-transport-native-epoll</artifactId>
             <version>${netty.version}</version>
+            <classifier>linux-x86_64</classifier>
             <scope>compile</scope>
         </dependency>
     </dependencies>
diff --git a/pom.xml b/pom.xml
index 729d21a3136..6e3f0d84be7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -160,7 +160,9 @@
         <felix.version>5.1.8</felix.version>
         <snappy.version>1.1.8.4</snappy.version>
         <zstd-jni.version>1.5.4-2</zstd-jni.version>
-        <netty.version>4.1.94.Final</netty.version>
+        <netty.version>4.1.82.Final</netty.version>
+        <netty-buffer.version>4.1.94.Final</netty-buffer.version>
+        <netty-common.version>4.1.94.Final</netty-common.version>
         <!-- URL of the ASF SonarQube server -->
         <sonar.host.url>https://sonarcloud.io</sonar.host.url>
         <sonar.organization>apache</sonar.organization>
@@ -314,12 +316,12 @@
             <dependency>
                 <groupId>io.netty</groupId>
                 <artifactId>netty-buffer</artifactId>
-                <version>${netty.version}</version>
+                <version>${netty-buffer.version}</version>
             </dependency>
             <dependency>
                 <groupId>io.netty</groupId>
                 <artifactId>netty-common</artifactId>
-                <version>${netty.version}</version>
+                <version>${netty-common.version}</version>
             </dependency>
             <dependency>
                 <groupId>javax.annotation</groupId>