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

[iotdb] branch fix_netty created (now 191962c00ca)

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

haonan pushed a change to branch fix_netty
in repository https://gitbox.apache.org/repos/asf/iotdb.git


      at 191962c00ca Fix write performance reduced caused by netty

This branch includes the following new commits:

     new 191962c00ca Fix write performance reduced caused by netty

The 1 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.



[iotdb] 01/01: Fix write performance reduced caused by netty

Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 191962c00ca495090ef114a12e98f094481dc7c0
Author: HTHou <hh...@outlook.com>
AuthorDate: Tue Jul 18 14:29:11 2023 +0800

    Fix write performance reduced caused by netty
---
 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>