You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2025/07/22 10:34:20 UTC

(iotdb) branch SortBufferSize updated (18cc581b6f1 -> 3d45967386e)

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

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


    from 18cc581b6f1 Change sort_buffer_size_in_bytes default value
     add a804650a7fe Bump version to 2.0.6-SNAPSHOT
     add 5bb17061bb5 [AINode] Bump version to 2.0.6.dev (#15988)
     add 2288d7af396 [AINode] AINode docker compose file (#15987)
     add f076824eb05 Pipe: Fixed some errors in cherry-picking (#15984)
     add d34054dec5e Pipe: Fix the problem that a cluster crash in the multi-cluster receiving end causes all synchronization to be suspended (#15962)
     new 0a87a67c1d7 Merge remote-tracking branch 'origin/master' into SortBufferSize
     new 3d45967386e fix compilation

The 2 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:
 code-coverage/pom.xml                              |  2 +-
 distribution/pom.xml                               | 12 ++--
 .../main/DockerCompose/docker-compose-ainode.yml   | 30 +++++++---
 .../docker-compose-cluster-1c1d1a.yml              |  4 +-
 docker/src/main/Dockerfile-1.0.0-ainode            |  3 -
 example/client-cpp-example/pom.xml                 |  2 +-
 example/jdbc/pom.xml                               |  2 +-
 example/mqtt-customize/pom.xml                     |  2 +-
 example/mqtt/pom.xml                               |  2 +-
 example/pipe-count-point-processor/pom.xml         |  2 +-
 example/pipe-opc-ua-sink/pom.xml                   |  2 +-
 example/pom.xml                                    |  2 +-
 example/rest-java-example/pom.xml                  |  2 +-
 example/schema/pom.xml                             |  2 +-
 example/session/pom.xml                            |  2 +-
 example/trigger/pom.xml                            |  2 +-
 example/udf/pom.xml                                |  2 +-
 integration-test/pom.xml                           | 32 +++++-----
 .../iotdb/it/env/cluster/node/AINodeWrapper.java   |  2 +-
 iotdb-api/external-api/pom.xml                     |  2 +-
 iotdb-api/pipe-api/pom.xml                         |  2 +-
 iotdb-api/pom.xml                                  |  2 +-
 iotdb-api/trigger-api/pom.xml                      |  2 +-
 iotdb-api/udf-api/pom.xml                          |  2 +-
 iotdb-client/cli/pom.xml                           | 22 +++----
 iotdb-client/client-cpp/pom.xml                    |  4 +-
 iotdb-client/client-py/pom.xml                     |  8 +--
 iotdb-client/isession/pom.xml                      |  8 +--
 iotdb-client/jdbc/pom.xml                          |  8 +--
 iotdb-client/pom.xml                               |  2 +-
 iotdb-client/service-rpc/pom.xml                   |  6 +-
 iotdb-client/session/pom.xml                       | 10 ++--
 iotdb-core/ainode/ainode/core/ainode.py            | 10 ++--
 iotdb-core/ainode/ainode/core/config.py            | 68 ++++++++++------------
 iotdb-core/ainode/ainode/core/constant.py          | 52 ++++++++---------
 iotdb-core/ainode/ainode/core/rpc/service.py       |  4 +-
 iotdb-core/ainode/ainode/core/script.py            |  6 +-
 iotdb-core/ainode/pom.xml                          | 10 ++--
 iotdb-core/ainode/pyproject.toml                   |  2 +-
 .../ainode/resources/conf/iotdb-ainode.properties  | 20 +++----
 iotdb-core/antlr/pom.xml                           |  2 +-
 iotdb-core/confignode/pom.xml                      | 26 ++++-----
 iotdb-core/consensus/pom.xml                       | 14 ++---
 iotdb-core/datanode/pom.xml                        | 40 ++++++-------
 .../java/org/apache/iotdb/db/conf/IoTDBConfig.java |  4 +-
 .../client/IoTDBDataNodeAsyncClientManager.java    | 49 +++++++++++++++-
 .../thrift/sync/IoTDBDataRegionSyncConnector.java  |  5 ++
 .../tablet/PipeInsertNodeTabletInsertionEvent.java |  6 --
 .../realtime/assigner/PipeDataRegionAssigner.java  |  9 ---
 .../resource/tsfile/PipeTsFileResourceManager.java | 60 ++++++++++---------
 .../dataregion/memtable/TsFileProcessor.java       |  7 ---
 iotdb-core/metrics/core/pom.xml                    |  4 +-
 iotdb-core/metrics/interface/pom.xml               |  8 +--
 iotdb-core/metrics/pom.xml                         |  2 +-
 iotdb-core/node-commons/pom.xml                    | 24 ++++----
 .../apache/iotdb/commons/conf/CommonConfig.java    | 16 +++++
 .../iotdb/commons/pipe/config/PipeConfig.java      |  7 +++
 .../iotdb/commons/pipe/config/PipeDescriptor.java  |  5 ++
 .../connector/client/IoTDBSyncClientManager.java   | 14 +++++
 iotdb-core/pom.xml                                 |  2 +-
 iotdb-core/relational-grammar/pom.xml              |  2 +-
 iotdb-protocol/openapi/pom.xml                     |  2 +-
 iotdb-protocol/pom.xml                             |  2 +-
 iotdb-protocol/thrift-ainode/pom.xml               |  4 +-
 iotdb-protocol/thrift-commons/pom.xml              |  2 +-
 iotdb-protocol/thrift-confignode/pom.xml           |  4 +-
 iotdb-protocol/thrift-consensus/pom.xml            |  4 +-
 iotdb-protocol/thrift-datanode/pom.xml             |  4 +-
 library-udf/pom.xml                                |  4 +-
 pom.xml                                            |  2 +-
 scripts/sbin/stop-ainode.sh                        | 22 +++----
 scripts/sbin/windows/stop-ainode.bat               | 18 +++---
 72 files changed, 400 insertions(+), 333 deletions(-)


(iotdb) 02/02: fix compilation

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

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

commit 3d45967386ec2b32c8b55a648add182030525e71
Author: JackieTien97 <ja...@gmail.com>
AuthorDate: Tue Jul 22 12:07:24 2025 +0800

    fix compilation
---
 .../datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java  | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
index 2493ad221ce..a5dcb8e02f5 100644
--- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
+++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
@@ -73,7 +73,6 @@ import static org.apache.iotdb.commons.conf.IoTDBConstant.CONSENSUS_FOLDER_NAME;
 import static org.apache.iotdb.commons.conf.IoTDBConstant.DELETION_FOLDER_NAME;
 import static org.apache.iotdb.commons.conf.IoTDBConstant.OBJECT_STORAGE_DIR;
 import static org.apache.iotdb.commons.conf.IoTDBConstant.PIPE_FOLDER_NAME;
-import static org.apache.iotdb.db.conf.IoTDBDescriptor.calculateDefaultSortBufferSize;
 import static org.apache.tsfile.common.constant.TsFileConstant.PATH_SEPARATOR;
 
 public class IoTDBConfig {
@@ -416,8 +415,7 @@ public class IoTDBConfig {
   private volatile boolean enableAutoRepairCompaction = true;
 
   /** The buffer for sort operation */
-  private long sortBufferSize =
-      calculateDefaultSortBufferSize(IoTDBDescriptor.getInstance().getMemoryConfig());
+  private long sortBufferSize = 32 * 1024 * 1024L;
 
   /**
    * The strategy of inner space compaction task. There are just one inner space compaction strategy


(iotdb) 01/02: Merge remote-tracking branch 'origin/master' into SortBufferSize

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

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

commit 0a87a67c1d71732aae650347a56391c6400eac6d
Merge: 18cc581b6f1 d34054dec5e
Author: JackieTien97 <ja...@gmail.com>
AuthorDate: Tue Jul 22 11:30:40 2025 +0800

    Merge remote-tracking branch 'origin/master' into SortBufferSize

 code-coverage/pom.xml                              |  2 +-
 distribution/pom.xml                               | 12 ++--
 .../main/DockerCompose/docker-compose-ainode.yml   | 30 +++++++---
 .../docker-compose-cluster-1c1d1a.yml              |  4 +-
 docker/src/main/Dockerfile-1.0.0-ainode            |  3 -
 example/client-cpp-example/pom.xml                 |  2 +-
 example/jdbc/pom.xml                               |  2 +-
 example/mqtt-customize/pom.xml                     |  2 +-
 example/mqtt/pom.xml                               |  2 +-
 example/pipe-count-point-processor/pom.xml         |  2 +-
 example/pipe-opc-ua-sink/pom.xml                   |  2 +-
 example/pom.xml                                    |  2 +-
 example/rest-java-example/pom.xml                  |  2 +-
 example/schema/pom.xml                             |  2 +-
 example/session/pom.xml                            |  2 +-
 example/trigger/pom.xml                            |  2 +-
 example/udf/pom.xml                                |  2 +-
 integration-test/pom.xml                           | 32 +++++-----
 .../iotdb/it/env/cluster/node/AINodeWrapper.java   |  2 +-
 iotdb-api/external-api/pom.xml                     |  2 +-
 iotdb-api/pipe-api/pom.xml                         |  2 +-
 iotdb-api/pom.xml                                  |  2 +-
 iotdb-api/trigger-api/pom.xml                      |  2 +-
 iotdb-api/udf-api/pom.xml                          |  2 +-
 iotdb-client/cli/pom.xml                           | 22 +++----
 iotdb-client/client-cpp/pom.xml                    |  4 +-
 iotdb-client/client-py/pom.xml                     |  8 +--
 iotdb-client/isession/pom.xml                      |  8 +--
 iotdb-client/jdbc/pom.xml                          |  8 +--
 iotdb-client/pom.xml                               |  2 +-
 iotdb-client/service-rpc/pom.xml                   |  6 +-
 iotdb-client/session/pom.xml                       | 10 ++--
 iotdb-core/ainode/ainode/core/ainode.py            | 10 ++--
 iotdb-core/ainode/ainode/core/config.py            | 68 ++++++++++------------
 iotdb-core/ainode/ainode/core/constant.py          | 52 ++++++++---------
 iotdb-core/ainode/ainode/core/rpc/service.py       |  4 +-
 iotdb-core/ainode/ainode/core/script.py            |  6 +-
 iotdb-core/ainode/pom.xml                          | 10 ++--
 iotdb-core/ainode/pyproject.toml                   |  2 +-
 .../ainode/resources/conf/iotdb-ainode.properties  | 20 +++----
 iotdb-core/antlr/pom.xml                           |  2 +-
 iotdb-core/confignode/pom.xml                      | 26 ++++-----
 iotdb-core/consensus/pom.xml                       | 14 ++---
 iotdb-core/datanode/pom.xml                        | 40 ++++++-------
 .../client/IoTDBDataNodeAsyncClientManager.java    | 49 +++++++++++++++-
 .../thrift/sync/IoTDBDataRegionSyncConnector.java  |  5 ++
 .../tablet/PipeInsertNodeTabletInsertionEvent.java |  6 --
 .../realtime/assigner/PipeDataRegionAssigner.java  |  9 ---
 .../resource/tsfile/PipeTsFileResourceManager.java | 60 ++++++++++---------
 .../dataregion/memtable/TsFileProcessor.java       |  7 ---
 iotdb-core/metrics/core/pom.xml                    |  4 +-
 iotdb-core/metrics/interface/pom.xml               |  8 +--
 iotdb-core/metrics/pom.xml                         |  2 +-
 iotdb-core/node-commons/pom.xml                    | 24 ++++----
 .../apache/iotdb/commons/conf/CommonConfig.java    | 16 +++++
 .../iotdb/commons/pipe/config/PipeConfig.java      |  7 +++
 .../iotdb/commons/pipe/config/PipeDescriptor.java  |  5 ++
 .../connector/client/IoTDBSyncClientManager.java   | 14 +++++
 iotdb-core/pom.xml                                 |  2 +-
 iotdb-core/relational-grammar/pom.xml              |  2 +-
 iotdb-protocol/openapi/pom.xml                     |  2 +-
 iotdb-protocol/pom.xml                             |  2 +-
 iotdb-protocol/thrift-ainode/pom.xml               |  4 +-
 iotdb-protocol/thrift-commons/pom.xml              |  2 +-
 iotdb-protocol/thrift-confignode/pom.xml           |  4 +-
 iotdb-protocol/thrift-consensus/pom.xml            |  4 +-
 iotdb-protocol/thrift-datanode/pom.xml             |  4 +-
 library-udf/pom.xml                                |  4 +-
 pom.xml                                            |  2 +-
 scripts/sbin/stop-ainode.sh                        | 22 +++----
 scripts/sbin/windows/stop-ainode.bat               | 18 +++---
 71 files changed, 399 insertions(+), 330 deletions(-)